| 4 | android:layout_width="match_parent" |
| 5 | android:minHeight="72dp" |
| 6 | android:id="@+id/contacts_widget_item" |
| 7 | android:layout_height="86dp" |
| 8 | android:weightSum="1" |
| 9 | android:baselineAligned="false"> |
| 10 |
| 11 | <FrameLayout |
| 12 | android:layout_width="0dp" |
| 13 | android:id="@+id/contacts_widget_item1" |
| 14 | android:layout_height="86dp" |
| 15 | android:background="@drawable/list_selector_ex" |
| 16 | android:layout_weight="0.5"> |
| 17 |
| 18 | <ImageView android:id="@+id/contacts_widget_item_avatar1" |
| 19 | android:layout_width="48dp" |
| 20 | android:layout_height="48dp" |
| 21 | android:layout_gravity="center" |
| 22 | android:layout_marginBottom="10dp" |
| 23 | android:gravity="start" /> |
| 24 |
| 25 | <TextView android:id="@+id/contacts_widget_item_text1" |
| 26 | android:layout_width="match_parent" |
| 27 | android:layout_height="wrap_content" |
| 28 | android:singleLine="true" |
| 29 | android:ellipsize="end" |
| 30 | android:gravity="center" |
| 31 | android:layout_gravity="center" |
| 32 | android:textSize="12dp" |
| 33 | android:layout_marginRight="6dp" |
| 34 | android:layout_marginLeft="6dp" |
| 35 | android:layout_marginTop="28dp" |
| 36 | android:textColor="@color/widget_name"/> |
| 37 |
| 38 | <FrameLayout |
| 39 | android:layout_width="wrap_content" |
| 40 | android:layout_height="wrap_content" |
| 41 | android:padding="1dp" |
| 42 | android:background="@drawable/widgets_light_badgebg" |
| 43 | android:layout_gravity="center" |
| 44 | android:layout_marginBottom="27dp" |
| 45 | android:layout_marginLeft="20dp" |
| 46 | android:id="@+id/contacts_widget_item_badge_bg1"> |
| 47 |
| 48 | <TextView android:id="@+id/contacts_widget_item_badge1" |
| 49 | android:layout_width="wrap_content" |
| 50 | android:layout_height="23dp" |
| 51 | android:paddingLeft="7dp" |
| 52 | android:paddingRight="7dp" |
| 53 | android:paddingBottom="1dp" |
| 54 | android:fontFamily="sans-serif-medium" |
| 55 | android:layout_gravity="center" |
| 56 | android:gravity="center" |
| 57 | android:minWidth="23dp" |
| 58 | android:textSize="13dp" |
| 59 | android:background="@drawable/widget_counter" |
| 60 | android:textColor="@color/widget_badge" /> |
| 61 | </FrameLayout> |
| 62 |
| 63 | </FrameLayout> |
| 64 |
| 65 | <FrameLayout |
| 66 | android:layout_width="0dp" |
| 67 | android:minHeight="72dp" |
| 68 | android:id="@+id/contacts_widget_item2" |
| 69 | android:background="@drawable/list_selector_ex" |
| 70 | android:layout_height="86dp" |
| 71 | android:layout_weight="0.5"> |
| 72 |
| 73 | <ImageView android:id="@+id/contacts_widget_item_avatar2" |
| 74 | android:layout_width="48dp" |
| 75 | android:layout_height="48dp" |
| 76 | android:layout_gravity="center" |
| 77 | android:layout_marginBottom="10dp" |
| 78 | android:gravity="start" /> |
| 79 |
| 80 | <TextView android:id="@+id/contacts_widget_item_text2" |
| 81 | android:layout_width="match_parent" |
| 82 | android:layout_height="wrap_content" |
| 83 | android:singleLine="true" |
| 84 | android:ellipsize="end" |
| 85 | android:gravity="center" |
| 86 | android:layout_gravity="center" |
| 87 | android:textSize="12dp" |
| 88 | android:layout_marginRight="6dp" |
| 89 | android:layout_marginLeft="6dp" |
| 90 | android:layout_marginTop="28dp" |
| 91 | android:textColor="@color/widget_name"/> |
| 92 |
| 93 | <FrameLayout |
| 94 | android:layout_width="wrap_content" |
| 95 | android:layout_height="wrap_content" |
| 96 | android:padding="1dp" |
| 97 | android:background="@drawable/widgets_light_badgebg" |
| 98 | android:layout_gravity="center" |
| 99 | android:layout_marginBottom="27dp" |
| 100 | android:layout_marginLeft="20dp" |
| 101 | android:id="@+id/contacts_widget_item_badge_bg2"> |
| 102 |
| 103 | <TextView android:id="@+id/contacts_widget_item_badge2" |
| 104 | android:layout_width="wrap_content" |
| 105 | android:layout_height="23dp" |
| 106 | android:paddingLeft="7dp" |
| 107 | android:paddingRight="7dp" |
| 108 | android:paddingBottom="1dp" |
| 109 | android:fontFamily="sans-serif-medium" |
| 110 | android:layout_gravity="center" |
| 111 | android:gravity="center" |
| 112 | android:minWidth="23dp" |
| 113 | android:textSize="13dp" |
| 114 | android:background="@drawable/widget_counter" |
| 115 | android:textColor="@color/widget_badge" /> |
| 116 | </FrameLayout> |
| 117 |
| 118 | </FrameLayout> |
| 119 | </LinearLayout> |