Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | <?xml version="1.0" encoding="utf-8"?> |
michael@0 | 2 | |
michael@0 | 3 | <org.mozilla.gecko.widget.CheckableLinearLayout |
michael@0 | 4 | xmlns:android="http://schemas.android.com/apk/res/android" |
michael@0 | 5 | android:layout_width="match_parent" |
michael@0 | 6 | android:layout_height="wrap_content" |
michael@0 | 7 | android:orientation="horizontal" |
michael@0 | 8 | android:gravity="center_vertical" |
michael@0 | 9 | android:paddingLeft="16dip" |
michael@0 | 10 | android:paddingRight="12dip" |
michael@0 | 11 | android:minHeight="?android:attr/listPreferredItemHeight" |
michael@0 | 12 | android:focusable="false"> |
michael@0 | 13 | |
michael@0 | 14 | <LinearLayout |
michael@0 | 15 | android:layout_width="wrap_content" |
michael@0 | 16 | android:layout_height="wrap_content" |
michael@0 | 17 | android:layout_weight="1" |
michael@0 | 18 | android:orientation="vertical" |
michael@0 | 19 | android:gravity="center_vertical" |
michael@0 | 20 | android:focusable="false"> |
michael@0 | 21 | |
michael@0 | 22 | <TextView |
michael@0 | 23 | android:id="@+id/setting" |
michael@0 | 24 | android:layout_width="wrap_content" |
michael@0 | 25 | android:layout_height="wrap_content" |
michael@0 | 26 | android:textAppearance="?android:attr/textAppearanceMedium" |
michael@0 | 27 | style="Widget.ListItem" |
michael@0 | 28 | android:gravity="center_vertical|left" |
michael@0 | 29 | android:singleLine="true" |
michael@0 | 30 | android:ellipsize="marquee"/> |
michael@0 | 31 | |
michael@0 | 32 | <TextView |
michael@0 | 33 | android:id="@+id/value" |
michael@0 | 34 | android:layout_width="wrap_content" |
michael@0 | 35 | android:layout_height="wrap_content" |
michael@0 | 36 | android:textAppearance="?android:attr/textAppearanceSmall" |
michael@0 | 37 | style="Widget.ListItem" |
michael@0 | 38 | android:gravity="center_vertical|left" |
michael@0 | 39 | android:singleLine="true" |
michael@0 | 40 | android:ellipsize="marquee"/> |
michael@0 | 41 | |
michael@0 | 42 | </LinearLayout> |
michael@0 | 43 | |
michael@0 | 44 | <CheckBox |
michael@0 | 45 | android:id="@+id/checkbox" |
michael@0 | 46 | android:layout_width="35dip" |
michael@0 | 47 | android:layout_height="wrap_content" |
michael@0 | 48 | android:paddingRight="12dip" |
michael@0 | 49 | android:gravity="center_vertical" |
michael@0 | 50 | android:focusable="false" |
michael@0 | 51 | android:clickable="false"/> |
michael@0 | 52 | |
michael@0 | 53 | </org.mozilla.gecko.widget.CheckableLinearLayout> |