upload_files_layout.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. ownCloud Android client application
  4. Copyright (C) 2015 ownCloud Inc.
  5. This program is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License version 2,
  7. as published by the Free Software Foundation.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. -->
  15. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  16. xmlns:app="http://schemas.android.com/apk/res-auto"
  17. android:id="@+id/upload_files_layout"
  18. android:layout_width="fill_parent"
  19. android:layout_height="fill_parent"
  20. android:orientation="vertical" >
  21. <include
  22. layout="@layout/toolbar_standard" />
  23. <fragment
  24. android:id="@+id/local_files_list"
  25. android:layout_width="match_parent"
  26. android:layout_height="0dip"
  27. android:layout_weight="1"
  28. class="com.owncloud.android.ui.fragment.LocalFileListFragment" />
  29. <LinearLayout
  30. android:layout_width="match_parent"
  31. android:layout_height="wrap_content"
  32. android:orientation="horizontal">
  33. <ImageView
  34. android:layout_width="match_parent"
  35. android:layout_height="1dp"
  36. android:src="@drawable/uploader_list_separator"/>
  37. </LinearLayout>
  38. <LinearLayout
  39. android:orientation="horizontal"
  40. android:layout_width="match_parent"
  41. android:layout_height="wrap_content"
  42. android:paddingTop="8dp"
  43. android:paddingLeft="16dp"
  44. android:paddingRight="16dp">
  45. <RadioGroup xmlns:android="http://schemas.android.com/apk/res/android"
  46. android:id="@+id/drawer_radio_group"
  47. android:layout_width="fill_parent"
  48. android:layout_height="wrap_content"
  49. android:gravity="center"
  50. android:orientation="horizontal">
  51. <RadioButton
  52. android:layout_width="wrap_content"
  53. android:layout_height="wrap_content"
  54. android:text="@string/upload_copy_files"
  55. android:id="@+id/upload_radio_copy"
  56. android:paddingRight="8dp"
  57. android:checked="false" />
  58. <RadioButton
  59. android:layout_width="wrap_content"
  60. android:layout_height="wrap_content"
  61. android:text="@string/upload_move_files"
  62. android:id="@+id/upload_radio_move"
  63. android:paddingRight="8dp"
  64. android:checked="false" />
  65. </RadioGroup>
  66. </LinearLayout>
  67. <LinearLayout
  68. android:layout_width="match_parent"
  69. android:layout_height="wrap_content"
  70. android:gravity="center"
  71. android:orientation="horizontal"
  72. android:paddingLeft="16dp"
  73. android:paddingRight="16dp"
  74. android:paddingBottom="16dp">
  75. <android.support.v7.widget.AppCompatButton
  76. android:id="@+id/upload_files_btn_cancel"
  77. android:theme="@style/Button"
  78. android:layout_width="wrap_content"
  79. android:layout_height="wrap_content"
  80. android:layout_weight="1"
  81. android:text="@string/common_cancel" />
  82. <android.support.v7.widget.AppCompatButton
  83. android:id="@+id/upload_files_btn_upload"
  84. android:theme="@style/Button.Primary"
  85. android:layout_width="wrap_content"
  86. android:layout_height="wrap_content"
  87. android:layout_weight="1"
  88. android:text="@string/uploader_btn_upload_text" />
  89. </LinearLayout>
  90. </LinearLayout>