|
|
@@ -1,113 +1,126 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:background="@drawable/bg_main"
|
|
|
- android:orientation="vertical"
|
|
|
+ android:background="@color/oa_main"
|
|
|
tools:context="com.xzjmyk.pm.activity.ui.erp.activity.oa.OutSigninOKActivity">
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:id="@+id/top_tag"
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:background="@color/white"
|
|
|
- android:padding="10dp">
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/time_tag"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:drawableLeft="@drawable/outoffice_time"
|
|
|
- android:text="签到时间:"
|
|
|
- android:textSize="@dimen/text_main" />
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:paddingLeft="10dp"
|
|
|
+ android:paddingRight="10dp">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/time_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignBottom="@id/time_tag"
|
|
|
- android:layout_toRightOf="@id/time_tag" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/com_tag"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:drawableLeft="@drawable/outffice_com"
|
|
|
+ android:text="当前企业:"
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/addr_tag"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_below="@+id/time_tag"
|
|
|
- android:layout_marginTop="5dp"
|
|
|
- android:drawableLeft="@drawable/outffice_addr"
|
|
|
- android:text="签到地点:"
|
|
|
- android:textSize="@dimen/text_main" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/addr_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/com_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignBottom="@+id/com_tag"
|
|
|
+ android:layout_toRightOf="@+id/com_tag"
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/top_tag"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_alignBottom="@id/addr_tag"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:padding="10dp">
|
|
|
|
|
|
- android:layout_toRightOf="@+id/addr_tag"
|
|
|
- android:maxLines="2" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/time_tag"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:drawableLeft="@drawable/outoffice_time"
|
|
|
+ android:text="签到时间:"
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/com_tag"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_below="@id/addr_tag"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:drawableLeft="@drawable/outffice_com"
|
|
|
- android:text="当前企业:"
|
|
|
- android:textSize="@dimen/text_main" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/time_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignBottom="@id/time_tag"
|
|
|
+ android:layout_toRightOf="@id/time_tag" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/com_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignBottom="@+id/com_tag"
|
|
|
- android:layout_toRightOf="@+id/com_tag"
|
|
|
- android:textSize="@dimen/text_main" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/addr_tag"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/time_tag"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:drawableLeft="@drawable/outffice_addr"
|
|
|
+ android:text="签到地点:"
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
|
|
|
- </RelativeLayout>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/addr_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignTop="@id/addr_tag"
|
|
|
+ android:layout_toRightOf="@+id/addr_tag"
|
|
|
+ android:maxLines="2" />
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:background="@color/item_line" />
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="20dp" />
|
|
|
|
|
|
- <EditText
|
|
|
- android:id="@+id/text_edit"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_below="@+id/top_tag"
|
|
|
- android:background="@drawable/full_edit_bg"
|
|
|
- android:gravity="top"
|
|
|
- android:hint="请填写备注(不超过100个字)"
|
|
|
- android:inputType="textMultiLine"
|
|
|
- android:minHeight="150dp"
|
|
|
- android:padding="10dp"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textColorHint="@color/grey"
|
|
|
- android:textSize="16sp" />
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:background="@color/item_line" />
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="10dp">
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:background="@color/white"
|
|
|
- android:padding="10dp">
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/text_edit"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@null"
|
|
|
+ android:gravity="top"
|
|
|
+ android:hint="请填写备注(不超过100个字)"
|
|
|
+ android:inputType="textMultiLine"
|
|
|
+ android:minLines="4"
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:src="@drawable/picture" />
|
|
|
+ </RelativeLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/exit_btn"
|
|
|
+ <com.xzjmyk.pm.activity.view.MyListView
|
|
|
+ android:id="@+id/listview"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
- android:layout_margin="50dp"
|
|
|
- android:background="@drawable/bg_btn"
|
|
|
- android:text="提交签到"
|
|
|
- android:textColor="@color/white" />
|
|
|
- </RelativeLayout>
|
|
|
-</LinearLayout>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:divider="@color/item_line"
|
|
|
+ android:dividerHeight="2px" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+</ScrollView>
|