109 lines
4.3 KiB
XML
109 lines
4.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2019 Thomas Schneider
|
|
|
|
This file is a part of Fedilab
|
|
|
|
This program is free software; you can redistribute it and/or modify it under the terms of the
|
|
GNU General Public License as published by the Free Software Foundation; either version 3 of the
|
|
License, or (at your option) any later version.
|
|
|
|
Fedilab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License along with Fedilab; if not,
|
|
see <http://www.gnu.org/licenses>.
|
|
-->
|
|
|
|
<android.support.constraint.ConstraintLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context="app.fedilab.android.activities.PeertubeUploadActivity">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<Button
|
|
android:gravity="center"
|
|
android:layout_gravity="center_horizontal"
|
|
android:id="@+id/set_upload_file"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:enabled="false"
|
|
android:textSize="16sp"
|
|
style="@style/Base.Widget.AppCompat.Button.Colored"
|
|
android:text="@string/file_to_upload" />
|
|
|
|
<TextView
|
|
android:layout_marginTop="20dp"
|
|
android:visibility="gone"
|
|
android:gravity="center"
|
|
android:id="@+id/set_upload_file_name"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<!-- Videos channels -->
|
|
<LinearLayout
|
|
android:layout_marginTop="20dp"
|
|
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="20dp"
|
|
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>
|
|
|
|
<!-- Videos upload submit -->
|
|
<Button
|
|
android:layout_marginTop="40dp"
|
|
android:gravity="center"
|
|
android:textSize="18sp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:id="@+id/set_upload_submit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:enabled="false"
|
|
style="@style/Base.Widget.AppCompat.Button.Colored"
|
|
android:text="@string/upload_video" />
|
|
</LinearLayout>
|
|
</android.support.constraint.ConstraintLayout>
|