DroidFS/app/src/main/res/layout/explorer_info_bar.xml

47 lines
2.0 KiB
XML
Raw Normal View History

2020-07-17 16:35:39 +02:00
<?xml version="1.0" encoding="utf-8"?>
2021-03-09 19:10:15 +01:00
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
2020-07-17 16:35:39 +02:00
android:layout_width="match_parent"
2022-04-09 15:09:14 +02:00
android:layout_height="50dp"
2021-03-09 19:10:15 +01:00
xmlns:app="http://schemas.android.com/apk/res-auto"
2021-11-09 11:12:09 +01:00
android:background="?attr/infoBarBackgroundColor"
2022-04-09 15:09:14 +02:00
android:paddingHorizontal="20dp">
2020-07-17 16:35:39 +02:00
<TextView
android:id="@+id/current_path_text"
2022-04-09 15:09:14 +02:00
android:layout_width="wrap_content"
2020-07-17 16:35:39 +02:00
android:layout_height="wrap_content"
2021-03-09 19:10:15 +01:00
style="@style/infoBarTextView"
2022-04-09 15:09:14 +02:00
android:singleLine="true"
android:ellipsize="start"
app:layout_constraintHorizontal_chainStyle="packed"
app:layout_constraintHorizontal_bias="0"
app:layout_constrainedWidth="true"
2021-03-09 19:10:15 +01:00
app:layout_constraintTop_toTopOf="parent"
2022-04-09 15:09:14 +02:00
app:layout_constraintBottom_toBottomOf="parent"
2021-03-09 19:10:15 +01:00
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toStartOf="@id/total_size_text"/>
2020-07-17 16:35:39 +02:00
<TextView
android:id="@+id/total_size_text"
2022-04-09 15:09:14 +02:00
android:layout_width="wrap_content"
2020-07-17 16:35:39 +02:00
android:layout_height="wrap_content"
2021-03-09 19:10:15 +01:00
style="@style/infoBarTextView"
android:text="@string/default_total_size"
2022-04-09 15:09:14 +02:00
android:layout_marginHorizontal="20dp"
2021-03-09 19:10:15 +01:00
app:layout_constraintTop_toTopOf="parent"
2022-04-09 15:09:14 +02:00
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@id/current_path_text"
app:layout_constraintEnd_toStartOf="@id/layout_icon"/>
<ImageButton
android:id="@+id/layout_icon"
android:layout_width="30dp"
android:layout_height="30dp"
android:src="@drawable/icon_view_grid"
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/switch_display_layout"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"/>
2020-07-17 16:35:39 +02:00
2021-03-09 19:10:15 +01:00
</androidx.constraintlayout.widget.ConstraintLayout>