diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-02-02 15:16:15 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-02-02 15:16:15 +0000 |
commit | 802a70e9c9d63c799e86e1d889801d74a517212f (patch) | |
tree | fae88e1ec46f0aaecde9a324f9bd61ecd43a08a1 /app/src/main/res/drawable | |
parent | 7ae7827d491473b326dcf3f3c297803816f798c0 (diff) | |
download | infinity-for-reddit-802a70e9c9d63c799e86e1d889801d74a517212f.tar infinity-for-reddit-802a70e9c9d63c799e86e1d889801d74a517212f.tar.gz infinity-for-reddit-802a70e9c9d63c799e86e1d889801d74a517212f.tar.bz2 infinity-for-reddit-802a70e9c9d63c799e86e1d889801d74a517212f.tar.lz infinity-for-reddit-802a70e9c9d63c799e86e1d889801d74a517212f.tar.xz infinity-for-reddit-802a70e9c9d63c799e86e1d889801d74a517212f.tar.zst infinity-for-reddit-802a70e9c9d63c799e86e1d889801d74a517212f.zip |
Add a dark theme toggle in the navigation drawer.
Diffstat (limited to 'app/src/main/res/drawable')
-rw-r--r-- | app/src/main/res/drawable/ic_dark_theme_24dp.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/drawable/ic_light_theme_24dp.xml | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/ic_dark_theme_24dp.xml b/app/src/main/res/drawable/ic_dark_theme_24dp.xml new file mode 100644 index 00000000..24ef45dd --- /dev/null +++ b/app/src/main/res/drawable/ic_dark_theme_24dp.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24" + android:viewportHeight="24"> + <path + android:fillColor="#FF000000" + android:pathData="M12.7,4.91C15.25,6.24 17,8.92 17,12s-1.75,5.76 -4.3,7.09c1.46,-2 2.3,-4.46 2.3,-7.09s-0.84,-5.09 -2.3,-7.09M9,2c-1.05,0 -2.05,0.16 -3,0.46 4.06,1.27 7,5.06 7,9.54s-2.94,8.27 -7,9.54c0.95,0.3 1.95,0.46 3,0.46 5.52,0 10,-4.48 10,-10S14.52,2 9,2z"/> +</vector> diff --git a/app/src/main/res/drawable/ic_light_theme_24dp.xml b/app/src/main/res/drawable/ic_light_theme_24dp.xml new file mode 100644 index 00000000..8a7d0fe8 --- /dev/null +++ b/app/src/main/res/drawable/ic_light_theme_24dp.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24" + android:viewportHeight="24"> + <path + android:fillColor="#FFFFFFFF" + android:pathData="M20,8.69L20,4h-4.69L12,0.69 8.69,4L4,4v4.69L0.69,12 4,15.31L4,20h4.69L12,23.31 15.31,20L20,20v-4.69L23.31,12 20,8.69zM18,14.48L18,18h-3.52L12,20.48 9.52,18L6,18v-3.52L3.52,12 6,9.52L6,6h3.52L12,3.52 14.48,6L18,6v3.52L20.48,12 18,14.48zM12,6.5c-3.03,0 -5.5,2.47 -5.5,5.5s2.47,5.5 5.5,5.5 5.5,-2.47 5.5,-5.5 -2.47,-5.5 -5.5,-5.5zM12,15.5c-1.93,0 -3.5,-1.57 -3.5,-3.5s1.57,-3.5 3.5,-3.5 3.5,1.57 3.5,3.5 -1.57,3.5 -3.5,3.5z"/> +</vector> |