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

88 lines
3.9 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"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2021-11-09 11:12:09 +01:00
android:background="?attr/infoBarBackgroundColor"
android:paddingVertical="5dp">
2020-07-17 16:35:39 +02:00
<LinearLayout
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"
android:orientation="vertical"
android:layout_marginStart="10dp"
android:layout_marginEnd="10dp"
2022-04-09 15:09:14 +02:00
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/layout_icon">
2020-07-17 16:35:39 +02:00
<TextView
android:id="@+id/current_path_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/infoBarTextView"
android:layout_marginBottom="5dp"/>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:id="@+id/number_of_files_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/infoBarTextView"
android:layout_marginEnd="16sp"
app:layout_constraintHorizontal_chainStyle="packed"
app:layout_constraintHorizontal_bias="0"
app:layout_constrainedWidth="true"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toStartOf="@id/number_of_folders_text"/>
<TextView
android:id="@+id/number_of_folders_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/infoBarTextView"
android:layout_marginEnd="16sp"
app:layout_constraintHorizontal_chainStyle="packed"
app:layout_constraintHorizontal_bias="0"
app:layout_constrainedWidth="true"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@id/number_of_files_text"
app:layout_constraintEnd_toStartOf="@id/total_size_text"/>
<TextView
android:id="@+id/total_size_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/infoBarTextView"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@id/number_of_folders_text"
app:layout_constraintEnd_toEndOf="parent"/>
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>
2022-04-09 15:09:14 +02:00
<ImageButton
android:id="@+id/layout_icon"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_marginEnd="20dp"
2022-04-09 15:09:14 +02:00
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>