Browse Source

draft 备份

FANGLH 9 years ago
parent
commit
b92ea63064

+ 2 - 2
WeiChat/src/main/res/layout/activity_workdaily_detail.xml

@@ -158,7 +158,7 @@
                     android:layout_height="wrap_content"
                     android:orientation="vertical"
                     android:background="#f6f5f5"
-                    android:visibility="visible">
+                    android:visibility="gone">
                 <TextView
                     android:layout_width="match_parent"
                     android:layout_height="wrap_content"
@@ -212,7 +212,7 @@
                     android:layout_width="match_parent"
                     android:layout_height="5dp"
                     android:background="#EBE9E9"
-                    android:layout_marginTop="2dp"
+                    android:layout_marginTop="5dp"
                     android:visibility="visible"/>
 
                 <com.xzjmyk.pm.activity.view.MyListView

+ 17 - 12
WeiChat/src/main/res/layout/item_daily_details_approval_flow.xml

@@ -4,18 +4,23 @@
     android:layout_height="match_parent"
     android:orientation="vertical"
     >
+        <LinearLayout
+            android:id="@+id/node_ll"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:gravity="center"
+            android:layout_marginLeft="20dp"
+            android:layout_marginTop="20dp">
+            <ImageView
+                android:id="@+id/item_daily_details_approval_flow_node_img"
+                android:layout_width="15dp"
+                android:layout_height="15dp"
+                android:background="@drawable/node_wait3"
+                android:contentDescription="@string/app_name"
+                />
 
+        </LinearLayout>
 
-         <ImageView
-            android:id="@+id/item_daily_details_approval_flow_node_img"
-            android:layout_width="15dp"
-            android:layout_height="15dp"
-            android:background="@drawable/node_wait3"
-            android:contentDescription="@string/app_name"
-            android:layout_marginLeft="20px"
-             android:layout_marginTop="20dp"
-
-             />
 
         <ImageView
             android:id="@+id/item_daily_details_approval_flow_photo_img"
@@ -23,8 +28,8 @@
             android:layout_height="40dp"
             android:background="@drawable/avatar_normal"
             android:contentDescription="@string/app_name"
-            android:layout_marginLeft="5dp"
-            android:layout_toRightOf="@id/item_daily_details_approval_flow_node_img"
+            android:layout_marginLeft="15dp"
+            android:layout_toRightOf="@id/node_ll"
             android:layout_marginTop="10dp"
             android:layout_marginBottom="10dp" />
 

+ 7 - 6
WeiChat/src/main/res/layout/item_daily_details_task.xml

@@ -1,18 +1,19 @@
 <?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
     android:background="#f6f5f5"
-    android:layout_marginLeft="20dp"
-    android:layout_marginRight="20dp">
+    android:orientation="vertical">
 
     <TextView
         android:id="@+id/item_daily_details_task_title_tv"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
+        android:layout_marginLeft="25dp"
+        android:layout_marginRight="20dp"
         android:layout_marginTop="5dp"
-        android:layout_marginBottom="3dp"
-        android:text="新日报,日报列表界面的重写,日报详情的显示。"
+        android:layout_marginBottom="5dp"
+        android:text="新日报,日报列表界面的重写,日报详情的显示。"
         android:textSize="15sp"
         />
 
@@ -29,4 +30,4 @@
         android:visibility="gone"
         />
 
-</RelativeLayout>
+</LinearLayout>