| <?xml version="1.0" encoding="utf-8"?> |
| <android.support.design.widget.CoordinatorLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| android:id="@+id/cl_customer_deposit_details" |
| android:layout_height="match_parent" |
| android:layout_width="match_parent" |
| android:orientation="vertical" > |
| |
| <android.support.v7.widget.CardView |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| android:clickable="true" |
| android:foreground="?android:attr/selectableItemBackground" |
| android:id="@+id/cv_customer_deposit_details" |
| android:layout_height="wrap_content" |
| android:layout_width="match_parent" |
| android:visibility="visible" |
| app:cardBackgroundColor="@color/colorPrimaryDark" |
| app:cardElevation="4dp"> |
| |
| <LinearLayout |
| android:layout_height="match_parent" |
| android:layout_width="match_parent" |
| android:orientation="vertical" |
| android:padding="16dp"> |
| |
| <LinearLayout |
| android:gravity="center" |
| android:layout_height="match_parent" |
| android:layout_width="match_parent" |
| android:orientation="horizontal" |
| android:paddingTop="@dimen/layout_padding_24dp"> |
| |
| <ImageView |
| android:layout_height="48dp" |
| android:layout_width="48dp" |
| android:tint="@color/white" |
| android:contentDescription="@string/customer_image" |
| app:srcCompat="@drawable/ic_customer_black_24dp"/> |
| |
| <TextView |
| android:gravity="center" |
| android:layout_height="match_parent" |
| android:layout_width="wrap_content" |
| android:paddingEnd="0dp" |
| android:paddingLeft="@dimen/layout_padding_16dp" |
| android:paddingRight="0dp" |
| android:paddingStart="@dimen/layout_padding_16dp" |
| android:text="@string/customer" |
| android:textColor="@color/white" |
| android:textSize="32sp" |
| android:textStyle="bold"/> |
| |
| </LinearLayout> |
| |
| <LinearLayout |
| android:gravity="center" |
| android:layout_height="match_parent" |
| android:layout_width="match_parent" |
| android:orientation="vertical" |
| android:paddingTop="@dimen/layout_padding_8dp"> |
| |
| <TextView |
| android:gravity="center" |
| android:layout_height="match_parent" |
| android:layout_width="match_parent" |
| android:text="@string/create_edit_customer_for_offices" |
| android:textColor="@color/white" |
| android:textSize="@dimen/text_medium"/> |
| |
| <View |
| android:background="@color/white" |
| android:layout_height="1dp" |
| android:layout_marginLeft="@dimen/layout_padding_30dp" |
| android:layout_marginRight="@dimen/layout_padding_30dp" |
| android:layout_width="wrap_content"/> |
| |
| </LinearLayout> |
| |
| <LinearLayout |
| android:gravity="center" |
| android:layout_height="match_parent" |
| android:layout_width="match_parent" |
| android:orientation="horizontal" |
| android:paddingTop="@dimen/layout_padding_16dp" |
| android:weightSum="2"> |
| |
| <Button |
| android:id="@+id/btn_view_customer" |
| android:layout_height="match_parent" |
| android:layout_weight="1" |
| android:layout_width="match_parent" |
| android:text="@string/view_customer" |
| android:textAllCaps="false"/> |
| |
| <Button |
| android:id="@+id/btn_create_customer" |
| android:layout_height="match_parent" |
| android:layout_weight="1" |
| android:layout_width="match_parent" |
| android:text="@string/create_customer" |
| android:textAllCaps="false"/> |
| |
| </LinearLayout> |
| |
| </LinearLayout> |
| |
| </android.support.v7.widget.CardView> |
| |
| </android.support.design.widget.CoordinatorLayout> |