whats_new_activity.xml 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Nextcloud Android client application
  4. Copyright (C) 2015-2016 Bartosz Przybylski
  5. Copyright (C) 2015 ownCloud Inc.
  6. Copyright (C) 2016 Nextcloud.
  7. This program is free software; you can redistribute it and/or
  8. modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
  9. License as published by the Free Software Foundation; either
  10. version 3 of the License, or any later version.
  11. This program is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. GNU AFFERO GENERAL PUBLIC LICENSE for more details.
  15. You should have received a copy of the GNU Affero General Public
  16. License along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. -->
  18. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  19. android:layout_width="match_parent"
  20. android:layout_height="match_parent"
  21. android:orientation="vertical"
  22. android:weightSum="100">
  23. <TextView
  24. android:id="@+id/welcomeText"
  25. android:layout_width="match_parent"
  26. android:layout_height="0dp"
  27. android:layout_marginBottom="@dimen/standard_double_margin"
  28. android:layout_marginTop="@dimen/standard_double_margin"
  29. android:layout_weight="10"
  30. android:gravity="center"
  31. android:text="@string/placeholder_sentence"
  32. android:textAppearance="?android:attr/textAppearanceLarge"
  33. android:textColor="@color/primary_button_text_color"/>
  34. <android.support.v4.view.ViewPager
  35. android:id="@+id/contentPanel"
  36. android:layout_width="match_parent"
  37. android:layout_height="0dp"
  38. android:layout_weight="82">
  39. </android.support.v4.view.ViewPager>
  40. <LinearLayout
  41. android:layout_width="match_parent"
  42. android:layout_height="0dp"
  43. android:layout_marginLeft="@dimen/standard_margin"
  44. android:layout_marginRight="@dimen/standard_margin"
  45. android:layout_weight="8"
  46. android:orientation="horizontal"
  47. android:weightSum="3">
  48. <android.support.v7.widget.AppCompatButton
  49. android:id="@+id/skip"
  50. style="@style/Button.Borderless.Login"
  51. android:layout_width="0dp"
  52. android:layout_height="match_parent"
  53. android:layout_gravity="center_vertical|center_horizontal"
  54. android:layout_weight="1"
  55. android:gravity="center"
  56. android:paddingLeft="0dp"
  57. android:paddingRight="0dp"
  58. android:text="@string/whats_new_skip"/>
  59. <com.owncloud.android.ui.whatsnew.ProgressIndicator
  60. android:id="@+id/progressIndicator"
  61. android:layout_width="0dp"
  62. android:layout_height="match_parent"
  63. android:layout_gravity="center_vertical|center_horizontal"
  64. android:layout_weight="1">
  65. </com.owncloud.android.ui.whatsnew.ProgressIndicator>
  66. <LinearLayout
  67. android:layout_width="0dp"
  68. android:layout_height="match_parent"
  69. android:layout_gravity="center"
  70. android:layout_weight="1"
  71. android:gravity="center"
  72. android:orientation="vertical">
  73. <ImageButton
  74. android:id="@+id/forward"
  75. android:layout_width="wrap_content"
  76. android:layout_height="wrap_content"
  77. android:layout_gravity="center"
  78. android:src="@drawable/arrow_right"
  79. android:contentDescription="@string/forward"/>
  80. </LinearLayout>
  81. </LinearLayout>
  82. </LinearLayout>