| <?xml version="1.0" encoding="utf-8"?> |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| android:id="@+id/detail_overlay" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:background="@color/black"> |
| <com.fairphone.mycontacts.view.SquareImageView |
| android:id="@+id/contact_photo" |
| android:layout_gravity="center" |
| android:layout_width="match_parent" |
| android:layout_height="0px" |
| app:useDimension="width" |
| android:layout_alignParentTop="true" |
| android:layout_centerHorizontal="true" |
| android:scaleType="centerCrop" |
| android:src="@drawable/contact_no_photo_cut" |
| android:background="@color/fp_light_blue"/> |
| |
| |
| <LinearLayout |
| style="?android:attr/buttonStyle" |
| android:id="@+id/contact_launcher" |
| android:layout_width="324.66dp" |
| android:layout_height="50dp" |
| android:layout_alignParentBottom="true" |
| android:layout_marginBottom="65dp" |
| android:layout_centerHorizontal="true" |
| android:background="@drawable/people_widget_contacts_button"> |
| |
| <TextView |
| android:id="@+id/btn_create_view_contact" |
| 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:textSize="16sp" |
| android:textAllCaps="true" |
| android:fontFamily="sans-serif-condensed" |
| android:textColor="@color/white" |
| android:singleLine="true" |
| android:drawableLeft="@drawable/ic_single_contact" |
| android:drawablePadding="14dp"/> |
| </LinearLayout> |
| |
| |
| <LinearLayout |
| android:id="@+id/bigbluebox" |
| android:layout_width="324.67dp" |
| android:layout_height="wrap_content" |
| android:layout_marginBottom="9dp" |
| android:layout_above="@id/contact_launcher" |
| android:layout_centerHorizontal="true" |
| android:background="@color/fp_blue" |
| android:orientation="vertical"> |
| |
| <TextView |
| android:id="@+id/contact_name" |
| android:layout_gravity="center_vertical" |
| android:paddingLeft="28dp" |
| android:paddingRight="28dp" |
| android:paddingTop="14dp" |
| android:paddingBottom="14dp" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:ellipsize="end" |
| android:fontFamily="sans-serif-light" |
| android:textColor="@color/white" |
| android:lineSpacingExtra="0dp" |
| android:textSize="34sp" |
| android:maxLines="2" |
| android:singleLine="false" |
| /> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="70dp"> |
| <LinearLayout |
| android:id="@+id/call_action" |
| android:layout_width="246.67dp" |
| android:layout_height="match_parent" |
| android:clickable="true" |
| android:focusable="false" |
| android:background="@drawable/detail_box_btn" |
| android:layout_gravity="center"> |
| <ImageView |
| android:layout_width="wrap_content" |
| android:layout_height="match_parent" |
| android:layout_marginStart="28dp" |
| android:layout_marginEnd="11.33dp" |
| android:layout_gravity="center_vertical" |
| android:src="@drawable/ic_phone"/> |
| <LinearLayout |
| android:layout_width="wrap_content" |
| android:layout_height="match_parent" |
| android:orientation="vertical" |
| android:gravity="center_vertical"> |
| <TextView |
| android:id="@+id/contact_number_type" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:fontFamily="sans-serif-condensed" |
| android:textStyle="bold" |
| android:textColor="@color/white" |
| android:lineSpacingExtra="0dp" |
| android:textSize="16sp" |
| android:textAllCaps="true" |
| android:gravity="center_vertical" |
| android:singleLine="true"/> |
| <TextView |
| android:id="@+id/contact_phone_number" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:fontFamily="sans-serif-condensed" |
| android:textColor="@color/white" |
| android:lineSpacingExtra="0dp" |
| android:textSize="16sp" |
| android:gravity="center_vertical" |
| android:singleLine="true"/> |
| </LinearLayout> |
| </LinearLayout> |
| <LinearLayout |
| android:id="@+id/sms_action" |
| android:layout_width="78dp" |
| android:layout_height="match_parent" |
| android:gravity="center" |
| android:clickable="true" |
| android:focusable="false" |
| android:background="@drawable/detail_box_btn"> |
| <ImageView |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:src="@drawable/ic_sms" |
| android:layout_gravity="center"/> |
| </LinearLayout> |
| </LinearLayout> |
| |
| </LinearLayout> |
| |
| </RelativeLayout> |