diff options
author | Kunhung Li <kunhungli@google.com> | 2019-04-18 17:45:05 +0800 |
---|---|---|
committer | Kunhung Li <kunhungli@google.com> | 2019-04-25 20:23:23 +0800 |
commit | ecbe70007c06d97cc06d8c2df3143947470911f7 (patch) | |
tree | 6f888da052294204cd66d0b351a4ce7d272c1380 | |
parent | c283efbed1f80486622ffe3ea2e1805d6b2b6718 (diff) | |
download | android_packages_wallpapers_LivePicker-ecbe70007c06d97cc06d8c2df3143947470911f7.tar.gz android_packages_wallpapers_LivePicker-ecbe70007c06d97cc06d8c2df3143947470911f7.tar.bz2 android_packages_wallpapers_LivePicker-ecbe70007c06d97cc06d8c2df3143947470911f7.zip |
Refine gradient background
Update gradient background to black color.
Bug: 126282838
Test: Manual test
Change-Id: I42a050c26204df011bbe28a89ba82ca1dddde201
-rw-r--r-- | res/drawable/gradient_background.9.png | bin | 0 -> 966 bytes | |||
-rw-r--r-- | res/drawable/gradient_background.xml | 22 | ||||
-rw-r--r-- | res/layout/live_wallpaper_preview.xml | 2 | ||||
-rw-r--r-- | res/values/colors.xml | 3 | ||||
-rw-r--r-- | res/values/dimensions.xml | 2 | ||||
-rw-r--r-- | res/values/styles.xml | 2 |
6 files changed, 4 insertions, 27 deletions
diff --git a/res/drawable/gradient_background.9.png b/res/drawable/gradient_background.9.png Binary files differnew file mode 100644 index 0000000..f305477 --- /dev/null +++ b/res/drawable/gradient_background.9.png diff --git a/res/drawable/gradient_background.xml b/res/drawable/gradient_background.xml deleted file mode 100644 index 0a5d692..0000000 --- a/res/drawable/gradient_background.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2019 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<shape xmlns:android="http://schemas.android.com/apk/res/android" - android:shape="rectangle"> - <gradient - android:angle="90" - android:startColor="@android:color/transparent" - android:endColor="@color/translucent_blue_dark"/> -</shape> diff --git a/res/layout/live_wallpaper_preview.xml b/res/layout/live_wallpaper_preview.xml index 2d895fe..0c35b68 100644 --- a/res/layout/live_wallpaper_preview.xml +++ b/res/layout/live_wallpaper_preview.xml @@ -51,7 +51,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="bottom" - android:background="@color/translucent_blue_light" + android:background="@color/translucent_black" android:orientation="vertical"> <com.google.android.material.tabs.TabLayout diff --git a/res/values/colors.xml b/res/values/colors.xml index f89e4ff..152755f 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -21,7 +21,6 @@ <color name="live_wallpaper_thumbnail_background">#CC666666</color> <color name="live_wallpaper_thumbnail_text_color">#FFFFFFFF</color> - <color name="translucent_blue_light">#66133659</color> - <color name="translucent_blue_dark">#99133659</color> + <color name="translucent_black">#66000000</color> </resources> diff --git a/res/values/dimensions.xml b/res/values/dimensions.xml index 9e92df7..85ce7db 100644 --- a/res/values/dimensions.xml +++ b/res/values/dimensions.xml @@ -30,7 +30,7 @@ <dimen name="preview_toolbar_end_padding">12dp</dimen> <!-- Dimensions for the gradient area. --> - <dimen name="preview_gradient_background_height">128dp</dimen> + <dimen name="preview_gradient_background_height">256dp</dimen> <!-- Dimensions for the preview attribution pane. --> <dimen name="preview_attribution_pane_horizontal_padding">24dp</dimen> diff --git a/res/values/styles.xml b/res/values/styles.xml index 7e41b5e..f23fec8 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -28,7 +28,7 @@ <!-- Set status bar and navigation buttons to be translucent. --> <item name="android:statusBarColor">@android:color/transparent</item> - <item name="android:navigationBarColor">@color/translucent_blue_light</item> + <item name="android:navigationBarColor">@color/translucent_black</item> <item name="android:colorAccent">@*android:color/accent_device_default_light</item> <item name="colorAccent">@*android:color/accent_device_default_light</item> |