summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/choose_data_folder_dialog_entry.xml
diff options
context:
space:
mode:
authorH. Lehmann <ByteHamster@users.noreply.github.com>2019-08-11 14:57:44 +0200
committerGitHub <noreply@github.com>2019-08-11 14:57:44 +0200
commit1315c9e20b30e62b8022f831a0bcf5779b5bb2cb (patch)
tree65dd884ea83389d366d971ca5635e6e9f6c95dc4 /app/src/main/res/layout/choose_data_folder_dialog_entry.xml
parentab864cd171a563177a8f565fc2744e88ba669516 (diff)
parentce64c412ac02041d877e4770381f29710a06ba17 (diff)
downloadAntennaPod-1315c9e20b30e62b8022f831a0bcf5779b5bb2cb.zip
Merge branch 'develop' into make_multidex_on_debug_build_only
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.xml48
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>