satok | ffc7312 | 2011-08-01 21:40:23 +0900 | [diff] [blame] | 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 | --> |
Tadashi G. Takaoka | cd6fdea | 2014-07-10 15:37:28 +0900 | [diff] [blame] | 16 | |
satok | ffc7312 | 2011-08-01 21:40:23 +0900 | [diff] [blame] | 17 | <LinearLayout |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
satok | ffc7312 | 2011-08-01 21:40:23 +0900 | [diff] [blame] | 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="wrap_content" |
Fabrice Di Meglio | e4f58f9 | 2014-06-18 16:25:33 -0700 | [diff] [blame] | 21 | android:paddingStart="?android:attr/listPreferredItemPaddingStart" |
| 22 | android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" |
satok | ffc7312 | 2011-08-01 21:40:23 +0900 | [diff] [blame] | 23 | android:minHeight="?android:attr/listPreferredItemHeight" |
| 24 | android:gravity="center_vertical"> |
Fabrice Di Meglio | e4f58f9 | 2014-06-18 16:25:33 -0700 | [diff] [blame] | 25 | |
satok | ffc7312 | 2011-08-01 21:40:23 +0900 | [diff] [blame] | 26 | <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 Meglio | e4f58f9 | 2014-06-18 16:25:33 -0700 | [diff] [blame] | 35 | |
Tadashi G. Takaoka | cd6fdea | 2014-07-10 15:37:28 +0900 | [diff] [blame] | 36 | <LinearLayout |
| 37 | android:id="@android:id/widget_frame" |
satok | e36f1c5 | 2011-08-12 12:43:42 +0900 | [diff] [blame] | 38 | android:layout_width="wrap_content" |
Tadashi G. Takaoka | cd6fdea | 2014-07-10 15:37:28 +0900 | [diff] [blame] | 39 | android:layout_height="match_parent" |
| 40 | android:gravity="center_vertical" |
| 41 | android:orientation="vertical" /> |
Fabrice Di Meglio | e4f58f9 | 2014-06-18 16:25:33 -0700 | [diff] [blame] | 42 | |
satok | ffc7312 | 2011-08-01 21:40:23 +0900 | [diff] [blame] | 43 | <RelativeLayout |
| 44 | android:layout_width="wrap_content" |
| 45 | android:layout_height="wrap_content" |
Tadashi G. Takaoka | cd6fdea | 2014-07-10 15:37:28 +0900 | [diff] [blame] | 46 | android:layout_marginStart="15dip" |
Fabrice Di Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 47 | android:layout_marginEnd="6dip" |
satok | ffc7312 | 2011-08-01 21:40:23 +0900 | [diff] [blame] | 48 | android:layout_marginTop="6dip" |
| 49 | android:layout_marginBottom="6dip" |
| 50 | android:layout_weight="1"> |
Fabrice Di Meglio | e4f58f9 | 2014-06-18 16:25:33 -0700 | [diff] [blame] | 51 | |
satok | ffc7312 | 2011-08-01 21:40:23 +0900 | [diff] [blame] | 52 | <TextView |
| 53 | android:id="@+android:id/title" |
| 54 | android:layout_width="wrap_content" |
| 55 | android:layout_height="wrap_content" |
Tadashi G. Takaoka | cd6fdea | 2014-07-10 15:37:28 +0900 | [diff] [blame] | 56 | android:singleLine="true" |
satok | ffc7312 | 2011-08-01 21:40:23 +0900 | [diff] [blame] | 57 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 58 | android:ellipsize="marquee" |
Tadashi G. Takaoka | cd6fdea | 2014-07-10 15:37:28 +0900 | [diff] [blame] | 59 | android:fadingEdge="horizontal"/> |
Fabrice Di Meglio | e4f58f9 | 2014-06-18 16:25:33 -0700 | [diff] [blame] | 60 | |
satok | ffc7312 | 2011-08-01 21:40:23 +0900 | [diff] [blame] | 61 | <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 Meglio | 79d8e80 | 2012-07-19 19:25:50 -0700 | [diff] [blame] | 66 | android:layout_alignStart="@android:id/title" |
Tadashi G. Takaoka | cd6fdea | 2014-07-10 15:37:28 +0900 | [diff] [blame] | 67 | android:paddingBottom="3dip" |
satok | ffc7312 | 2011-08-01 21:40:23 +0900 | [diff] [blame] | 68 | android:visibility="gone" |
| 69 | android:textAppearance="?android:attr/textAppearanceSmall" |
| 70 | android:textSize="13sp" |
| 71 | android:textColor="?android:attr/textColorSecondary" |
Tadashi G. Takaoka | cd6fdea | 2014-07-10 15:37:28 +0900 | [diff] [blame] | 72 | android:focusable="false" |
satok | ffc7312 | 2011-08-01 21:40:23 +0900 | [diff] [blame] | 73 | android:maxLines="4" /> |
Fabrice Di Meglio | e4f58f9 | 2014-06-18 16:25:33 -0700 | [diff] [blame] | 74 | |
satok | ffc7312 | 2011-08-01 21:40:23 +0900 | [diff] [blame] | 75 | </RelativeLayout> |
Fabrice Di Meglio | e4f58f9 | 2014-06-18 16:25:33 -0700 | [diff] [blame] | 76 | |
satok | ffc7312 | 2011-08-01 21:40:23 +0900 | [diff] [blame] | 77 | </LinearLayout> |
Fabrice Di Meglio | e4f58f9 | 2014-06-18 16:25:33 -0700 | [diff] [blame] | 78 | |
satok | ffc7312 | 2011-08-01 21:40:23 +0900 | [diff] [blame] | 79 | <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 Meglio | e4f58f9 | 2014-06-18 16:25:33 -0700 | [diff] [blame] | 85 | |
satok | ffc7312 | 2011-08-01 21:40:23 +0900 | [diff] [blame] | 86 | <ImageView |
Tadashi G. Takaoka | cd6fdea | 2014-07-10 15:37:28 +0900 | [diff] [blame] | 87 | android:id="@+id/pref_right_button" |
| 88 | android:layout_width="wrap_content" |
satok | ffc7312 | 2011-08-01 21:40:23 +0900 | [diff] [blame] | 89 | android:layout_height="fill_parent" |
Tadashi G. Takaoka | cd6fdea | 2014-07-10 15:37:28 +0900 | [diff] [blame] | 90 | 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" |
satok | ffc7312 | 2011-08-01 21:40:23 +0900 | [diff] [blame] | 95 | android:clickable="true" |
| 96 | android:focusable="true" |
Tadashi G. Takaoka | cd6fdea | 2014-07-10 15:37:28 +0900 | [diff] [blame] | 97 | android:background="?android:attr/selectableItemBackground" /> |
Fabrice Di Meglio | e4f58f9 | 2014-06-18 16:25:33 -0700 | [diff] [blame] | 98 | |
Tadashi G. Takaoka | cd6fdea | 2014-07-10 15:37:28 +0900 | [diff] [blame] | 99 | </LinearLayout> |