|
35 | 35 | android:visibility="gone" |
36 | 36 | app:corners="8" /> |
37 | 37 |
|
38 | | - <com.google.android.material.textview.MaterialTextView |
39 | | - android:id="@+id/filename" |
| 38 | + <LinearLayout |
| 39 | + android:layout_width="0dp" |
| 40 | + android:layout_height="wrap_content" |
40 | 41 | android:layout_marginStart="@dimen/standard_margin" |
41 | | - app:layout_constraintStart_toEndOf="@+id/thumbnail" |
42 | | - app:layout_constraintTop_toTopOf="parent" |
43 | 42 | app:layout_constraintBottom_toBottomOf="parent" |
44 | | - android:ellipsize="middle" |
45 | | - android:singleLine="true" |
46 | | - android:textColor="@color/text_color" |
47 | | - android:textSize="@dimen/two_line_primary_text_size" |
48 | | - tools:text="@string/placeholder_filename" |
49 | | - android:layout_width="wrap_content" |
50 | | - android:layout_height="wrap_content"/> |
| 43 | + app:layout_constraintEnd_toStartOf="@id/more" |
| 44 | + app:layout_constraintStart_toEndOf="@+id/thumbnail" |
| 45 | + app:layout_constraintTop_toTopOf="parent"> |
51 | 46 |
|
52 | | - <com.google.android.material.textview.MaterialTextView |
53 | | - android:id="@+id/extension" |
54 | | - app:layout_constraintTop_toTopOf="parent" |
55 | | - app:layout_constraintStart_toEndOf="@+id/filename" |
56 | | - app:layout_constraintBottom_toBottomOf="parent" |
57 | | - android:ellipsize="middle" |
58 | | - android:singleLine="true" |
59 | | - android:textColor="@color/text_color" |
60 | | - android:textSize="@dimen/two_line_primary_text_size" |
61 | | - tools:text="@string/placeholder_extension" |
62 | | - android:layout_width="wrap_content" |
63 | | - android:layout_height="wrap_content"/> |
| 47 | + <com.google.android.material.textview.MaterialTextView |
| 48 | + android:id="@+id/filename" |
| 49 | + android:layout_width="wrap_content" |
| 50 | + android:layout_height="wrap_content" |
| 51 | + android:ellipsize="middle" |
| 52 | + android:singleLine="true" |
| 53 | + android:textColor="@color/text_color" |
| 54 | + android:textSize="@dimen/two_line_primary_text_size" |
| 55 | + tools:text="@string/placeholder_filename" /> |
| 56 | + |
| 57 | + <com.google.android.material.textview.MaterialTextView |
| 58 | + android:id="@+id/extension" |
| 59 | + android:layout_width="wrap_content" |
| 60 | + android:layout_height="wrap_content" |
| 61 | + android:ellipsize="middle" |
| 62 | + android:singleLine="true" |
| 63 | + android:textColor="@color/text_color" |
| 64 | + android:textSize="@dimen/two_line_primary_text_size" |
| 65 | + tools:text="@string/placeholder_extension" /> |
| 66 | + |
| 67 | + </LinearLayout> |
64 | 68 |
|
65 | 69 | <ImageButton |
66 | 70 | android:id="@+id/more" |
|
0 commit comments