From f0c04a2f6d5b848da159702e7800d22ccb16f71b Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Thu, 19 Dec 2019 16:27:33 +0800 Subject: Change icon for subscriptions. Fixed wrong margin in bottom app bar. --- .../res/drawable-night/ic_subscritptions_bottom_app_bar_24dp.xml | 2 +- app/src/main/res/drawable/ic_subscritptions_24dp.xml | 2 +- .../main/res/drawable/ic_subscritptions_bottom_app_bar_24dp.xml | 2 +- app/src/main/res/ic_subscritptions_24dp.xml | 9 +++++++++ app/src/main/res/layout/app_bar_main.xml | 5 ++--- 5 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 app/src/main/res/ic_subscritptions_24dp.xml (limited to 'app') diff --git a/app/src/main/res/drawable-night/ic_subscritptions_bottom_app_bar_24dp.xml b/app/src/main/res/drawable-night/ic_subscritptions_bottom_app_bar_24dp.xml index 733486e5..bb341b85 100644 --- a/app/src/main/res/drawable-night/ic_subscritptions_bottom_app_bar_24dp.xml +++ b/app/src/main/res/drawable-night/ic_subscritptions_bottom_app_bar_24dp.xml @@ -5,5 +5,5 @@ android:viewportHeight="24"> + android:pathData="M11.99,2C6.47,2 2,6.48 2,12s4.47,10 9.99,10C17.52,22 22,17.52 22,12S17.52,2 11.99,2zM19.47,9.16l-5.01,-0.43 -2,-4.71c3.21,0.19 5.91,2.27 7.01,5.14zM14.4,15.42L12,13.98l-2.39,1.44 0.63,-2.72 -2.11,-1.83 2.78,-0.24L12,8.06l1.09,2.56 2.78,0.24 -2.11,1.83 0.64,2.73zM11.54,4.02l-2,4.72 -5.02,0.43c1.1,-2.88 3.8,-4.97 7.02,-5.15zM4,12c0,-0.64 0.08,-1.26 0.23,-1.86l3.79,3.28 -1.11,4.75C5.13,16.7 4,14.48 4,12zM7.84,18.82L12,16.31l4.16,2.5c-1.22,0.75 -2.64,1.19 -4.17,1.19 -1.52,0 -2.94,-0.44 -4.15,-1.18zM17.09,18.17l-1.11,-4.75 3.79,-3.28c0.14,0.59 0.23,1.22 0.23,1.86 0,2.48 -1.14,4.7 -2.91,6.17z"/> diff --git a/app/src/main/res/drawable/ic_subscritptions_24dp.xml b/app/src/main/res/drawable/ic_subscritptions_24dp.xml index adb84ff6..96b7725a 100644 --- a/app/src/main/res/drawable/ic_subscritptions_24dp.xml +++ b/app/src/main/res/drawable/ic_subscritptions_24dp.xml @@ -5,5 +5,5 @@ android:viewportHeight="24"> + android:pathData="M11.99,2C6.47,2 2,6.48 2,12s4.47,10 9.99,10C17.52,22 22,17.52 22,12S17.52,2 11.99,2zM19.47,9.16l-5.01,-0.43 -2,-4.71c3.21,0.19 5.91,2.27 7.01,5.14zM14.4,15.42L12,13.98l-2.39,1.44 0.63,-2.72 -2.11,-1.83 2.78,-0.24L12,8.06l1.09,2.56 2.78,0.24 -2.11,1.83 0.64,2.73zM11.54,4.02l-2,4.72 -5.02,0.43c1.1,-2.88 3.8,-4.97 7.02,-5.15zM4,12c0,-0.64 0.08,-1.26 0.23,-1.86l3.79,3.28 -1.11,4.75C5.13,16.7 4,14.48 4,12zM7.84,18.82L12,16.31l4.16,2.5c-1.22,0.75 -2.64,1.19 -4.17,1.19 -1.52,0 -2.94,-0.44 -4.15,-1.18zM17.09,18.17l-1.11,-4.75 3.79,-3.28c0.14,0.59 0.23,1.22 0.23,1.86 0,2.48 -1.14,4.7 -2.91,6.17z"/> diff --git a/app/src/main/res/drawable/ic_subscritptions_bottom_app_bar_24dp.xml b/app/src/main/res/drawable/ic_subscritptions_bottom_app_bar_24dp.xml index 0a745ec6..989c9f29 100644 --- a/app/src/main/res/drawable/ic_subscritptions_bottom_app_bar_24dp.xml +++ b/app/src/main/res/drawable/ic_subscritptions_bottom_app_bar_24dp.xml @@ -5,5 +5,5 @@ android:viewportHeight="24"> + android:pathData="M11.99,2C6.47,2 2,6.48 2,12s4.47,10 9.99,10C17.52,22 22,17.52 22,12S17.52,2 11.99,2zM19.47,9.16l-5.01,-0.43 -2,-4.71c3.21,0.19 5.91,2.27 7.01,5.14zM14.4,15.42L12,13.98l-2.39,1.44 0.63,-2.72 -2.11,-1.83 2.78,-0.24L12,8.06l1.09,2.56 2.78,0.24 -2.11,1.83 0.64,2.73zM11.54,4.02l-2,4.72 -5.02,0.43c1.1,-2.88 3.8,-4.97 7.02,-5.15zM4,12c0,-0.64 0.08,-1.26 0.23,-1.86l3.79,3.28 -1.11,4.75C5.13,16.7 4,14.48 4,12zM7.84,18.82L12,16.31l4.16,2.5c-1.22,0.75 -2.64,1.19 -4.17,1.19 -1.52,0 -2.94,-0.44 -4.15,-1.18zM17.09,18.17l-1.11,-4.75 3.79,-3.28c0.14,0.59 0.23,1.22 0.23,1.86 0,2.48 -1.14,4.7 -2.91,6.17z"/> diff --git a/app/src/main/res/ic_subscritptions_24dp.xml b/app/src/main/res/ic_subscritptions_24dp.xml new file mode 100644 index 00000000..96b7725a --- /dev/null +++ b/app/src/main/res/ic_subscritptions_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/layout/app_bar_main.xml b/app/src/main/res/layout/app_bar_main.xml index b658e99b..9185d505 100644 --- a/app/src/main/res/layout/app_bar_main.xml +++ b/app/src/main/res/layout/app_bar_main.xml @@ -69,9 +69,7 @@ android:id="@+id/linear_layout_bottom_app_bar_main_activity" android:layout_width="match_parent" android:layout_height="wrap_content" - android:weightSum="3" - android:paddingStart="0dp" - android:paddingEnd="16dp"> + android:weightSum="3">