summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/layout/preference_inputmethod.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/res/layout/preference_inputmethod.xml b/res/layout/preference_inputmethod.xml
index 589ddc9..d0d23e3 100644
--- a/res/layout/preference_inputmethod.xml
+++ b/res/layout/preference_inputmethod.xml
@@ -18,8 +18,11 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:paddingStart="?android:attr/listPreferredItemPaddingStart"
+ android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical">
+
<LinearLayout
android:id="@+id/inputmethod_pref"
android:layout_width="wrap_content"
@@ -29,12 +32,14 @@
android:clickable="true"
android:focusable="true"
android:background="?android:attr/selectableItemBackground">
+
<LinearLayout
android:id="@android:id/widget_frame"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center_vertical"
android:orientation="vertical" />
+
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -42,6 +47,7 @@
android:layout_marginTop="6dip"
android:layout_marginBottom="6dip"
android:layout_weight="1">
+
<TextView
android:id="@+android:id/title"
android:layout_width="wrap_content"
@@ -50,6 +56,7 @@
android:textAppearance="?android:attr/textAppearanceMedium"
android:ellipsize="marquee"
android:fadingEdge="horizontal"/>
+
<TextView
android:id="@android:id/summary"
android:layout_width="wrap_content"
@@ -63,14 +70,18 @@
android:textColor="?android:attr/textColorSecondary"
android:focusable="false"
android:maxLines="4" />
+
</RelativeLayout>
+
</LinearLayout>
+
<View
android:layout_width="2dip"
android:layout_height="match_parent"
android:layout_marginTop="5dip"
android:layout_marginBottom="5dip"
android:background="@android:drawable/divider_horizontal_dark" />
+
<ImageView
android:id="@+id/inputmethod_settings"
android:layout_width="wrap_content"
@@ -83,4 +94,5 @@
android:clickable="true"
android:focusable="true"
android:background="?android:attr/selectableItemBackground" />
+
</LinearLayout>