fedilab-Android-App/app/src/main/res/layout/add_playlist.xml

89 lines
3.0 KiB
XML
Raw Normal View History

2019-05-26 17:56:02 +02:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2019-09-06 17:55:14 +02:00
android:layout_width="match_parent"
2019-05-26 17:56:02 +02:00
android:layout_height="wrap_content"
2019-11-15 16:32:25 +01:00
android:orientation="vertical"
2019-05-27 19:22:54 +02:00
android:padding="15dp">
2019-09-06 17:55:14 +02:00
2019-05-26 17:56:02 +02:00
<TextView
2019-11-15 16:32:25 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-05-26 17:56:02 +02:00
android:layout_marginTop="10dp"
android:labelFor="@+id/display_name"
2019-11-15 16:32:25 +01:00
android:text="@string/display_name" />
2019-09-06 17:55:14 +02:00
2019-05-26 17:56:02 +02:00
<EditText
android:id="@+id/display_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-11-15 16:32:25 +01:00
android:layout_marginTop="5dp"
android:inputType="text"
2020-05-16 11:32:09 +02:00
android:singleLine="true" />
2019-09-06 17:55:14 +02:00
2019-05-26 17:56:02 +02:00
<TextView
2019-11-15 16:32:25 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-05-26 17:56:02 +02:00
android:layout_marginTop="10dp"
android:labelFor="@+id/description"
2019-11-15 16:32:25 +01:00
android:text="@string/description" />
2019-09-06 17:55:14 +02:00
2019-05-26 17:56:02 +02:00
<EditText
android:id="@+id/description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-11-15 16:32:25 +01:00
android:layout_marginTop="5dp"
android:inputType="text"
2019-09-06 17:55:14 +02:00
android:maxLines="5" />
2019-05-26 17:56:02 +02:00
<!-- Videos channels -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-05-26 19:41:04 +02:00
android:orientation="horizontal">
2019-09-06 17:55:14 +02:00
2019-05-26 19:41:04 +02:00
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
2019-11-15 16:32:25 +01:00
android:layout_marginTop="10dp"
android:layout_weight="3"
2019-05-26 19:41:04 +02:00
android:gravity="center_vertical"
android:orientation="vertical">
2019-09-06 17:55:14 +02:00
2019-05-26 19:41:04 +02:00
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2019-11-15 16:32:25 +01:00
android:gravity="center"
android:text="@string/channel"
android:textSize="16sp" />
2019-09-06 17:55:14 +02:00
2019-11-20 11:57:25 +01:00
<Spinner
2019-05-26 19:41:04 +02:00
android:id="@+id/set_upload_channel"
android:layout_width="wrap_content"
2019-11-15 16:32:25 +01:00
android:layout_height="wrap_content"
2020-05-16 20:00:45 +02:00
android:textSize="14sp" />
2019-05-26 19:41:04 +02:00
</LinearLayout>
<!-- Videos Privacy -->
<LinearLayout
android:layout_width="0dp"
2019-05-26 17:56:02 +02:00
android:layout_height="wrap_content"
2019-11-15 16:32:25 +01:00
android:layout_marginTop="10dp"
android:layout_weight="2"
2019-05-26 19:41:04 +02:00
android:gravity="center_vertical"
android:orientation="vertical">
2019-09-06 17:55:14 +02:00
2019-05-26 19:41:04 +02:00
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2019-11-15 16:32:25 +01:00
android:gravity="center"
android:text="@string/action_privacy"
android:textSize="16sp" />
2019-09-06 17:55:14 +02:00
2019-11-20 11:57:25 +01:00
<Spinner
2019-05-26 19:41:04 +02:00
android:id="@+id/set_upload_privacy"
android:layout_width="wrap_content"
2019-11-15 16:32:25 +01:00
android:layout_height="wrap_content"
2020-05-16 20:00:45 +02:00
android:textSize="14sp" />
2019-05-26 19:41:04 +02:00
</LinearLayout>
2019-05-26 17:56:02 +02:00
</LinearLayout>
</LinearLayout>