fragment_image.xml 2.12 KB
<?xml version="1.0" encoding="utf-8"?>
<com.wd.common.widget.photodrag.PhotoDragRelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/pdr_content"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <FrameLayout
        android:id="@+id/frame_layout_img"
        android:layout_width="match_parent"
        android:layout_height="match_parent">
        
        <ImageView
            android:id="@+id/img_pre"
            android:layout_width="@dimen/rmrb_dp167"
            android:layout_height="@dimen/rmrb_dp60"
            android:layout_gravity="center"/>


        <com.wd.common.widget.photoview.PhotoView
            android:id="@+id/photo_image_view"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:adjustViewBounds="true"
            android:scaleType="fitCenter"
            android:visibility="gone"/>

        <com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
            android:id="@+id/ssiv_image_view"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:visibility="gone" />

        <com.wd.common.widget.gifview.GifImageView
            android:id="@+id/gif_image_view"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:adjustViewBounds="true"
            android:scaleType="fitCenter"
            android:visibility="gone"/>
        
        <TextView
            android:id="@+id/tv_only_wifi"
            android:layout_width="match_parent"
            android:layout_height="@dimen/rmrb_dp286"
            android:background="@color/res_color_common_C1"
            android:layout_gravity="center"
            android:gravity="center"
            android:text="@string/res_only_wifi_look_image"
            android:textSize="@dimen/rmrb_dp14"
            android:textColor="@color/res_color_common_C6"
            android:visibility="gone"/>

    </FrameLayout>


</com.wd.common.widget.photodrag.PhotoDragRelativeLayout>