diff options
Diffstat (limited to 'mobile/android/base/resources/layout/site_setting_item.xml')
-rw-r--r-- | mobile/android/base/resources/layout/site_setting_item.xml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/mobile/android/base/resources/layout/site_setting_item.xml b/mobile/android/base/resources/layout/site_setting_item.xml new file mode 100644 index 000000000..a8feba7e3 --- /dev/null +++ b/mobile/android/base/resources/layout/site_setting_item.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="utf-8"?> + +<org.mozilla.gecko.widget.CheckableLinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:gravity="center_vertical" + android:paddingLeft="16dip" + android:paddingRight="12dip" + android:minHeight="?android:attr/listPreferredItemHeight" + android:focusable="false"> + + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:orientation="vertical" + android:gravity="center_vertical" + android:focusable="false"> + + <TextView + android:id="@+id/setting" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceMedium" + style="Widget.ListItem" + android:gravity="center_vertical|left" + android:singleLine="true" + android:ellipsize="marquee"/> + + <TextView + android:id="@+id/value" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceSmall" + style="Widget.ListItem" + android:gravity="center_vertical|left" + android:singleLine="true" + android:ellipsize="marquee"/> + + </LinearLayout> + + <android.support.v7.widget.AppCompatCheckBox + android:id="@+id/checkbox" + android:layout_width="35dip" + android:layout_height="wrap_content" + android:paddingRight="12dip" + android:gravity="center_vertical" + android:focusable="false" + android:clickable="false"/> + +</org.mozilla.gecko.widget.CheckableLinearLayout> |