huyuguo 5 年 前
コミット
37102de79d
共有2 個のファイルを変更した12 個の追加11 個の削除を含む
  1. 2 2
      app/src/main/res/layout/fragment_chat_content_pictures.xml
  2. 10 9
      app/src/main/res/layout/fragment_chat_photo.xml

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

63
            android:textColor="#ffffff"
63
            android:textColor="#ffffff"
64
            android:textSize="16dp"
64
            android:textSize="16dp"
65
            app:layout_constraintBottom_toBottomOf="parent"
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
            app:layout_constraintTop_toTopOf="parent"
68
            app:layout_constraintTop_toTopOf="parent"
69
            tools:text="1/4" />
69
            tools:text="1/4" />
70
70

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

6
    android:layout_height="match_parent">
6
    android:layout_height="match_parent">
7
7
8
    <uk.co.senab.photoview.PhotoView
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
    <!--<ImageView-->
20
    <!--<ImageView-->
20
        <!--android:id="@+id/photoView"-->
21
        <!--android:id="@+id/photoView"-->