summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2018-02-28 15:09:36 -0800
committerSunny Goyal <sunnygoyal@google.com>2018-03-01 11:23:46 -0800
commit6639a5dfe0565f413c78e46c125f55333e8a9111 (patch)
tree0a209280a098c0ae6995fadea756d1aaa9ca807b /res
parent43936eb05c8e90264aa8a808c0bafb69abc092b1 (diff)
downloadandroid_packages_apps_Trebuchet-6639a5dfe0565f413c78e46c125f55333e8a9111.tar.gz
android_packages_apps_Trebuchet-6639a5dfe0565f413c78e46c125f55333e8a9111.tar.bz2
android_packages_apps_Trebuchet-6639a5dfe0565f413c78e46c125f55333e8a9111.zip
Updating the scrim and landscpae ui
> Instead of views, using a custom class to draw the color scrims > All-apps has full screen UI > Quickstep does not have search box in landscape Bug: 73085356 Change-Id: I360a78a2ade0134daad29fe712796cd39a381fbb
Diffstat (limited to 'res')
-rw-r--r--res/layout/launcher.xml5
-rw-r--r--res/layout/widgets_bottom_sheet_scrim.xml23
-rw-r--r--res/layout/widgets_full_sheet.xml5
-rw-r--r--res/values/config.xml3
4 files changed, 3 insertions, 33 deletions
diff --git a/res/layout/launcher.xml b/res/layout/launcher.xml
index 314359b8b..d07ff8107 100644
--- a/res/layout/launcher.xml
+++ b/res/layout/launcher.xml
@@ -44,11 +44,6 @@
layout="@layout/overview_panel"
android:visibility="gone" />
- <com.android.launcher3.views.AllAppsScrim
- android:id="@+id/all_apps_scrim"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
-
<!-- DO NOT CHANGE THE ID -->
<include
android:id="@+id/hotseat"
diff --git a/res/layout/widgets_bottom_sheet_scrim.xml b/res/layout/widgets_bottom_sheet_scrim.xml
deleted file mode 100644
index 6c6626c1d..000000000
--- a/res/layout/widgets_bottom_sheet_scrim.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?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.
--->
-
-<com.android.launcher3.graphics.GradientView
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:launcher="http://schemas.android.com/apk/res-auto"
- android:id="@+id/gradient_bg"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- launcher:layout_ignoreInsets="true" /> \ No newline at end of file
diff --git a/res/layout/widgets_full_sheet.xml b/res/layout/widgets_full_sheet.xml
index 20eca9f25..ca397bd43 100644
--- a/res/layout/widgets_full_sheet.xml
+++ b/res/layout/widgets_full_sheet.xml
@@ -20,11 +20,6 @@
android:orientation="vertical"
android:theme="?attr/widgetsTheme" >
- <com.android.launcher3.graphics.GradientView
- android:id="@+id/gradient_bg"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
-
<com.android.launcher3.views.TopRoundedCornerView
android:id="@+id/container"
android:layout_width="match_parent"
diff --git a/res/values/config.xml b/res/values/config.xml
index 065ad362e..6821b5906 100644
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -116,6 +116,9 @@
<!-- View ID used by cell layout to jail its content -->
<item type="id" name="cell_layout_jail_id" />
+ <!-- Tag id used for view scrim -->
+ <item type="id" name="view_scrim" />
+
<!-- Popup items -->
<integer name="config_popupOpenCloseDuration">150</integer>
<integer name="config_popupArrowOpenDuration">80</integer>