activity_allset.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2021 The Android Open Source Project
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. -->
  14. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  15. android:layout_width="match_parent"
  16. android:layout_height="match_parent"
  17. android:paddingStart="@dimen/allset_page_margin_horizontal"
  18. android:paddingEnd="@dimen/allset_page_margin_horizontal"
  19. android:layoutDirection="locale"
  20. android:textDirection="locale">
  21. <LinearLayout
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content"
  24. android:layout_alignParentTop="true"
  25. android:layout_gravity="start"
  26. android:gravity="start"
  27. android:orientation="vertical">
  28. <ImageView
  29. android:id="@+id/icon"
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content"
  32. android:layout_marginTop="@dimen/allset_title_icon_margin_top"
  33. android:src="@drawable/ic_all_set"/>
  34. <TextView
  35. android:id="@+id/title"
  36. style="@style/TextAppearance.GestureTutorial.Feedback.Title"
  37. android:layout_width="match_parent"
  38. android:layout_height="wrap_content"
  39. android:layout_marginTop="@dimen/allset_title_margin_top"
  40. android:gravity="start"
  41. android:text="@string/allset_title"/>
  42. <TextView
  43. android:id="@+id/subtitle"
  44. style="@style/TextAppearance.GestureTutorial.Feedback.Subtitle"
  45. android:layout_width="match_parent"
  46. android:layout_height="wrap_content"
  47. android:layout_marginTop="@dimen/allset_subtitle_margin_top"
  48. android:gravity="start"
  49. android:text="@string/allset_description"/>
  50. </LinearLayout>
  51. <TextView
  52. android:id="@+id/navigation_settings"
  53. style="@style/TextAppearance.GestureTutorial.LinkText"
  54. android:layout_width="match_parent"
  55. android:layout_height="wrap_content"
  56. android:layout_above="@+id/hint"
  57. android:gravity="center"
  58. android:layout_marginBottom="72dp"
  59. android:minHeight="48dp"
  60. android:background="?android:attr/selectableItemBackground"
  61. android:text="@string/allset_navigation_settings" />
  62. <TextView
  63. android:id="@id/hint"
  64. style="@style/TextAppearance.GestureTutorial.Feedback.Subtitle"
  65. android:textSize="14sp"
  66. android:layout_width="wrap_content"
  67. android:layout_height="wrap_content"
  68. android:layout_marginBottom="@dimen/allset_hint_margin_bottom"
  69. android:layout_alignParentBottom="true"
  70. android:layout_centerHorizontal="true"
  71. android:text="@string/allset_hint"/>
  72. </RelativeLayout>