12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginVertical="200dp"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:background="@drawable/department_layer">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_centerInParent="true"
- android:background="@drawable/department_layer"
- android:orientation="vertical">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="2dp"
- android:background="@color/commonColor">
- <TextView
- android:id="@+id/tvTitle"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="12dp"
- android:text="@string/createSign"
- android:textColor="@color/white"
- android:textSize="20sp"
- android:textStyle="bold" />
- </RelativeLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:layout_marginTop="12dp"
- android:layout_marginLeft="14dp"
- android:layout_marginRight="14dp"
- android:weightSum="1">
- <LinearLayout
- android:id="@+id/signPadLayout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@drawable/sign_edge"
- android:layout_weight="0.25"
- android:layout_marginBottom="14dp"
- android:weightSum="4"
- android:orientation="vertical">
- <com.github.gcacace.signaturepad.views.SignaturePad
- android:id="@+id/signPad"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_margin="12dp"
- app:penColor="@color/black" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/btnLayout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="horizontal"
- android:layout_weight="0.75"
- android:layout_marginBottom="2dp"
- android:gravity="center"
- android:background="@xml/border_top">
- <Button
- android:id="@+id/btnConfirm"
- style="?android:attr/borderlessButtonStyle"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:layout_marginTop="14dp"
- android:layout_marginBottom="12dp"
- android:layout_marginLeft="48dp"
- android:layout_marginRight="10dp"
- android:background="@drawable/shape2"
- android:textColor="@color/white"
- android:textSize="16sp"
- android:text="@string/confirm"/>
- <Button
- android:id="@+id/btnInit"
- style="?android:attr/borderlessButtonStyle"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:layout_marginTop="14dp"
- android:layout_marginBottom="12dp"
- android:layout_marginLeft="10dp"
- android:layout_marginRight="48dp"
- android:text="@string/initialize"
- android:textColor="@color/white"
- android:textSize="16sp"
- android:background="@drawable/shape2" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- </RelativeLayout>
|