| <?xml version="1.0" encoding="utf-8"?> |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_marginTop="30dp" |
| android:layout_marginBottom="30dp" |
| android:layout_marginRight="16dp" |
| android:layout_marginLeft="16dp" |
| android:baselineAligned="false" |
| android:orientation="vertical"> |
| |
| <TextView |
| android:id="@+id/last_contacted_label" |
| style="@style/MyContactsWidgetTitle" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:text="@string/recent_contacts" |
| android:paddingLeft="5dp" |
| android:paddingRight="5dp" |
| /> |
| |
| <TextView |
| android:id="@+id/mostUsedContactsOOBEDescription" |
| style="@style/MyContactsWidgetSubTitle" |
| android:layout_width="match_parent" |
| android:layout_height="120dp" |
| android:layout_marginTop="12dp" |
| android:paddingLeft="5dp" |
| android:paddingRight="5dp" |
| android:maxLines="8" |
| android:ellipsize="end" |
| android:text="@string/not_contacted_anyone_yet" |
| android:visibility="gone"/> |
| |
| <LinearLayout |
| android:id="@+id/recent_contacts_row_1" |
| android:layout_width="match_parent" |
| android:layout_height="0px" |
| android:layout_weight="2" |
| android:layout_marginTop="5dp" |
| android:padding="10dp" |
| android:background="@drawable/contact_item_btn" |
| android:orientation="horizontal"> |
| <include |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:id="@+id/last_contacted_item" |
| layout="@layout/last_contacted_item" /> |
| </LinearLayout> |
| |
| <TextView |
| android:id="@+id/most_contacted_label" |
| style="@style/MyContactsWidgetTitle" |
| android:layout_width="match_parent" |
| android:layout_marginTop="30dp" |
| android:layout_height="wrap_content" |
| android:paddingLeft="5dp" |
| android:paddingRight="5dp" |
| android:text="@string/most_contacted"/> |
| |
| |
| <LinearLayout |
| android:id="@+id/most_contacted_row_1" |
| android:layout_width="match_parent" |
| android:layout_height="0px" |
| android:layout_weight="1" |
| android:layout_marginTop="15dp" |
| android:orientation="horizontal"/> |
| |
| <LinearLayout |
| android:id="@+id/most_contacted_row_2" |
| android:layout_width="match_parent" |
| android:layout_height="0px" |
| android:layout_weight="1" |
| android:layout_marginTop="12dp" |
| android:orientation="horizontal"/> |
| |
| <LinearLayout |
| style="?android:attr/buttonBarButtonStyle" |
| android:id="@+id/contacts_launcher" |
| android:layout_width="match_parent" |
| android:layout_height="50dp" |
| android:layout_marginTop="17dp" |
| android:paddingLeft="5dp" |
| android:paddingRight="5dp" |
| android:background="@drawable/people_widget_contacts_button"> |
| |
| <TextView |
| android:id="@+id/buttonLauncher" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center" |
| android:background="@null" |
| android:clickable="false" |
| android:focusable="false" |
| android:gravity="center" |
| android:minHeight="0dp" |
| android:minWidth="0dp" |
| android:text="@string/contacts_title" |
| android:singleLine="true" |
| android:textSize="16sp" |
| android:textAllCaps="true" |
| android:fontFamily="sans-serif-condensed" |
| android:textColor="@color/white" |
| android:drawableLeft="@drawable/ic_all_contacts" |
| android:drawablePadding="14dp" /> |
| </LinearLayout> |
| |
| </LinearLayout> |