nextcloud-android/res/layout/upload_file_dialog.xml

56 lines
2 KiB
XML
Raw Normal View History

2016-10-23 20:07:33 +03:00
<?xml version="1.0" encoding="utf-8"?>
2016-12-06 16:17:56 +03:00
<!--
Nextcloud Android client application
Copyright (C) 2016 zmatsuo
Copyright (C) 2016 Nextcloud.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
License as published by the Free Software Foundation; either
version 3 of the License, or any later version.
This program 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 AFFERO GENERAL PUBLIC LICENSE for more details.
You should have received a copy of the GNU Affero General Public
License along with this program. If not, see <http://www.gnu.org/licenses/>.
2016-10-23 20:07:33 +03:00
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
2016-12-06 16:17:56 +03:00
android:layout_height="match_parent"
android:gravity="clip_horizontal"
android:orientation="vertical"
android:padding="@dimen/standard_padding">
2016-10-23 20:07:33 +03:00
<TextView
2016-12-06 16:17:56 +03:00
android:id="@+id/label_file_name"
2016-10-23 20:07:33 +03:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2016-12-06 16:17:56 +03:00
android:text="@string/upload_file_dialog_filename"
tools:text="@string/upload_file_dialog_filename"/>
2016-10-23 20:07:33 +03:00
<EditText
android:id="@+id/user_input"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="textNoSuggestions|textCapSentences"/>
<TextView
2016-12-06 16:17:56 +03:00
android:id="@+id/label_file_type"
2016-10-23 20:07:33 +03:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2016-12-06 16:17:56 +03:00
android:text="@string/upload_file_dialog_filetype"
tools:text="@string/upload_file_dialog_filetype"/>
2016-10-23 20:07:33 +03:00
<Spinner
2016-12-06 16:17:56 +03:00
android:id="@+id/file_type"
2016-10-23 20:07:33 +03:00
android:layout_width="match_parent"
2016-12-06 16:17:56 +03:00
android:layout_height="wrap_content"/>
2016-10-23 20:07:33 +03:00
</LinearLayout>