whats_new_activity.xml 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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_margin="5dp"
  28. android:layout_weight="10"
  29. android:gravity="center"
  30. android:text="@string/placeholder_sentence"
  31. android:textAppearance="?android:attr/textAppearanceLarge"
  32. android:textColor="@color/login_text_hint_color"/>
  33. <android.support.v4.view.ViewPager
  34. android:id="@+id/contentPanel"
  35. android:layout_width="match_parent"
  36. android:layout_height="0dp"
  37. android:layout_weight="80">
  38. </android.support.v4.view.ViewPager>
  39. <LinearLayout
  40. android:layout_width="match_parent"
  41. android:layout_height="0dp"
  42. android:layout_marginBottom="@dimen/standard_margin"
  43. android:layout_marginLeft="@dimen/standard_margin"
  44. android:layout_marginRight="@dimen/standard_margin"
  45. android:layout_weight="10"
  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="wrap_content"
  53. android:layout_gravity="center_vertical|center_horizontal"
  54. android:layout_weight="1"
  55. android:paddingRight="0dp"
  56. android:paddingLeft="0dp"
  57. android:text="@string/whats_new_skip"/>
  58. <com.owncloud.android.ui.whatsnew.ProgressIndicator
  59. android:id="@+id/progressIndicator"
  60. android:layout_width="0dp"
  61. android:layout_height="match_parent"
  62. android:layout_gravity="center_vertical|center_horizontal"
  63. android:layout_weight="1">
  64. </com.owncloud.android.ui.whatsnew.ProgressIndicator>
  65. <LinearLayout
  66. android:layout_width="0dp"
  67. android:layout_height="wrap_content"
  68. android:layout_gravity="center"
  69. android:layout_weight="1"
  70. android:orientation="vertical">
  71. <ImageButton
  72. android:id="@+id/forward"
  73. android:layout_width="wrap_content"
  74. android:layout_height="wrap_content"
  75. android:layout_gravity="center"
  76. android:padding="@dimen/standard_padding"
  77. android:src="@drawable/arrow_right"/>
  78. </LinearLayout>
  79. </LinearLayout>
  80. </LinearLayout>