|
95 | 95 | app:layout_constraintTop_toBottomOf="@id/Filename" |
96 | 96 | tools:text="Mod Date" /> |
97 | 97 |
|
98 | | - <ImageView |
99 | | - android:id="@+id/file_space_icon" |
100 | | - android:layout_width="16dp" |
101 | | - android:layout_height="16dp" |
102 | | - android:src="@drawable/ic_spaces" |
103 | | - android:visibility="gone" |
104 | | - app:layout_constraintBottom_toBottomOf="parent" |
105 | | - app:layout_constraintStart_toStartOf="@+id/Filename" |
106 | | - app:layout_constraintTop_toBottomOf="@+id/file_list_size" |
107 | | - app:tint="@color/list_item_lastmod_and_filesize_text" |
108 | | - tools:visibility="visible" /> |
109 | | - |
110 | | - <TextView |
111 | | - android:id="@+id/file_space_name" |
112 | | - android:layout_width="wrap_content" |
| 98 | + <include |
| 99 | + android:id="@+id/space_path_line" |
| 100 | + layout="@layout/space_path_line" |
| 101 | + android:layout_width="0dp" |
113 | 102 | android:layout_height="wrap_content" |
114 | | - android:layout_marginStart="2dp" |
115 | | - android:layout_marginEnd="@dimen/standard_half_margin" |
116 | | - android:paddingEnd="@dimen/standard_half_padding" |
117 | | - android:ellipsize="middle" |
118 | | - android:maxWidth="100dp" |
119 | | - android:singleLine="true" |
120 | | - android:textColor="@color/list_item_lastmod_and_filesize_text" |
121 | | - android:textSize="@dimen/two_line_secondary_text_size" |
122 | | - android:textStyle="bold" |
123 | | - android:visibility="gone" |
124 | | - app:layout_constraintStart_toEndOf="@id/file_space_icon" |
125 | | - app:layout_constraintTop_toBottomOf="@+id/file_list_size" |
126 | | - tools:text="Space name" |
127 | | - tools:visibility="visible" /> |
| 103 | + app:layout_constraintStart_toStartOf="@+id/Filename" |
| 104 | + app:layout_constraintTop_toBottomOf="@+id/file_list_size" /> |
128 | 105 |
|
129 | | - <TextView |
130 | | - android:id="@+id/file_list_path" |
131 | | - android:layout_width="wrap_content" |
132 | | - android:layout_height="wrap_content" |
133 | | - android:ellipsize="middle" |
134 | | - android:singleLine="true" |
135 | | - android:textColor="@color/list_item_lastmod_and_filesize_text" |
136 | | - android:textSize="@dimen/two_line_secondary_text_size" |
137 | | - android:visibility="gone" |
138 | | - app:layout_constraintStart_toEndOf="@+id/file_space_name" |
139 | | - app:layout_constraintTop_toBottomOf="@+id/file_list_size" |
140 | | - tools:text="/path/to/file" |
141 | | - tools:visibility="visible"/> |
142 | 106 | </androidx.constraintlayout.widget.ConstraintLayout> |
143 | 107 |
|
144 | 108 | <androidx.constraintlayout.widget.ConstraintLayout |
|
0 commit comments