123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220 |
- <?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/signDialog"
- 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:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@drawable/layout_edge"
- android:layout_weight="0.25"
- android:layout_marginBottom="14dp"
- android:weightSum="4"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_weight="3"
- android:gravity="center"
- android:weightSum="1"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="0.25"
- android:gravity="center"
- android:text="@string/userId"
- android:textSize="20sp"
- android:textStyle="bold"
- android:textColor="@color/black" />
- <View
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="@color/black" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="0.25"
- android:weightSum="1"
- android:orientation="horizontal">
- <EditText
- android:id="@+id/etUserId"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="0.2"
- android:enabled="false"
- android:gravity="center"
- android:textSize="20sp"
- android:singleLine="true"
- android:selectAllOnFocus="true"
- app:theme="@style/EditTextStyle"/>
- <!-- ImageView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_margin="4dp"
- android:layout_weight="0.8"
- android:src="@drawable/ic_search_black_24dp"/ -->
- </LinearLayout>
- <View
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="@color/black" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="0.25"
- android:gravity="center"
- android:text="@string/userNm"
- android:textStyle="bold"
- android:textSize="20sp"
- android:textColor="@color/black" />
- <View
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="@color/black" />
- <TextView
- android:id="@+id/tvUserNm"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="0.25"
- android:gravity="center"
- android:textSize="20sp"
- android:autoSizeMaxTextSize="20sp"
- android:autoSizeMinTextSize="8sp"
- android:autoSizeStepGranularity="2sp"
- android:autoSizeTextType="uniform"
- android:singleLine="false"
- android:textColor="@color/black" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/black" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- android:layout_weight="1"
- android:weightSum="1"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_weight="0.75"
- android:gravity="center"
- android:text="@string/signImage"
- android:textStyle="bold"
- android:textSize="20sp"
- android:textColor="@color/black" />
- <View
- android:layout_width="1dp"
- android:layout_height="match_parent"
- android:background="@color/black" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="horizontal"
- android:layout_weight="0.25" >
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <com.github.gcacace.signaturepad.views.SignaturePad
- android:id="@+id/spSignImage"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_margin="16dp"
- app:penColor="@color/black" />
- <!-- <com.github.chrisbanes.photoview.PhotoView-->
- <!-- android:id="@+id/ivSignImage"-->
- <!-- android:layout_width="match_parent"-->
- <!-- android:layout_height="match_parent"-->
- <!-- android:layout_margin="16dp"/>-->
- <LinearLayout
- android:id="@+id/startSignLayout"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
- </RelativeLayout>
- </LinearLayout>
- </LinearLayout>
- </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/btnCancel"
- 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/cancel"
- android:textColor="@color/white"
- android:textSize="16sp"
- android:background="@drawable/shape2" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- </RelativeLayout>
|