55
        Random random = new Random();
56
        for (int i=0;i<length;i++) {
57
            val += String.valueOf(random.nextInt(10));
58
        }
59
        return val;
60
    }
61

52 62

53 63
    public static String getPhone(Context context) {
54 64
        return ProfileManager.getInstance().getUsername(context);

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

@ -8,7 +8,7 @@
8 8
9 9
    <com.electric.chargingpile.iview.ChatPhotoViewPager
10 10
        android:id="@+id/photoPager"
11
        android:layout_width="match_parent"
11
        android:layout_width="0dp"
12 12
        android:layout_height="0dp"
13 13
        app:layout_constraintBottom_toTopOf="@+id/bottomView"
14 14
        app:layout_constraintLeft_toLeftOf="parent"

+ 1 - 1
app/src/main/res/layout/fragment_chat_photo.xml

@ -10,7 +10,7 @@
10 10
    android:layout_width="match_parent"
11 11
    android:layout_height="wrap_content"
12 12
    android:adjustViewBounds="true"
13
    android:scaleType="fitXY"
13
    android:scaleType="centerCrop"
14 14
    app:layout_constraintBottom_toBottomOf="parent"
15 15
    app:layout_constraintLeft_toLeftOf="parent"
16 16
    app:layout_constraintRight_toRightOf="parent"

Create test.txt · 02aa217d17 - Gogs: Go Git Service
Quellcode durchsuchen

Create test.txt

huyuguo vor 6 Jahren
Ursprung
Commit
02aa217d17
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      test.txt

+ 1 - 0
test.txt

@ -0,0 +1 @@
1
test