summaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authortom79 <tschneider.ac@gmail.com>2019-05-26 17:56:02 +0200
committertom79 <tschneider.ac@gmail.com>2019-05-26 17:56:02 +0200
commitf76750420d1fde69dc60cba53a19e148926dfcf9 (patch)
tree339fbc3f6d0a12bb83bfbdd12877e04152145db6 /app/src/main/res/layout
parent00c8c4fa88a5039e203e3ea93bfdd3b65c21feeb (diff)
Add layout for playlists
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/add_playlist.xml77
1 files changed, 77 insertions, 0 deletions
diff --git a/app/src/main/res/layout/add_playlist.xml b/app/src/main/res/layout/add_playlist.xml
new file mode 100644
index 000000000..dea09134b
--- /dev/null
+++ b/app/src/main/res/layout/add_playlist.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical" android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="10dp">
+ <TextView
+ android:layout_marginTop="10dp"
+ android:labelFor="@+id/display_name"
+ android:text="@string/display_name"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" />
+ <EditText
+ android:layout_marginTop="5dp"
+ android:id="@+id/display_name"
+ android:inputType="text"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:maxLines="1"
+ />
+ <TextView
+ android:layout_marginTop="10dp"
+ android:labelFor="@+id/description"
+ android:layout_width="match_parent"
+ android:text="@string/description"
+ android:layout_height="wrap_content" />
+ <EditText
+ android:layout_marginTop="5dp"
+ android:id="@+id/description"
+ android:inputType="text"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:maxLines="5"
+ />
+ <!-- Videos channels -->
+ <LinearLayout
+ android:layout_marginTop="10dp"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_horizontal"
+ android:layout_gravity="center_horizontal"
+ android:orientation="vertical">
+ <TextView
+ android:gravity="center"
+ android:textSize="16sp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/channel"/>
+ <com.jaredrummler.materialspinner.MaterialSpinner
+ android:textSize="16sp"
+ android:id="@+id/set_upload_channel"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+ </LinearLayout>
+
+
+ <!-- Videos Privacy -->
+ <LinearLayout
+ android:layout_marginTop="10dp"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_horizontal"
+ android:layout_gravity="center_horizontal"
+ android:orientation="vertical">
+ <TextView
+ android:gravity="center"
+ android:textSize="16sp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/action_privacy"/>
+ <com.jaredrummler.materialspinner.MaterialSpinner
+ android:textSize="16sp"
+ android:id="@+id/set_upload_privacy"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+ </LinearLayout>
+
+</LinearLayout> \ No newline at end of file