xuxiuxi
2017-04-13 8b0a9e05b57ed2313954c23090e7eb69186d4cfb


git-svn-id: http://192.168.1.226/svn/proxy@444 454eff88-639b-444f-9e54-f578c98de674
3个文件已修改
110 ■■■■ 已修改文件
VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/fragment/VisitFragment.java 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
VisitFace/DemoForBsk/app/src/main/res/layout/fragment_register.xml 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
VisitFace/DemoForBsk/app/src/main/res/layout/fragment_visit_right.xml 95 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/fragment/VisitFragment.java
@@ -60,6 +60,14 @@
    private SimpleDraweeView fragment_visit_right_head_photo;
    @ViewInject(R.id.fragment_visit_right_card_photo)
    private SimpleDraweeView fragment_visit_right_card_photo;
    @ViewInject(R.id.fragment_visit_right_card_photo_placeholder_text_view)
    private TextView fragment_visit_right_card_photo_placeholder_text_view;
    @ViewInject(R.id.fragment_visit_right_head_photo_placeholder_image)
    private SimpleDraweeView fragment_visit_right_head_photo_placeholder_image;
    @ViewInject(R.id.fragment_visit_right_card_photo_placeholder_image)
    private SimpleDraweeView fragment_visit_right_card_photo_placeholder_image;
    @ViewInject(R.id.fragment_visit_right_head_photo_placeholder_text_view)
    private TextView fragment_visit_right_head_photo_placeholder_text_view;
    public int[] getLeftRightLayoutIds() {
        return new int[]{R.layout.fragment_visit_left, R.layout.fragment_visit_right};
@@ -113,6 +121,11 @@
        fragment_visit_right_exit_time.setText(item.getExitTime());
        fragment_visit_right_head_photo.setImageURI(AppApi.IMAGE_URL_BASE +item.getImagePath());
        fragment_visit_right_card_photo.setImageURI(AppApi.IMAGE_URL_BASE +item.getImagePath());
        fragment_visit_right_card_photo_placeholder_text_view.setVisibility(View.INVISIBLE);
        fragment_visit_right_head_photo_placeholder_text_view.setVisibility(View.INVISIBLE);
        fragment_visit_right_head_photo_placeholder_image.setVisibility(View.INVISIBLE);
        fragment_visit_right_card_photo_placeholder_image.setVisibility(View.INVISIBLE);
    }
}
VisitFace/DemoForBsk/app/src/main/res/layout/fragment_register.xml
@@ -14,8 +14,6 @@
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="vertical">
            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="50dp">
VisitFace/DemoForBsk/app/src/main/res/layout/fragment_visit_right.xml
@@ -10,25 +10,82 @@
        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="@drawable/u45"
                    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="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:background="#07000000"
                    android:src="@drawable/u45"
                    fresco:placeholderImageScaleType="fitXY"
                    />
                <com.facebook.drawee.view.SimpleDraweeView
                    android:id="@+id/fragment_visit_right_card_photo_placeholder_image"
                    android:layout_width="330dp"
                    android:layout_height="210dp"
                    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"
                    />
            </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"
                    />
                <TextView
                    android:id="@+id/fragment_visit_right_card_photo_placeholder_text_view"
                    android:layout_width="330dp"
                    android:layout_height="210dp"
                    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"