upload_files_layout.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. android:id="@+id/upload_files_layout"
  17. android:layout_width="fill_parent"
  18. android:layout_height="fill_parent"
  19. android:orientation="vertical" >
  20. <include
  21. layout="@layout/toolbar_standard" />
  22. <fragment
  23. android:id="@+id/local_files_list"
  24. android:layout_width="match_parent"
  25. android:layout_height="@dimen/zero"
  26. android:layout_weight="1"
  27. class="com.owncloud.android.ui.fragment.LocalFileListFragment" />
  28. <LinearLayout
  29. android:layout_width="match_parent"
  30. android:layout_height="wrap_content"
  31. android:orientation="horizontal">
  32. <ImageView
  33. android:layout_width="match_parent"
  34. android:layout_height="1dp"
  35. android:src="@drawable/uploader_list_separator"/>
  36. </LinearLayout>
  37. <LinearLayout
  38. android:orientation="vertical"
  39. android:layout_width="match_parent"
  40. android:layout_height="wrap_content"
  41. android:paddingTop="@dimen/standard_half_padding"
  42. android:paddingBottom="@dimen/standard_padding"
  43. android:paddingLeft="@dimen/standard_padding"
  44. android:paddingRight="@dimen/standard_padding">
  45. <TextView
  46. android:layout_width="match_parent"
  47. android:layout_height="wrap_content"
  48. android:text="@string/uploader_upload_files_behaviour"
  49. android:textColor="@color/black"
  50. android:textStyle="bold"
  51. android:paddingBottom="@dimen/standard_half_padding"/>
  52. <Spinner
  53. android:layout_width="match_parent"
  54. android:layout_height="@dimen/zero"
  55. android:id="@+id/upload_files_spinner_behaviour"
  56. android:layout_weight="1"/>
  57. </LinearLayout>
  58. <LinearLayout
  59. android:layout_width="match_parent"
  60. android:layout_height="wrap_content"
  61. android:gravity="center"
  62. android:orientation="horizontal"
  63. android:paddingLeft="@dimen/standard_padding"
  64. android:paddingRight="@dimen/standard_padding"
  65. android:paddingBottom="@dimen/standard_padding">
  66. <android.support.v7.widget.AppCompatButton
  67. android:id="@+id/upload_files_btn_cancel"
  68. android:theme="@style/Button"
  69. android:layout_width="wrap_content"
  70. android:layout_height="wrap_content"
  71. android:layout_weight="1"
  72. android:text="@string/common_cancel"
  73. android:layout_marginRight="@dimen/standard_half_margin"/>
  74. <android.support.v7.widget.AppCompatButton
  75. android:id="@+id/upload_files_btn_upload"
  76. android:theme="@style/Button.Primary"
  77. android:layout_width="wrap_content"
  78. android:layout_height="wrap_content"
  79. android:layout_weight="1"
  80. android:text="@string/uploader_btn_upload_text" />
  81. </LinearLayout>
  82. </LinearLayout>