From b8cb20f802a0aae906a33e2357050219fbe1aaf3 Mon Sep 17 00:00:00 2001
From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期五, 21 四月 2017 11:41:04 +0800
Subject: [PATCH]
---
VisitFace/DemoForBsk/app/src/main/res/layout/fragment_attendance_right.xml | 35 ++++++++++++++++++++++++++++++-----
1 files changed, 30 insertions(+), 5 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 3c5a289..885b664 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
@@ -12,11 +12,36 @@
android:layout_gravity="center_horizontal"
android:gravity="center_vertical"
android:orientation="horizontal">
- <com.facebook.drawee.view.SimpleDraweeView
- android:id="@+id/fragment_attendance_right_photo"
- android:layout_width="197dp"
- android:layout_height="197dp"
- fresco:placeholderImageScaleType="fitXY"/>
+ <RelativeLayout
+ android:layout_width="wrap_content"
+ 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"
+ 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:alpha="0.35"
+ fresco:roundedCornerRadius="5dp"
+ 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="#00000000"
+ android:alpha="0.35"
+ android:text="浜哄憳澶村儚"
+ android:gravity="center"
+ />
+ </RelativeLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
--
Gitblit v1.8.0