From 240c0434220f8e17eedf74d2f3a9d73e8db2ba31 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 25 Dec 2016 15:37:37 +0100 Subject: [PATCH] update fullscreen activity actionbar to gradient --- app/src/main/AndroidManifest.xml | 3 ++- .../gallery/activities/PhotoVideoActivity.kt | 5 +++++ .../gallery/activities/ViewPagerActivity.kt | 1 + .../main/res/drawable/actionbar_gradient_background.xml | 7 +++++++ app/src/main/res/drawable/gradient_background.xml | 2 +- app/src/main/res/values/colors.xml | 2 +- 6 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 app/src/main/res/drawable/actionbar_gradient_background.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 3347a4350..9ef16fd6f 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -86,7 +86,8 @@ android:parentActivityName=".activities.SettingsActivity"/> + android:name=".activities.PhotoVideoActivity" + android:theme="@style/FullScreenTheme"/> + + + diff --git a/app/src/main/res/drawable/gradient_background.xml b/app/src/main/res/drawable/gradient_background.xml index 6ccc99cfc..f23f66d58 100644 --- a/app/src/main/res/drawable/gradient_background.xml +++ b/app/src/main/res/drawable/gradient_background.xml @@ -3,5 +3,5 @@ + android:startColor="@color/actionbar_grey"/> diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 3fbae7ad2..c565e85d2 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -6,6 +6,6 @@ #33ff6f00 #99ff6f00 #ff222222 - #55000000 + #AA000000 #aa888888