summaryrefslogtreecommitdiffstats
path: root/quickstep/res
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2018-03-26 23:03:53 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-03-26 23:03:53 +0000
commit3d58de67a87b589eacbf8b4d4e3872b7bb7576e7 (patch)
tree8bf5977911d66ddd151fa9f262bbdefcc1a743ad /quickstep/res
parent658edc6e567d4e589d1f78dbe65d1a138e1ed4e9 (diff)
parent81b4c7bb3c76f5f83848d536b1783e0aa75ace0d (diff)
downloadandroid_packages_apps_Trebuchet-3d58de67a87b589eacbf8b4d4e3872b7bb7576e7.tar.gz
android_packages_apps_Trebuchet-3d58de67a87b589eacbf8b4d4e3872b7bb7576e7.tar.bz2
android_packages_apps_Trebuchet-3d58de67a87b589eacbf8b4d4e3872b7bb7576e7.zip
Merge "Adding a custom view for DragHandle" into ub-launcher3-master
Diffstat (limited to 'quickstep/res')
-rw-r--r--quickstep/res/layout/drag_handle_indicator.xml23
-rw-r--r--quickstep/res/values/strings.xml3
2 files changed, 26 insertions, 0 deletions
diff --git a/quickstep/res/layout/drag_handle_indicator.xml b/quickstep/res/layout/drag_handle_indicator.xml
new file mode 100644
index 000000000..9ee05d5ad
--- /dev/null
+++ b/quickstep/res/layout/drag_handle_indicator.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2018 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.quickstep.views.QuickstepDragIndicator
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/drag_indicator"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:contentDescription="@string/accessibility_desc_recent_apps"
+ android:scaleType="centerInside"
+ android:tint="?attr/workspaceTextColor" />
diff --git a/quickstep/res/values/strings.xml b/quickstep/res/values/strings.xml
index ec8eb5274..c36e1ff18 100644
--- a/quickstep/res/values/strings.xml
+++ b/quickstep/res/values/strings.xml
@@ -29,4 +29,7 @@
<!-- Text that shows above the navigation bar after launching a few apps -->
<string name="recents_swipe_up_onboarding">Swipe up from the bottom to switch apps</string>
+
+ <!-- Content description for the recent apps panel (not shown on the screen). [CHAR LIMIT=NONE] -->
+ <string name="accessibility_desc_recent_apps">Overview</string>
</resources> \ No newline at end of file