summaryrefslogtreecommitdiffstats
path: root/support-design/res/layout/design_navigation_item_subheader.xml
diff options
context:
space:
mode:
authorStephen Bird <sbird@cyngn.com>2015-06-19 16:14:28 -0700
committerStephen Bird <sbird@cyngn.com>2015-06-19 16:14:28 -0700
commit3f3f929ac88f2b2f52678fa3b54bf4fa0c924d18 (patch)
tree2bc24ae4a31475eefa80736400e687993b190e6f /support-design/res/layout/design_navigation_item_subheader.xml
parent5f28d749014dee8ec007d4f17b03130380b30a03 (diff)
downloadexternal_android_support-prebuilt-3f3f929ac88f2b2f52678fa3b54bf4fa0c924d18.tar.gz
external_android_support-prebuilt-3f3f929ac88f2b2f52678fa3b54bf4fa0c924d18.tar.bz2
external_android_support-prebuilt-3f3f929ac88f2b2f52678fa3b54bf4fa0c924d18.zip
Initial commit
Change-Id: I905cba2d875a9706d25652c857bf00b50c6dda93
Diffstat (limited to 'support-design/res/layout/design_navigation_item_subheader.xml')
-rw-r--r--support-design/res/layout/design_navigation_item_subheader.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/support-design/res/layout/design_navigation_item_subheader.xml b/support-design/res/layout/design_navigation_item_subheader.xml
new file mode 100644
index 0000000..9a1a810
--- /dev/null
+++ b/support-design/res/layout/design_navigation_item_subheader.xml
@@ -0,0 +1,25 @@
+<?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.
+-->
+<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="?attr/listPreferredItemHeightSmall"
+ android:gravity="center_vertical|start"
+ android:maxLines="1"
+ android:paddingLeft="?attr/listPreferredItemPaddingLeft"
+ android:paddingRight="?attr/listPreferredItemPaddingRight"
+ android:textAppearance="?attr/textAppearanceListItem"
+ android:textColor="?android:textColorSecondary"/>