From 4c284776611929ba0ae5ff6f133443195498d1df Mon Sep 17 00:00:00 2001 From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674> Date: 星期三, 12 七月 2017 17:03:36 +0800 Subject: [PATCH] up date native --- VisitFace/DemoForBsk/app/src/main/res/layout/fragment_visit_left_person_row.xml | 41 +++++++++++++++++++++++++---------------- 1 files changed, 25 insertions(+), 16 deletions(-) diff --git a/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_visit_left_person_row.xml b/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_visit_left_person_row.xml index 060c52f..3f288cf 100644 --- a/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_visit_left_person_row.xml +++ b/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_visit_left_person_row.xml @@ -3,50 +3,59 @@ android:orientation="vertical" android:layout_width="match_parent" android:background="@android:color/white" android:duplicateParentState="true" - android:layout_height="wrap_content"> + android:layout_height="wrap_content" + xmlns:fresco="http://schemas.android.com/apk/res-auto" + > <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingTop="15dp" - android:paddingBottom="15dp" - android:layout_marginLeft="24dp"> - <CheckBox + android:paddingTop="@dimen/h15dp" + android:paddingBottom="@dimen/h15dp" + android:layout_marginLeft="@dimen/w24dp" + android:id="@+id/fragment_visit_left_relative_layout" + > + <RadioButton android:id="@+id/fragment_visit_left_person_row_check_box" android:layout_centerVertical="true" - android:clickable="false" + android:clickable="true" android:layout_width="wrap_content" - android:layout_height="wrap_content" /> + android:layout_height="wrap_content" + android:textSize="@dimen/w14dp" + /> <TextView android:id="@+id/fragment_visit_left_person_row_name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_toRightOf="@id/fragment_visit_left_person_row_check_box" - android:layout_marginLeft="12dp" + android:layout_marginLeft="@dimen/w12dp" android:textColor="@color/colorText_5" android:text="" - android:textSize="@dimen/text_size_normal"/> - <ImageView + android:textSize="@dimen/w14dp"/> + <com.facebook.drawee.view.SimpleDraweeView android:id="@+id/fragment_visit_left_person_row_photo" - android:layout_width="30dp" - android:layout_height="15dp" + android:layout_width="@dimen/w36dp" + android:layout_height="@dimen/h36dp" + fresco:roundAsCircle = "true" android:layout_centerVertical="true" android:layout_alignParentRight="true" - android:src="@mipmap/ic_launcher"/> + + /> <TextView android:id="@+id/fragment_visit_left_person_row_status" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_toLeftOf="@id/fragment_visit_left_person_row_photo" - android:layout_marginRight="@dimen/view_size_10" + android:layout_marginRight="@dimen/w10dp" android:textColor="@color/colorText_5" android:text="" - android:textSize="@dimen/text_size_normal"/> + android:textSize="@dimen/w14dp"/> </RelativeLayout> <View + android:id="@+id/fragment_visit_left_line" android:layout_width="match_parent" android:layout_height="@dimen/view_size_1" - android:layout_marginLeft="24dp" + android:layout_marginLeft="@dimen/w24dp" android:background="@color/colorText_b"/> </LinearLayout> \ No newline at end of file -- Gitblit v1.8.0