upload_file_dialog.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Nextcloud Android client application
  4. Copyright (C) 2016 zmatsuo
  5. Copyright (C) 2016 Nextcloud.
  6. This program is free software; you can redistribute it and/or
  7. modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
  8. License as published by the Free Software Foundation; either
  9. version 3 of the License, or any later version.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU AFFERO GENERAL PUBLIC LICENSE for more details.
  14. You should have received a copy of the GNU Affero General Public
  15. License along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. -->
  17. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  18. xmlns:tools="http://schemas.android.com/tools"
  19. android:layout_width="match_parent"
  20. android:layout_height="match_parent"
  21. android:gravity="clip_horizontal"
  22. android:orientation="vertical"
  23. android:padding="@dimen/standard_padding">
  24. <TextView
  25. android:id="@+id/label_file_name"
  26. android:layout_width="match_parent"
  27. android:layout_height="wrap_content"
  28. android:text="@string/upload_file_dialog_filename"
  29. tools:text="@string/upload_file_dialog_filename"/>
  30. <EditText
  31. android:id="@+id/user_input"
  32. android:layout_width="match_parent"
  33. android:layout_height="wrap_content"
  34. android:ems="10"
  35. android:inputType="textNoSuggestions|textCapSentences"/>
  36. <TextView
  37. android:id="@+id/label_file_type"
  38. android:layout_width="match_parent"
  39. android:layout_height="wrap_content"
  40. android:text="@string/upload_file_dialog_filetype"
  41. tools:text="@string/upload_file_dialog_filetype"/>
  42. <Spinner
  43. android:id="@+id/file_type"
  44. android:layout_width="match_parent"
  45. android:layout_height="wrap_content"/>
  46. </LinearLayout>