summaryrefslogtreecommitdiffstats
path: root/res/layout-sw600dp
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2015-03-02 11:51:23 -0800
committerWinson Chung <winsonc@google.com>2015-03-10 18:14:22 -0700
commitb745afbdd75157c73d581b345118cdaff99e912d (patch)
treedb80cffb7504c9897e91f39243207776f43556c0 /res/layout-sw600dp
parent434e667b5b488d6212e8c77c8ad3b02c4af37117 (diff)
downloadandroid_packages_apps_Trebuchet-b745afbdd75157c73d581b345118cdaff99e912d.tar.gz
android_packages_apps_Trebuchet-b745afbdd75157c73d581b345118cdaff99e912d.tar.bz2
android_packages_apps_Trebuchet-b745afbdd75157c73d581b345118cdaff99e912d.zip
Initial changes to break out AllApps into its own view.
- Moves launcher state-transition code into its own class - Moves all-apps related code into a separate view/set of classes - Implements a basic list view for all apps Change-Id: I68f174aa9e1bf82c4e46ce9549c78a8dc4623f46
Diffstat (limited to 'res/layout-sw600dp')
-rw-r--r--res/layout-sw600dp/apps_view.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/res/layout-sw600dp/apps_view.xml b/res/layout-sw600dp/apps_view.xml
new file mode 100644
index 000000000..1f773b307
--- /dev/null
+++ b/res/layout-sw600dp/apps_view.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 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.AppsContainerView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/apps_view"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:padding="8dp"
+ android:background="#22000000"
+ android:descendantFocusability="afterDescendants">
+ <include
+ layout="@layout/apps_list_reveal_view"
+ android:layout_width="420dp"
+ android:layout_height="match_parent"
+ android:layout_gravity="center" />
+ <include
+ layout="@layout/apps_list_view"
+ android:layout_width="420dp"
+ android:layout_height="match_parent"
+ android:layout_gravity="center" />
+</com.android.launcher3.AppsContainerView> \ No newline at end of file