huyuguo vor 5 Jahren
Ursprung
Commit
37102de79d

+ 2 - 2
app/src/main/res/layout/fragment_chat_content_pictures.xml

@ -63,8 +63,8 @@
63 63
            android:textColor="#ffffff"
64 64
            android:textSize="16dp"
65 65
            app:layout_constraintBottom_toBottomOf="parent"
66
            app:layout_constraintLeft_toRightOf="@+id/backIcon"
67
            app:layout_constraintRight_toLeftOf="@+id/moreIcon"
66
            app:layout_constraintLeft_toLeftOf="parent"
67
            app:layout_constraintRight_toRightOf="parent"
68 68
            app:layout_constraintTop_toTopOf="parent"
69 69
            tools:text="1/4" />
70 70

+ 10 - 9
app/src/main/res/layout/fragment_chat_photo.xml

@ -6,15 +6,16 @@
6 6
    android:layout_height="match_parent">
7 7
8 8
    <uk.co.senab.photoview.PhotoView
9
    android:id="@+id/photoView"
10
    android:layout_width="match_parent"
11
    android:layout_height="wrap_content"
12
    android:adjustViewBounds="true"
13
    android:scaleType="centerCrop"
14
    app:layout_constraintBottom_toBottomOf="parent"
15
    app:layout_constraintLeft_toLeftOf="parent"
16
    app:layout_constraintRight_toRightOf="parent"
17
    app:layout_constraintTop_toTopOf="parent" />
9
        android:id="@+id/photoView"
10
        android:layout_width="match_parent"
11
        android:layout_height="match_parent"
12
        android:adjustViewBounds="true"
13
        android:scaleType="fitCenter"
14
        android:src="@drawable/photo_loading_icon"
15
        app:layout_constraintBottom_toBottomOf="parent"
16
        app:layout_constraintLeft_toLeftOf="parent"
17
        app:layout_constraintRight_toRightOf="parent"
18
        app:layout_constraintTop_toTopOf="parent" />
18 19
19 20
    <!--<ImageView-->
20 21
        <!--android:id="@+id/photoView"-->