OSDN Git Service

Merge changes from topic "am-b95e3cad-9610-4d9b-96a8-a82f585400e6" into oc-dev am...
[android-x86/packages-apps-Settings.git] / res / layout / date_time_custom_list_item_2.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2011 The Android Open Source Project
3
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
7
8           http://www.apache.org/licenses/LICENSE-2.0
9
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 -->
16
17 <!-- Based on simple_list_item_2.xml in framework -->
18 <LinearLayout
19     xmlns:android="http://schemas.android.com/apk/res/android"
20     android:layout_width="match_parent"
21     android:layout_height="wrap_content"
22     android:background="?android:attr/selectableItemBackground"
23     android:gravity="center_vertical"
24     android:minHeight="?android:attr/listPreferredItemHeight"
25     android:orientation="vertical"
26     android:paddingStart="@dimen/preference_no_icon_padding_start"
27     android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">
28
29     <TextView
30         android:id="@android:id/text1"
31         android:layout_width="match_parent"
32         android:layout_height="wrap_content"
33         android:textAppearance="?android:attr/textAppearanceListItem" />
34
35     <TextView
36         android:id="@android:id/text2"
37         android:layout_width="match_parent"
38         android:layout_height="wrap_content"
39         android:textAppearance="?android:attr/textAppearanceListItemSecondary"
40         android:textColor="?android:attr/textColorSecondary" />
41
42 </LinearLayout>