11 changed files with 149 additions and 15 deletions
@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android" |
||||
android:width="24dp" |
||||
android:height="24dp" |
||||
android:viewportWidth="24" |
||||
android:viewportHeight="24" |
||||
android:tint="?attr/colorControlNormal"> |
||||
<path |
||||
android:fillColor="@android:color/white" |
||||
android:pathData="M4,11h5L9,5L4,5v6zM4,18h5v-6L4,12v6zM10,18h5v-6h-5v6zM16,18h5v-6h-5v6zM10,11h5L15,5h-5v6zM16,5v6h5L21,5h-5z"/> |
||||
</vector> |
@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android" |
||||
android:width="24dp" |
||||
android:height="24dp" |
||||
android:viewportWidth="24" |
||||
android:viewportHeight="24" |
||||
android:tint="?attr/colorControlNormal"> |
||||
<path |
||||
android:fillColor="@android:color/white" |
||||
android:pathData="M4,14h4v-4L4,10v4zM4,19h4v-4L4,15v4zM4,9h4L8,5L4,5v4zM9,14h12v-4L9,10v4zM9,19h12v-4L9,15v4zM9,5v4h12L21,5L9,5z"/> |
||||
</vector> |
@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
android:orientation="horizontal" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content"> |
||||
|
||||
<LinearLayout |
||||
android:id="@+id/selectable_container" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
android:background="?attr/selectableItemBackground" |
||||
android:orientation="vertical" |
||||
android:padding="10dp"> |
||||
|
||||
<ImageView |
||||
android:id="@+id/icon_element" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="130dp" |
||||
android:adjustViewBounds="true" |
||||
android:layout_gravity="center_horizontal"/> |
||||
|
||||
<LinearLayout |
||||
android:layout_gravity="center_horizontal|bottom" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:orientation="vertical"> |
||||
|
||||
<TextView |
||||
android:id="@+id/text_element_name" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:textSize="@dimen/adapter_text_size"/> |
||||
|
||||
<LinearLayout |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:orientation="horizontal" |
||||
android:layout_gravity="bottom"> |
||||
|
||||
<TextView |
||||
android:id="@+id/text_element_mtime" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:textSize="@dimen/details_text_size" |
||||
android:layout_marginEnd="7dp"/> |
||||
|
||||
<TextView |
||||
android:id="@+id/text_element_size" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:textSize="@dimen/details_text_size"/> |
||||
|
||||
</LinearLayout> |
||||
|
||||
</LinearLayout> |
||||
|
||||
</LinearLayout> |
||||
|
||||
</LinearLayout> |
@ -1,28 +1,47 @@
|
||||
<?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="25dp" |
||||
android:layout_height="50dp" |
||||
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||
android:background="?attr/infoBarBackgroundColor" |
||||
android:gravity="center_vertical"> |
||||
android:paddingHorizontal="20dp"> |
||||
|
||||
<TextView |
||||
android:id="@+id/current_path_text" |
||||
android:layout_width="0dp" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
style="@style/infoBarTextView" |
||||
android:singleLine="true" |
||||
android:ellipsize="start" |
||||
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"/> |
||||
|
||||
<TextView |
||||
android:id="@+id/total_size_text" |
||||
android:layout_width="0dp" |
||||
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_constraintEnd_toEndOf="parent" |
||||
app:layout_constraintStart_toEndOf="@id/current_path_text"/> |
||||
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"/> |
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout> |
Loading…
Reference in new issue