whats_new_element.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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:orientation="vertical"
  20. android:layout_width="match_parent"
  21. android:layout_height="match_parent"
  22. android:weightSum="100">
  23. <ImageView
  24. android:layout_width="wrap_content"
  25. android:layout_height="0dp"
  26. android:id="@+id/whatsNewImage"
  27. android:layout_gravity="center_horizontal"
  28. android:layout_marginBottom="10dp"
  29. android:layout_weight="50"
  30. android:src="@drawable/whats_new_files"/>
  31. <TextView
  32. android:layout_width="wrap_content"
  33. android:layout_height="wrap_content"
  34. android:textAppearance="@style/NextcloudTextAppearanceHeadline"
  35. android:textColor="@color/white"
  36. android:textStyle="bold"
  37. android:text="@string/welcome_feature_1_title"
  38. android:id="@+id/whatsNewTitle"
  39. android:layout_margin="@dimen/standard_margin"
  40. android:layout_gravity="center_horizontal"
  41. android:gravity="center"/>
  42. <TextView
  43. android:id="@+id/whatsNewText"
  44. android:layout_width="wrap_content"
  45. android:layout_height="wrap_content"
  46. android:layout_gravity="center_horizontal"
  47. android:layout_marginBottom="@dimen/standard_margin"
  48. android:layout_marginLeft="@dimen/standard_double_margin"
  49. android:layout_marginRight="@dimen/standard_double_margin"
  50. android:layout_marginTop="@dimen/standard_margin"
  51. android:gravity="center"
  52. android:text="@string/welcome_feature_1_text"
  53. android:textAppearance="@style/NextcloudTextAppearanceMedium"
  54. android:textColor="@color/login_text_hint_color"/>
  55. </LinearLayout>