Wed, 31 Dec 2014 07:22:50 +0100
Correct previous dual key logic pending first delivery installment.
michael@0 | 1 | <?xml version="1.0" encoding="utf-8"?> |
michael@0 | 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
michael@0 | 3 | android:layout_width="fill_parent" |
michael@0 | 4 | android:layout_height="wrap_content" |
michael@0 | 5 | android:background="@color/fxaccount_error_preference_backgroundcolor" |
michael@0 | 6 | android:gravity="center_vertical" |
michael@0 | 7 | android:minHeight="?android:attr/listPreferredItemHeight" |
michael@0 | 8 | android:paddingRight="?android:attr/scrollbarSize" > |
michael@0 | 9 | |
michael@0 | 10 | <LinearLayout |
michael@0 | 11 | android:layout_width="wrap_content" |
michael@0 | 12 | android:layout_height="match_parent" |
michael@0 | 13 | android:gravity="center" |
michael@0 | 14 | android:minWidth="0dp" |
michael@0 | 15 | android:orientation="horizontal" > |
michael@0 | 16 | |
michael@0 | 17 | <ImageView |
michael@0 | 18 | android:id="@+android:id/icon" |
michael@0 | 19 | android:layout_width="wrap_content" |
michael@0 | 20 | android:layout_height="wrap_content" |
michael@0 | 21 | android:layout_gravity="center" |
michael@0 | 22 | android:minWidth="48dip" |
michael@0 | 23 | android:padding="10dip" /> |
michael@0 | 24 | </LinearLayout> |
michael@0 | 25 | |
michael@0 | 26 | <RelativeLayout |
michael@0 | 27 | android:layout_width="wrap_content" |
michael@0 | 28 | android:layout_height="wrap_content" |
michael@0 | 29 | android:layout_marginBottom="6dip" |
michael@0 | 30 | android:layout_marginLeft="15dip" |
michael@0 | 31 | android:layout_marginRight="6dip" |
michael@0 | 32 | android:layout_marginTop="6dip" |
michael@0 | 33 | android:layout_weight="1" > |
michael@0 | 34 | |
michael@0 | 35 | <TextView |
michael@0 | 36 | android:id="@+android:id/title" |
michael@0 | 37 | style="@style/FxAccountTextItem" |
michael@0 | 38 | android:layout_width="fill_parent" |
michael@0 | 39 | android:layout_height="wrap_content" |
michael@0 | 40 | android:layout_gravity="center_horizontal" |
michael@0 | 41 | android:gravity="center_vertical" > |
michael@0 | 42 | </TextView> |
michael@0 | 43 | </RelativeLayout> |
michael@0 | 44 | |
michael@0 | 45 | <!-- We ignore summary and widget_frame, but they still need to be present. We set them to be gone. --> |
michael@0 | 46 | |
michael@0 | 47 | <TextView |
michael@0 | 48 | android:id="@+android:id/summary" |
michael@0 | 49 | android:layout_width="wrap_content" |
michael@0 | 50 | android:layout_height="wrap_content" |
michael@0 | 51 | android:maxLines="4" |
michael@0 | 52 | android:textAppearance="?android:attr/textAppearanceSmall" |
michael@0 | 53 | android:textColor="?android:attr/textColorSecondary" |
michael@0 | 54 | android:visibility="gone" /> |
michael@0 | 55 | |
michael@0 | 56 | <!-- Preference should place its actual preference widget here. --> |
michael@0 | 57 | |
michael@0 | 58 | <LinearLayout |
michael@0 | 59 | android:id="@+android:id/widget_frame" |
michael@0 | 60 | android:layout_width="wrap_content" |
michael@0 | 61 | android:layout_height="match_parent" |
michael@0 | 62 | android:gravity="center" |
michael@0 | 63 | android:orientation="vertical" |
michael@0 | 64 | android:visibility="gone" /> |
michael@0 | 65 | |
michael@0 | 66 | </LinearLayout> |