diff --git a/res/drawable/ic_arrow_back.xml b/res/drawable/ic_arrow_back.xml index a52d9523e11a5977618946471c95a0ad793f76d1..79558c23c1b00a4b97d7197f2731dacacdc3edfe 100644 --- a/res/drawable/ic_arrow_back.xml +++ b/res/drawable/ic_arrow_back.xml @@ -5,6 +5,6 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/res/drawable/ic_foreground.xml b/res/drawable/ic_foreground.xml index a2fa90ac151b9c66bfe5022f917c8de33fdcbcb1..a4badaf3c03da3e6f7dab29e902790ba6c53f1a3 100644 --- a/res/drawable/ic_foreground.xml +++ b/res/drawable/ic_foreground.xml @@ -6,7 +6,7 @@ diff --git a/res/drawable/ic_menu_refresh.xml b/res/drawable/ic_menu_refresh.xml index 3b47058a39f5f65c3407dc5f4d06353df2aea908..9923bfb28d207ab98e1580616af475c839f0b12d 100644 --- a/res/drawable/ic_menu_refresh.xml +++ b/res/drawable/ic_menu_refresh.xml @@ -6,6 +6,6 @@ android:viewportHeight="24"> diff --git a/res/drawable/ic_pause.xml b/res/drawable/ic_pause.xml index 620beef0379661fb6f09e880a931e7ce2581e2a2..3d75a6e1a286877c12a5150248c92937ea1b1231 100644 --- a/res/drawable/ic_pause.xml +++ b/res/drawable/ic_pause.xml @@ -4,6 +4,6 @@ android:viewportHeight="24.0" android:viewportWidth="24.0"> diff --git a/res/drawable/ic_play.xml b/res/drawable/ic_play.xml new file mode 100644 index 0000000000000000000000000000000000000000..60181b405223781994f23619fec0366fc5af4cb4 --- /dev/null +++ b/res/drawable/ic_play.xml @@ -0,0 +1,11 @@ + + + + \ No newline at end of file diff --git a/res/drawable/ic_system_update.xml b/res/drawable/ic_system_update.xml index 3daa577ca74dc6976932a40b48dea47c74be8070..80fdbefddf2af46591e0bc854b7a2370cdd58a13 100644 --- a/res/drawable/ic_system_update.xml +++ b/res/drawable/ic_system_update.xml @@ -5,6 +5,6 @@ android:viewportWidth="24.0" android:viewportHeight="24.0"> diff --git a/res/layout/activity_updates.xml b/res/layout/activity_updates.xml index 246650c59df9314329a3699c76efd89c0f0569ad..ea89dff8eed1c06222545f0d2c1409f4c1aa6b4c 100644 --- a/res/layout/activity_updates.xml +++ b/res/layout/activity_updates.xml @@ -20,7 +20,7 @@ android:layout_height="match_parent" android:theme="@style/AppTheme.AppBarOverlay" app:collapsedTitleTextAppearance="@style/TextAppearanceInverted" - app:contentScrim="?attr/colorPrimary" + app:contentScrim="?attr/colorPrimaryDark" app:expandedTitleTextAppearance="@style/TextAppearanceTransparent" app:layout_scrollFlags="scroll|exitUntilCollapsed"> @@ -80,6 +80,7 @@ android:id="@+id/no_new_updates_view" android:layout_width="match_parent" android:layout_height="match_parent" + android:background="@color/theme_background" android:padding="46dp" app:layout_behavior="@string/appbar_scrolling_view_behavior"> @@ -95,6 +96,7 @@ android:id="@+id/recycler_view" android:layout_width="match_parent" android:layout_height="match_parent" + android:background="@color/theme_background" android:clipToPadding="false" android:paddingBottom="5dp" android:scrollbars="vertical" diff --git a/res/mipmap-anydpi/ic_launcher.xml b/res/mipmap-anydpi/ic_launcher.xml index a1fe9f8b6e8920ec8fce0ed8a6e12e3b415494e0..b0e9bde1c25662f5042eb8c6064380050d8a2947 100644 --- a/res/mipmap-anydpi/ic_launcher.xml +++ b/res/mipmap-anydpi/ic_launcher.xml @@ -14,7 +14,7 @@ limitations under the License. --> - + diff --git a/res/values/colors.xml b/res/values/colors.xml index 9b0b700fdd5bab14663fdb38e244a5ef391c8d0b..7829d587adff9ef1225d2cff3ed9d06256b1be61 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -1,5 +1,7 @@ + #333333 + @lineageos.platform:color/color_default_primary @lineageos.platform:color/color_default_primary_dark @lineageos.platform:color/color_default_accent diff --git a/res/values/styles.xml b/res/values/styles.xml index 766dad8713124ccdda2bd07399d074f5b9630a23..06d290b7a7cfae1b48089278cd7fb350e19c6dca 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -40,7 +40,7 @@ diff --git a/src/org/lineageos/updater/controller/UpdaterService.java b/src/org/lineageos/updater/controller/UpdaterService.java index 92c4035c5ded2772dc3965fc69e727d25aaaaa6a..c2ee31f6d480a3c1fb69b3665f9d2561a3b475d3 100644 --- a/src/org/lineageos/updater/controller/UpdaterService.java +++ b/src/org/lineageos/updater/controller/UpdaterService.java @@ -299,7 +299,7 @@ public class UpdaterService extends Service { mNotificationStyle.bigText(text); mNotificationBuilder.setStyle(mNotificationStyle); mNotificationBuilder.setSmallIcon(R.drawable.ic_pause); - mNotificationBuilder.addAction(android.R.drawable.ic_media_play, + mNotificationBuilder.addAction(R.drawable.ic_play, getString(R.string.resume_button), getResumePendingIntent(update.getDownloadId())); mNotificationBuilder.setTicker(text); @@ -444,7 +444,7 @@ public class UpdaterService extends Service { mNotificationStyle.bigText(text); mNotificationBuilder.setStyle(mNotificationStyle); mNotificationBuilder.setSmallIcon(R.drawable.ic_pause); - mNotificationBuilder.addAction(android.R.drawable.ic_media_play, + mNotificationBuilder.addAction(R.drawable.ic_play, getString(R.string.resume_button), getResumeInstallationPendingIntent()); mNotificationBuilder.setTicker(text);