xuxiuxi
2017-05-03 1cbe3da23535a1111510a6fce6fe24fd2983bfd1


git-svn-id: http://192.168.1.226/svn/proxy@590 454eff88-639b-444f-9e54-f578c98de674
3个文件已修改
41 ■■■■ 已修改文件
VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/adapter/SurveillanceFragment.java 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
VisitFace/DemoForBsk/app/src/main/res/layout/fragment_surveillance_bottom_attendance_cell.xml 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
VisitFace/DemoForBsk/app/src/main/res/layout/fragment_surveillance_bottom_visitor_cell.xml 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/adapter/SurveillanceFragment.java
@@ -67,8 +67,8 @@
            RelativeLayout mLayout = holder.findViewById(R.id.fragment_home_bottom_register_cell_relative_layout);
            ViewGroup.LayoutParams layoutParams = mLayout.getLayoutParams();
            layoutParams.height = (int)MainActivity.getInstance().getResources().getDimension(R.dimen.h127dp);//WindowsUtil.dip2px(context, 127);
            layoutParams.width = (int)MainActivity.getInstance().getResources().getDimension(R.dimen.h122dp);//WindowsUtil.dip2px(context, 122);
            layoutParams.height = (int)MainActivity.getInstance().getResources().getDimension(R.dimen.h127dp);
            layoutParams.width = (int)MainActivity.getInstance().getResources().getDimension(R.dimen.h122dp);
            mLayout.setLayoutParams(layoutParams);
            final Object data = this.getItem(position);
@@ -110,8 +110,8 @@
            RelativeLayout mLayout = holder.findViewById(R.id.fragment_supervisory_bottom_visitor_cell_relative_layout);
            ViewGroup.LayoutParams layoutParams = mLayout.getLayoutParams();
            layoutParams.height = WindowsUtil.dip2px(context, 127);
            layoutParams.width = WindowsUtil.dip2px(context, 122);
            layoutParams.height = (int)MainActivity.getInstance().getResources().getDimension(R.dimen.h127dp);
            layoutParams.width = (int)MainActivity.getInstance().getResources().getDimension(R.dimen.h122dp);
            mLayout.setLayoutParams(layoutParams);
            ImageView fragment_home_bottom_visitor_cell_photo = (ImageView) mLayout.findViewById(R.id.fragment_home_bottom_visitor_cell_photo);
@@ -172,9 +172,9 @@
                        @Override
                        public void onClick(View view) {
                            MainActivity.selectPage(Constant.TabType.CHECK_IN);
                            cn.com.basic.face.fragment.CheckInFragment.getInstance().
                                    getFragment_check_in_right_visitor_cell()
                                    .setVisitorInfo(getVo(item));
//                            cn.com.basic.face.fragment.CheckInFragment.getInstance().
//                                    getFragment_check_in_right_visitor_cell()
//                                    .setVisitorInfo(getVo(item));
                            if (item.getBitmap() != null && (item.getImagePath() == null || "".equals(item.getImagePath()))) {
                                cn.com.basic.face.fragment.CheckInFragment.getInstance().
                                        getFragment_check_in_right_visitor_cell().setPhoto(item.getBitmap());
@@ -216,8 +216,8 @@
        public void onBindRecycleViewHolder(EasyRecyclerViewHolder viewHolder, int position) {
            RelativeLayout mLayout = viewHolder.findViewById(R.id.fragment_supervisory_bottom_attendance_cell_relative_layout);
            ViewGroup.LayoutParams layoutParams = mLayout.getLayoutParams();
            layoutParams.height = WindowsUtil.dip2px(context, 127);
            layoutParams.width = WindowsUtil.dip2px(context, 122);
            layoutParams.height = (int)MainActivity.getInstance().getResources().getDimension(R.dimen.h127dp);
            layoutParams.width = (int)MainActivity.getInstance().getResources().getDimension(R.dimen.h122dp);
            mLayout.setLayoutParams(layoutParams);
            ImageView fragment_home_bottom_attendance_cell_photo = (ImageView) mLayout.findViewById(R.id.fragment_home_bottom_attendance_cell_photo);
VisitFace/DemoForBsk/app/src/main/res/layout/fragment_surveillance_bottom_attendance_cell.xml
@@ -13,6 +13,9 @@
        fresco:roundedCornerRadius="@dimen/w5dp"
        android:layout_alignParentBottom="true"
        android:scaleType="centerCrop"
        android:paddingTop="@dimen/h15dp"
        android:paddingRight="@dimen/w5dp"
        android:paddingLeft="@dimen/w5dp"
        />
    <LinearLayout
        android:layout_width="match_parent"
@@ -26,7 +29,7 @@
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:text=""
            android:textSize="@dimen/text_size_small"
            android:textSize="@dimen/w12dp"
            android:gravity="center"
            android:textColor="@android:color/white"/>
        <View
@@ -38,8 +41,8 @@
            android:layout_width="@dimen/view_size_0"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:text="来访登记"
            android:textSize="@dimen/text_size_small"
            android:text="签到"
            android:textSize="@dimen/w12dp"
            android:gravity="center"
            android:textColor="@android:color/white"
            android:background="#00000000"
VisitFace/DemoForBsk/app/src/main/res/layout/fragment_surveillance_bottom_visitor_cell.xml
@@ -5,7 +5,6 @@
    android:layout_height="wrap_content"
    xmlns:fresco="http://schemas.android.com/apk/res-auto"
    >
    <com.facebook.drawee.view.SimpleDraweeView
        android:id="@+id/fragment_home_bottom_visitor_cell_photo"
        android:layout_width="@dimen/w122dp"
@@ -21,12 +20,13 @@
        android:background="@color/colorRed"
        android:paddingRight="@dimen/w7dp"
        android:paddingLeft="@dimen/w10dp"
        android:paddingTop="2dp"
        android:paddingBottom="2dp"
        android:textSize="@dimen/text_size_big"
        android:paddingTop="@dimen/h2dp"
        android:paddingBottom="@dimen/h2dp"
        android:textSize="@dimen/w16dp"
        android:text="警报"
        android:textColor="@android:color/white"
        android:layout_alignParentRight="true"/>
        android:layout_alignParentRight="true"
        />
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="@dimen/h20dp"
@@ -39,7 +39,7 @@
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:text=""
            android:textSize="@dimen/text_size_small"
            android:textSize="@dimen/w12dp"
            android:gravity="center"
            android:textColor="@android:color/white"/>
        <View
@@ -52,7 +52,7 @@
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:text="来访登记"
            android:textSize="@dimen/text_size_small"
            android:textSize="@dimen/w12dp"
            android:gravity="center"
            android:textColor="@android:color/white"/>
    </LinearLayout>