diff options
author | Mario Bertschler <bmario@google.com> | 2017-05-03 18:06:51 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-05-03 18:06:51 +0000 |
commit | c9c955a9fdc153cfe57970e0fd7b1a724f339630 (patch) | |
tree | f6ed51d3755990370e3f99921198e0de970db36f /res | |
parent | 0bc04a984147869bf27ed4047c0951a061fcbd42 (diff) | |
parent | db67e7c7a354cdfdf4473a9087f39633fbb4dc7e (diff) | |
download | android_packages_apps_Trebuchet-c9c955a9fdc153cfe57970e0fd7b1a724f339630.tar.gz android_packages_apps_Trebuchet-c9c955a9fdc153cfe57970e0fd7b1a724f339630.tar.bz2 android_packages_apps_Trebuchet-c9c955a9fdc153cfe57970e0fd7b1a724f339630.zip |
Merge "All Apps transition with gradient and scrim." into ub-launcher3-dorval-polish
am: db67e7c7a3
Change-Id: I2d418d73b3957938ab6072e92fdd69ac45d385e7
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable-xxhdpi/all_apps_alpha_mask.png | bin | 0 -> 16512 bytes | |||
-rw-r--r-- | res/layout-land/launcher.xml | 2 | ||||
-rw-r--r-- | res/layout-port/launcher.xml | 2 | ||||
-rw-r--r-- | res/layout-sw720dp/launcher.xml | 2 | ||||
-rw-r--r-- | res/layout/gradient_scrim.xml | 31 |
5 files changed, 37 insertions, 0 deletions
diff --git a/res/drawable-xxhdpi/all_apps_alpha_mask.png b/res/drawable-xxhdpi/all_apps_alpha_mask.png Binary files differnew file mode 100644 index 000000000..ed53ff924 --- /dev/null +++ b/res/drawable-xxhdpi/all_apps_alpha_mask.png diff --git a/res/layout-land/launcher.xml b/res/layout-land/launcher.xml index 6c1b1d3ca..565728cdc 100644 --- a/res/layout-land/launcher.xml +++ b/res/layout-land/launcher.xml @@ -32,6 +32,8 @@ android:layout_width="match_parent" android:layout_height="match_parent"> + <include layout="@layout/gradient_scrim" /> + <!-- The workspace contains 5 screens of cells --> <!-- DO NOT CHANGE THE ID --> <com.android.launcher3.Workspace diff --git a/res/layout-port/launcher.xml b/res/layout-port/launcher.xml index 1fdf546b8..eccb824a8 100644 --- a/res/layout-port/launcher.xml +++ b/res/layout-port/launcher.xml @@ -33,6 +33,8 @@ android:layout_width="match_parent" android:layout_height="match_parent"> + <include layout="@layout/gradient_scrim" /> + <!-- The workspace contains 5 screens of cells --> <!-- DO NOT CHANGE THE ID --> <com.android.launcher3.Workspace diff --git a/res/layout-sw720dp/launcher.xml b/res/layout-sw720dp/launcher.xml index 9ef339402..7fad517b4 100644 --- a/res/layout-sw720dp/launcher.xml +++ b/res/layout-sw720dp/launcher.xml @@ -32,6 +32,8 @@ android:layout_width="match_parent" android:layout_height="match_parent"> + <include layout="@layout/gradient_scrim" /> + <!-- The workspace contains 5 screens of cells --> <!-- DO NOT CHANGE THE ID --> <com.android.launcher3.Workspace diff --git a/res/layout/gradient_scrim.xml b/res/layout/gradient_scrim.xml new file mode 100644 index 000000000..02c39eb7d --- /dev/null +++ b/res/layout/gradient_scrim.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2017 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. +--> +<merge xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto"> + <com.android.launcher3.graphics.RadialGradientView + android:id="@+id/gradient_bg" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:visibility="gone" + app:layout_ignoreInsets="true"/> + + <com.android.launcher3.graphics.ScrimView + android:id="@+id/scrim_bg" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:visibility="gone" + app:layout_ignoreInsets="true"/> +</merge>
\ No newline at end of file |