summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2021-03-05 14:12:07 +0100
committerByteHamster <info@bytehamster.com>2021-03-05 14:12:07 +0100
commit3f21ef50d313363238990bbfac186acf25e3c143 (patch)
tree6e2788665073a4b807ccc80c8a866f73439bffb1 /app/src/main/res
parent8586c7672053e45d2bfce29909a6a99cd68c4b8f (diff)
downloadAntennaPod-3f21ef50d313363238990bbfac186acf25e3c143.zip
Added basic tag editor UI
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/edit_tags_dialog.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/app/src/main/res/layout/edit_tags_dialog.xml b/app/src/main/res/layout/edit_tags_dialog.xml
new file mode 100644
index 000000000..e83cce9cf
--- /dev/null
+++ b/app/src/main/res/layout/edit_tags_dialog.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:padding="16dp">
+
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/tagsRecycler"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"/>
+
+ <CheckBox
+ android:id="@+id/rootFolderCheckbox"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/feed_folders_include_root" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+
+ <EditText
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:inputType="text"
+ android:ems="10"
+ android:id="@+id/newTagEditText"/>
+
+ <ImageButton
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="?attr/content_new"
+ android:contentDescription="@string/new_label"
+ android:id="@+id/newTagButton"/>
+ </LinearLayout>
+
+</LinearLayout>