Roll NDK to pick std::deque patch.
[android_tools.git] / sdk / platforms / android-25 / data / res / layout / preference_header_item.xml
blob0d582a04ff5ef418162753c834a41167646d39ec
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2006 The Android Open Source Project
4      Licensed under the Apache License, Version 2.0 (the "License");
5      you may not use this file except in compliance with the License.
6      You may obtain a copy of the License at
8           http://www.apache.org/licenses/LICENSE-2.0
10      Unless required by applicable law or agreed to in writing, software
11      distributed under the License is distributed on an "AS IS" BASIS,
12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13      See the License for the specific language governing permissions and
14      limitations under the License.
15 -->
17 <!-- Layout of a header item in PreferenceActivity. -->
18 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19     android:layout_width="match_parent"
20     android:layout_height="wrap_content"
21     android:minHeight="48dp"
22     android:background="?android:attr/activatedBackgroundIndicator"
23     android:gravity="center_vertical"
24     android:paddingEnd="?android:attr/scrollbarSize">
26     <ImageView
27         android:id="@+id/icon"
28         android:layout_width="wrap_content"
29         android:layout_height="wrap_content"
30         android:layout_marginStart="6dip"
31         android:layout_marginEnd="6dip"
32         android:layout_gravity="center" />
34     <RelativeLayout
35         android:layout_width="wrap_content"
36         android:layout_height="wrap_content"
37         android:layout_marginStart="2dip"
38         android:layout_marginEnd="6dip"
39         android:layout_marginTop="6dip"
40         android:layout_marginBottom="6dip"
41         android:layout_weight="1">
43         <TextView android:id="@+android:id/title"
44             android:layout_width="wrap_content"
45             android:layout_height="wrap_content"
46             android:singleLine="true"
47             android:textAppearance="?android:attr/textAppearanceMedium"
48             android:ellipsize="marquee"
49             android:fadingEdge="horizontal" />
51         <TextView android:id="@+android:id/summary"
52             android:layout_width="wrap_content"
53             android:layout_height="wrap_content"
54             android:layout_below="@android:id/title"
55             android:layout_alignStart="@android:id/title"
56             android:textAppearance="?android:attr/textAppearanceSmall"
57             android:ellipsize="end"
58             android:maxLines="2" />
60     </RelativeLayout>
62 </LinearLayout>