fragment_image.xml
2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?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>