98 lines
3.2 KiB
XML
98 lines
3.2 KiB
XML
|
|
<?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="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:padding="16dp">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/upload_params_title"
|
||
|
|
android:textSize="18sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:layout_marginBottom="16dp" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_marginBottom="8dp">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:text="@string/max_downloads_label"
|
||
|
|
android:textSize="16sp" />
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/maxDownloadsInput"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:inputType="number"
|
||
|
|
android:hint="@string/max_downloads_hint"
|
||
|
|
android:importantForAutofill="no" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/max_downloads_note"
|
||
|
|
android:textSize="12sp"
|
||
|
|
android:textStyle="italic"
|
||
|
|
android:layout_marginBottom="16dp" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_marginBottom="8dp">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:text="@string/expiry_time_label"
|
||
|
|
android:textSize="16sp" />
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/expiryTimeInput"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:inputType="number"
|
||
|
|
android:hint="@string/expiry_time_hint"
|
||
|
|
android:importantForAutofill="no" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/expiry_time_note"
|
||
|
|
android:textSize="12sp"
|
||
|
|
android:textStyle="italic"
|
||
|
|
android:layout_marginBottom="16dp" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:gravity="end">
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/cancelButton"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/cancel_button"
|
||
|
|
style="@style/Widget.AppCompat.Button.Borderless" />
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/confirmButton"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/upload_button" />
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|