From 5f6f6485349c6c2b4d046f4307a8b8c8b251bdc1 Mon Sep 17 00:00:00 2001
From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期三, 03 五月 2017 10:07:13 +0800
Subject: [PATCH] 

---
 VisitFace/DemoForBsk/app/src/main/res/layout/fragment_attendance_right.xml |   46 ++++++++++++++++++++++++++++------------------
 1 files changed, 28 insertions(+), 18 deletions(-)

diff --git a/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_attendance_right.xml b/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_attendance_right.xml
index d5b9664..6340df2 100644
--- a/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_attendance_right.xml
+++ b/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_attendance_right.xml
@@ -8,7 +8,7 @@
     <LinearLayout
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
-        android:layout_marginTop="39dp"
+        android:layout_marginTop="@dimen/h39dp"
         android:layout_gravity="center_horizontal"
         android:gravity="center_vertical"
         android:orientation="horizontal">
@@ -17,17 +17,27 @@
             android:layout_height="wrap_content">
             <com.facebook.drawee.view.SimpleDraweeView
                 android:id="@+id/fragment_attendance_right_photo"
-                android:layout_width="197dp"
-                android:layout_height="197dp"
-                fresco:roundedCornerRadius="5dp"
+                android:layout_width="@dimen/w197dp"
+                android:layout_height="@dimen/h197dp"
+                fresco:roundedCornerRadius="@dimen/w5dp"
+                fresco:placeholderImageScaleType="fitXY"
+                android:background="@null"
+                />
+            <com.facebook.drawee.view.SimpleDraweeView
+                android:id="@+id/fragment_attendance_right_photo_placeholder_image"
+                android:layout_width="@dimen/w197dp"
+                android:layout_height="@dimen/h197dp"
+                android:alpha="0.35"
+                fresco:roundedCornerRadius="@dimen/w5dp"
                 fresco:placeholderImageScaleType="fitXY"
                 android:background="@drawable/normal_choose_bcg"
                 />
             <TextView
                 android:id="@+id/fragment_attendance_right_photo_placeholder_text_view"
-                android:layout_width="197dp"
-                android:layout_height="197dp"
-                android:background="#07000000"
+                android:layout_width="@dimen/w197dp"
+                android:layout_height="@dimen/h197dp"
+                android:background="#00000000"
+                android:alpha="0.35"
                 android:text="浜哄憳澶村儚"
                 android:gravity="center"
                 />
@@ -35,7 +45,7 @@
         <LinearLayout
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
-            android:layout_marginLeft="76dp"
+            android:layout_marginLeft="@dimen/w76dp"
             android:orientation="vertical">
             <LinearLayout
                 android:layout_width="wrap_content"
@@ -58,7 +68,7 @@
             <LinearLayout
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
-                android:layout_marginTop="20dp"
+                android:layout_marginTop="@dimen/h20dp"
                 android:orientation="horizontal">
                 <TextView
                     android:layout_width="wrap_content"
@@ -77,7 +87,7 @@
             <LinearLayout
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
-                android:layout_marginTop="20dp"
+                android:layout_marginTop="@dimen/h20dp"
                 android:orientation="horizontal">
                 <TextView
                     android:layout_width="wrap_content"
@@ -96,7 +106,7 @@
             <LinearLayout
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
-                android:layout_marginTop="20dp"
+                android:layout_marginTop="@dimen/h20dp"
                 android:orientation="horizontal">
                 <TextView
                     android:layout_width="wrap_content"
@@ -115,7 +125,7 @@
             <LinearLayout
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
-                android:layout_marginTop="20dp"
+                android:layout_marginTop="@dimen/h20dp"
                 android:orientation="horizontal">
                 <TextView
                     android:layout_width="wrap_content"
@@ -136,15 +146,15 @@
     <RelativeLayout
         android:layout_width="match_parent"
         android:layout_height="match_parent"
-        android:layout_marginTop="30dp">
+        android:layout_marginTop="@dimen/h30dp">
         <LinearLayout
             android:id="@+id/attendance_bottom_title_ll"
             android:layout_width="wrap_content"
-            android:layout_height="40dp"
+            android:layout_height="@dimen/h40dp"
             android:orientation="horizontal"
             android:layout_centerHorizontal="true">
             <TextView
-                android:layout_width="120dp"
+                android:layout_width="@dimen/w120dp"
                 android:layout_height="match_parent"
                 android:textSize="@dimen/text_size_big"
                 android:textColor="@color/colorPrimary"
@@ -152,7 +162,7 @@
                 android:textStyle="bold"
                 android:text="@string/number"/>
             <TextView
-                android:layout_width="240dp"
+                android:layout_width="@dimen/w240dp"
                 android:layout_height="match_parent"
                 android:textSize="@dimen/text_size_big"
                 android:textColor="@color/colorPrimary"
@@ -160,7 +170,7 @@
                 android:textStyle="bold"
                 android:text="@string/attendance_time"/>
             <TextView
-                android:layout_width="240dp"
+                android:layout_width="@dimen/w240dp"
                 android:layout_height="match_parent"
                 android:textSize="@dimen/text_size_big"
                 android:textColor="@color/colorPrimary"
@@ -168,7 +178,7 @@
                 android:textStyle="bold"
                 android:text="@string/attendance_address"/>
             <TextView
-                android:layout_width="120dp"
+                android:layout_width="@dimen/w120dp"
                 android:layout_height="match_parent"
                 android:textSize="@dimen/text_size_big"
                 android:textColor="@color/colorPrimary"

--
Gitblit v1.8.0