From 54ee6e00def90552c41588c74f436fd0d181eae3 Mon Sep 17 00:00:00 2001
From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期二, 02 五月 2017 18:09:01 +0800
Subject: [PATCH] 

---
 VisitFace/DemoForBsk/app/src/main/res/layout/fragment_attendance_right.xml |   40 ++++++++++++++++++++--------------------
 1 files changed, 20 insertions(+), 20 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 885b664..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,25 +17,25 @@
             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="197dp"
-                android:layout_height="197dp"
+                android:layout_width="@dimen/w197dp"
+                android:layout_height="@dimen/h197dp"
                 android:alpha="0.35"
-                fresco:roundedCornerRadius="5dp"
+                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:layout_width="@dimen/w197dp"
+                android:layout_height="@dimen/h197dp"
                 android:background="#00000000"
                 android:alpha="0.35"
                 android:text="浜哄憳澶村儚"
@@ -45,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"
@@ -68,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"
@@ -87,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"
@@ -106,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"
@@ -125,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"
@@ -146,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"
@@ -162,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"
@@ -170,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"
@@ -178,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