|
154 | 154 | app:layout_constraintEnd_toEndOf="parent" |
155 | 155 | app:layout_constraintTop_toBottomOf="@id/fdProgressText" /> |
156 | 156 |
|
| 157 | + <View |
| 158 | + android:id="@+id/view_file_detail_separator" |
| 159 | + android:layout_width="0dp" |
| 160 | + android:layout_height="1dp" |
| 161 | + android:layout_marginTop="@dimen/standard_padding" |
| 162 | + android:alpha="0.8" |
| 163 | + android:background="@color/owncloud_blue" |
| 164 | + app:layout_constraintLeft_toLeftOf="parent" |
| 165 | + app:layout_constraintRight_toRightOf="parent" |
| 166 | + app:layout_constraintTop_toBottomOf="@id/fdProgressBar" /> |
| 167 | + |
| 168 | + <Button |
| 169 | + android:id="@+id/button_file_detail_download" |
| 170 | + style="@style/Button.FileDetail" |
| 171 | + android:layout_width="0dp" |
| 172 | + android:layout_height="wrap_content" |
| 173 | + android:drawableStart="@drawable/ic_cloud_download" |
| 174 | + android:text="@string/filedetails_download" |
| 175 | + app:layout_constraintLeft_toLeftOf="parent" |
| 176 | + app:layout_constraintTop_toBottomOf="@id/view_file_detail_separator" /> |
| 177 | + |
| 178 | + <Button |
| 179 | + android:id="@+id/button_file_detail_open_with" |
| 180 | + style="@style/Button.FileDetail" |
| 181 | + android:layout_width="0dp" |
| 182 | + android:layout_height="wrap_content" |
| 183 | + android:drawableStart="@drawable/ic_share" |
| 184 | + android:text="@string/filedetails_open_with" |
| 185 | + app:layout_constraintLeft_toLeftOf="parent" |
| 186 | + app:layout_constraintTop_toBottomOf="@id/button_file_detail_download" /> |
| 187 | + |
| 188 | + <Button |
| 189 | + android:id="@+id/button_file_detail_open_send" |
| 190 | + style="@style/Button.FileDetail" |
| 191 | + android:layout_width="0dp" |
| 192 | + android:layout_height="wrap_content" |
| 193 | + android:drawableStart="@drawable/ic_send" |
| 194 | + android:text="@string/filedetails_send" |
| 195 | + app:layout_constraintLeft_toLeftOf="parent" |
| 196 | + app:layout_constraintTop_toBottomOf="@id/button_file_detail_open_with" |
| 197 | + app:layout_constraintRight_toLeftOf="@id/barrier"/> |
| 198 | + |
| 199 | + <androidx.constraintlayout.widget.Barrier |
| 200 | + android:id="@+id/barrier" |
| 201 | + android:layout_width="wrap_content" |
| 202 | + android:layout_height="wrap_content" |
| 203 | + app:barrierDirection="end" |
| 204 | + app:constraint_referenced_ids="button_file_detail_download,button_file_detail_open_with" /> |
| 205 | + |
157 | 206 | </androidx.constraintlayout.widget.ConstraintLayout> |
158 | 207 |
|
159 | 208 | </ScrollView> |
0 commit comments