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_visit_right.xml | 94 +++++++++++++++++++++++++++++++++++++---------
1 files changed, 75 insertions(+), 19 deletions(-)
diff --git a/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_visit_right.xml b/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_visit_right.xml
index 426e592..fb92f35 100644
--- a/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_visit_right.xml
+++ b/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_visit_right.xml
@@ -10,25 +10,81 @@
android:layout_centerHorizontal="true"
android:layout_marginTop="20dp"
android:orientation="horizontal">
- <com.facebook.drawee.view.SimpleDraweeView
- android:id="@+id/fragment_visit_right_head_photo"
- android:layout_width="197dp"
- android:layout_height="197dp"
- android:background="@android:color/black"
- fresco:placeholderImageScaleType="fitXY"
- />
- <com.facebook.drawee.view.SimpleDraweeView
- android:id="@+id/fragment_visit_right_card_photo"
- android:layout_width="330dp"
- android:layout_height="210dp"
- fresco:placeholderImageScaleType="fitXY"
- android:layout_marginLeft="79dp"
- fresco:roundedCornerRadius="20dp"
- fresco:roundTopLeft="true"
- fresco:roundTopRight="true"
- fresco:roundBottomLeft="true"
- fresco:roundBottomRight="true"
- />
+ <RelativeLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content">
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content">
+ <com.facebook.drawee.view.SimpleDraweeView
+ android:id="@+id/fragment_visit_right_head_photo"
+ android:layout_width="197dp"
+ android:layout_height="197dp"
+ fresco:roundedCornerRadius="5dp"
+ android:background="#07000000"
+ fresco:placeholderImageScaleType="fitXY"
+ />
+ <com.facebook.drawee.view.SimpleDraweeView
+ android:id="@+id/fragment_visit_right_card_photo"
+ android:layout_width="330dp"
+ android:layout_height="197dp"
+ fresco:placeholderImageScaleType="fitXY"
+ android:layout_marginLeft="79dp"
+ fresco:roundedCornerRadius="5dp"
+ fresco:roundTopLeft="true"
+ fresco:roundTopRight="true"
+ fresco:roundBottomLeft="true"
+ fresco:roundBottomRight="true"
+ />
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content">
+ <com.facebook.drawee.view.SimpleDraweeView
+ android:id="@+id/fragment_visit_right_head_photo_placeholder_image"
+ android:layout_width="197dp"
+ android:layout_height="197dp"
+ fresco:roundedCornerRadius="5dp"
+ android:alpha="0.35"
+ android:background="@drawable/u45"
+ />
+ <com.facebook.drawee.view.SimpleDraweeView
+ android:id="@+id/fragment_visit_right_card_photo_placeholder_image"
+ android:layout_height="197dp"
+ fresco:placeholderImageScaleType="fitXY"
+ android:layout_marginLeft="79dp"
+ fresco:roundedCornerRadius="5dp"
+ android:background="#07000000"
+ fresco:roundTopLeft="true"
+ fresco:roundTopRight="true"
+ fresco:roundBottomLeft="true"
+ fresco:roundBottomRight="true"
+ android:layout_width="330dp" />
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content">
+ <TextView
+ android:id="@+id/fragment_visit_right_head_photo_placeholder_text_view"
+ android:layout_width="197dp"
+ android:layout_height="197dp"
+ android:background="#07000000"
+ android:src="@drawable/u45"
+ android:visibility="invisible"
+ />
+ <TextView
+ android:id="@+id/fragment_visit_right_card_photo_placeholder_text_view"
+ android:layout_width="330dp"
+ android:layout_height="197dp"
+ android:layout_marginLeft="79dp"
+ android:text="璇佷欢鐓�"
+ android:gravity="center"
+ android:layout_gravity="center"
+ android:textSize="@dimen/text_size_navigation"
+ android:background="#00000000"
+ />
+ </LinearLayout>
+ </RelativeLayout>
</LinearLayout>
<ScrollView
android:layout_width="match_parent"
--
Gitblit v1.8.0