diff options
Diffstat (limited to 'app/src/main/res/layout/choose_data_folder_dialog_entry.xml')
-rw-r--r-- | app/src/main/res/layout/choose_data_folder_dialog_entry.xml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/app/src/main/res/layout/choose_data_folder_dialog_entry.xml b/app/src/main/res/layout/choose_data_folder_dialog_entry.xml new file mode 100644 index 000000000..9a216b36b --- /dev/null +++ b/app/src/main/res/layout/choose_data_folder_dialog_entry.xml @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:id="@+id/root" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_margin="@dimen/diag_content_side_padding" + android:background="?attr/selectableItemBackground"> + + <RadioButton + android:id="@+id/radio_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentStart="true" + android:layout_alignParentLeft="true" + android:layout_centerVertical="true" + android:padding="4dp" /> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_centerInParent="true" + android:layout_toEndOf="@+id/radio_button" + android:layout_toRightOf="@+id/radio_button" + android:orientation="vertical"> + + <TextView + android:id="@+id/path" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + tools:text="/storage/sdcard0" /> + + <TextView + android:id="@+id/size" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + tools:text="2 GB" /> + + <me.zhanghai.android.materialprogressbar.MaterialProgressBar + android:id="@+id/used_space" + style="@style/Widget.MaterialProgressBar.ProgressBar.Horizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content" + app:mpb_progressStyle="horizontal" /> + </LinearLayout> + +</RelativeLayout> |