|
|
|
@ -1,42 +1,84 @@
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="50dp" |
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:background="?attr/infoBarBackgroundColor" |
|
|
|
|
android:paddingHorizontal="20dp"> |
|
|
|
|
android:paddingVertical="5dp"> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/current_path_text" |
|
|
|
|
<LinearLayout |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
style="@style/infoBarTextView" |
|
|
|
|
android:singleLine="true" |
|
|
|
|
android:ellipsize="start" |
|
|
|
|
android:orientation="vertical" |
|
|
|
|
android:layout_marginStart="10dp" |
|
|
|
|
android:layout_marginEnd="10dp" |
|
|
|
|
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/total_size_text"/> |
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/layout_icon"> |
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
android:id="@+id/total_size_text" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
style="@style/infoBarTextView" |
|
|
|
|
android:text="@string/default_total_size" |
|
|
|
|
android:layout_marginHorizontal="20dp" |
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent" |
|
|
|
|
app:layout_constraintStart_toEndOf="@id/current_path_text" |
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/layout_icon"/> |
|
|
|
|
<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" |
|
|
|
|
android:text="@string/default_total_size" |
|
|
|
|
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> |
|
|
|
|
|
|
|
|
|
<ImageButton |
|
|
|
|
android:id="@+id/layout_icon" |
|
|
|
|
android:layout_width="30dp" |
|
|
|
|
android:layout_height="30dp" |
|
|
|
|
android:layout_marginEnd="20dp" |
|
|
|
|
android:src="@drawable/icon_view_grid" |
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless" |
|
|
|
|
android:contentDescription="@string/switch_display_layout" |
|
|
|
|