gecko/mobile/android/base/resources/layout/site_setting_item.xml
Lucas Rocha fe032ef3d3 Bug 936519 - Move general-purpose views to the widget package (r=mfinkle)
--HG--
rename : mobile/android/base/AllCapsTextView.java => mobile/android/base/widget/AllCapsTextView.java
rename : mobile/android/base/AnimatedHeightLayout.java => mobile/android/base/widget/AnimatedHeightLayout.java
rename : mobile/android/base/CheckableLinearLayout.java => mobile/android/base/widget/CheckableLinearLayout.java
rename : mobile/android/base/ClickableWhenDisabledEditText.java => mobile/android/base/widget/ClickableWhenDisabledEditText.java
rename : mobile/android/base/FlowLayout.java => mobile/android/base/widget/FlowLayout.java
2013-11-11 18:41:12 +00:00

54 lines
1.8 KiB
XML

<?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>
<CheckBox
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>