blob: 640897699a511723358f07eed2de4d3cbef6f315 [file] [log] [blame]
satokffc73122011-08-01 21:40:23 +09001<?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-->
Tadashi G. Takaokacd6fdea2014-07-10 15:37:28 +090016
satokffc73122011-08-01 21:40:23 +090017<LinearLayout
18 xmlns:android="http://schemas.android.com/apk/res/android"
satokffc73122011-08-01 21:40:23 +090019 android:layout_width="match_parent"
20 android:layout_height="wrap_content"
Fabrice Di Meglioe4f58f92014-06-18 16:25:33 -070021 android:paddingStart="?android:attr/listPreferredItemPaddingStart"
22 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
satokffc73122011-08-01 21:40:23 +090023 android:minHeight="?android:attr/listPreferredItemHeight"
24 android:gravity="center_vertical">
Fabrice Di Meglioe4f58f92014-06-18 16:25:33 -070025
satokffc73122011-08-01 21:40:23 +090026 <LinearLayout
27 android:id="@+id/pref_left_button"
28 android:layout_width="wrap_content"
29 android:layout_height="match_parent"
30 android:layout_weight="1"
31 android:gravity="center_vertical"
32 android:clickable="true"
33 android:focusable="true"
34 android:background="?android:attr/selectableItemBackground">
Fabrice Di Meglioe4f58f92014-06-18 16:25:33 -070035
Tadashi G. Takaokacd6fdea2014-07-10 15:37:28 +090036 <LinearLayout
37 android:id="@android:id/widget_frame"
satoke36f1c52011-08-12 12:43:42 +090038 android:layout_width="wrap_content"
Tadashi G. Takaokacd6fdea2014-07-10 15:37:28 +090039 android:layout_height="match_parent"
40 android:gravity="center_vertical"
41 android:orientation="vertical" />
Fabrice Di Meglioe4f58f92014-06-18 16:25:33 -070042
satokffc73122011-08-01 21:40:23 +090043 <RelativeLayout
44 android:layout_width="wrap_content"
45 android:layout_height="wrap_content"
Tadashi G. Takaokacd6fdea2014-07-10 15:37:28 +090046 android:layout_marginStart="15dip"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -070047 android:layout_marginEnd="6dip"
satokffc73122011-08-01 21:40:23 +090048 android:layout_marginTop="6dip"
49 android:layout_marginBottom="6dip"
50 android:layout_weight="1">
Fabrice Di Meglioe4f58f92014-06-18 16:25:33 -070051
satokffc73122011-08-01 21:40:23 +090052 <TextView
53 android:id="@+android:id/title"
54 android:layout_width="wrap_content"
55 android:layout_height="wrap_content"
Tadashi G. Takaokacd6fdea2014-07-10 15:37:28 +090056 android:singleLine="true"
satokffc73122011-08-01 21:40:23 +090057 android:textAppearance="?android:attr/textAppearanceMedium"
58 android:ellipsize="marquee"
Tadashi G. Takaokacd6fdea2014-07-10 15:37:28 +090059 android:fadingEdge="horizontal"/>
Fabrice Di Meglioe4f58f92014-06-18 16:25:33 -070060
satokffc73122011-08-01 21:40:23 +090061 <TextView
62 android:id="@android:id/summary"
63 android:layout_width="wrap_content"
64 android:layout_height="wrap_content"
65 android:layout_below="@android:id/title"
Fabrice Di Meglio79d8e802012-07-19 19:25:50 -070066 android:layout_alignStart="@android:id/title"
Tadashi G. Takaokacd6fdea2014-07-10 15:37:28 +090067 android:paddingBottom="3dip"
satokffc73122011-08-01 21:40:23 +090068 android:visibility="gone"
69 android:textAppearance="?android:attr/textAppearanceSmall"
70 android:textSize="13sp"
71 android:textColor="?android:attr/textColorSecondary"
Tadashi G. Takaokacd6fdea2014-07-10 15:37:28 +090072 android:focusable="false"
satokffc73122011-08-01 21:40:23 +090073 android:maxLines="4" />
Fabrice Di Meglioe4f58f92014-06-18 16:25:33 -070074
satokffc73122011-08-01 21:40:23 +090075 </RelativeLayout>
Fabrice Di Meglioe4f58f92014-06-18 16:25:33 -070076
satokffc73122011-08-01 21:40:23 +090077 </LinearLayout>
Fabrice Di Meglioe4f58f92014-06-18 16:25:33 -070078
satokffc73122011-08-01 21:40:23 +090079 <View
80 android:layout_width="2dip"
81 android:layout_height="match_parent"
82 android:layout_marginTop="5dip"
83 android:layout_marginBottom="5dip"
84 android:background="@android:drawable/divider_horizontal_dark" />
Fabrice Di Meglioe4f58f92014-06-18 16:25:33 -070085
satokffc73122011-08-01 21:40:23 +090086 <ImageView
Tadashi G. Takaokacd6fdea2014-07-10 15:37:28 +090087 android:id="@+id/pref_right_button"
88 android:layout_width="wrap_content"
satokffc73122011-08-01 21:40:23 +090089 android:layout_height="fill_parent"
Tadashi G. Takaokacd6fdea2014-07-10 15:37:28 +090090 android:paddingStart="15dip"
91 android:paddingEnd="?android:attr/scrollbarSize"
92 android:src="@drawable/ic_sysbar_quicksettings"
93 android:contentDescription="@string/input_method_settings_button"
94 android:layout_gravity="center"
satokffc73122011-08-01 21:40:23 +090095 android:clickable="true"
96 android:focusable="true"
Tadashi G. Takaokacd6fdea2014-07-10 15:37:28 +090097 android:background="?android:attr/selectableItemBackground" />
Fabrice Di Meglioe4f58f92014-06-18 16:25:33 -070098
Tadashi G. Takaokacd6fdea2014-07-10 15:37:28 +090099</LinearLayout>