summaryrefslogtreecommitdiffstats
path: root/res/layout/apps_grid_row_view.xml
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2015-03-11 01:36:55 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-03-11 01:36:55 +0000
commit03f03bee25648f78cbf0d4aee1f548e46f2bb3b8 (patch)
treef071f3cd665b06b868ef70fce74abdd69bdf8e1d /res/layout/apps_grid_row_view.xml
parente43083b9c6af02a29a834842c3fe681cb3f34104 (diff)
parentfc52a8fb0312393e0a729764fbe57c43839e4c0f (diff)
downloadandroid_packages_apps_Trebuchet-03f03bee25648f78cbf0d4aee1f548e46f2bb3b8.tar.gz
android_packages_apps_Trebuchet-03f03bee25648f78cbf0d4aee1f548e46f2bb3b8.tar.bz2
android_packages_apps_Trebuchet-03f03bee25648f78cbf0d4aee1f548e46f2bb3b8.zip
am fc52a8fb: Merge "Initial changes to break out AllApps into its own view." into ub-launcher3-burnaby
* commit 'fc52a8fb0312393e0a729764fbe57c43839e4c0f': Initial changes to break out AllApps into its own view.
Diffstat (limited to 'res/layout/apps_grid_row_view.xml')
-rw-r--r--res/layout/apps_grid_row_view.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/res/layout/apps_grid_row_view.xml b/res/layout/apps_grid_row_view.xml
new file mode 100644
index 000000000..bce43bc1b
--- /dev/null
+++ b/res/layout/apps_grid_row_view.xml
@@ -0,0 +1,38 @@
+<?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.
+-->
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/apps_view_row_height"
+ android:paddingTop="12dp"
+ android:paddingBottom="12dp"
+ android:orientation="horizontal"
+ android:focusable="true"
+ android:background="@drawable/focusable_view_bg"
+ android:descendantFocusability="afterDescendants">
+ <TextView
+ android:id="@+id/section"
+ android:layout_width="48dp"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:paddingRight="8dp"
+ android:paddingBottom="12dp"
+ android:gravity="right"
+ android:textColor="#1ca195"
+ android:textSize="16sp"
+ android:textAllCaps="true"
+ android:focusable="false" />
+</LinearLayout> \ No newline at end of file