activity_user_survey_invitation.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="vertical"
  4. android:background="#fff0f0f0"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent">
  7. <android.support.p003v7.widget.Toolbar
  8. android:textAppearance="@style/TextAppearance.Widget.AppCompat.Toolbar.Title"
  9. android:textColor="#ff000000"
  10. android:id="@+id/toolbar"
  11. android:background="@android:color/white"
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:minHeight="?attr/actionBarSize"
  15. android:layout_alignParentTop="true"
  16. android:layout_alignParentRight="true"
  17. android:layout_alignParentEnd="true" />
  18. <ImageView
  19. android:id="@+id/headerSeparator"
  20. android:layout_width="match_parent"
  21. android:layout_height="2dp"
  22. android:src="@drawable/gradient01"
  23. android:layout_below="@+id/toolbar"
  24. android:layout_alignParentRight="true"
  25. android:layout_alignParentEnd="true" />
  26. <TextView
  27. android:textSize="20sp"
  28. android:textColor="#ff000000"
  29. android:id="@+id/appNameText"
  30. android:padding="15dp"
  31. android:layout_width="match_parent"
  32. android:layout_height="wrap_content"
  33. android:layout_marginLeft="-6dp"
  34. android:layout_marginRight="-6dp"
  35. android:layout_below="@+id/headerSeparator"
  36. android:layout_alignParentRight="true"
  37. android:layout_alignParentEnd="true" />
  38. <ScrollView
  39. android:orientation="vertical"
  40. android:background="#fff0f0f0"
  41. android:layout_width="match_parent"
  42. android:layout_height="0dp"
  43. android:layout_above="@+id/bottomPanel"
  44. android:layout_below="@+id/appNameText"
  45. android:layout_alignParentRight="true"
  46. android:layout_alignParentEnd="true">
  47. <LinearLayout
  48. android:orientation="vertical"
  49. android:layout_width="match_parent"
  50. android:layout_height="wrap_content">
  51. <TextView
  52. android:textColor="#ff000000"
  53. android:id="@+id/analytics_content"
  54. android:background="#fff0f0f0"
  55. android:padding="10dp"
  56. android:layout_width="match_parent"
  57. android:layout_height="wrap_content"
  58. android:isScrollContainer="true" />
  59. <LinearLayout
  60. android:id="@+id/privacyStatementViewGroup"
  61. android:background="@android:color/white"
  62. android:padding="10dp"
  63. android:layout_width="match_parent"
  64. android:layout_height="wrap_content"
  65. android:layout_marginBottom="20dp"
  66. style="@style/elementViewGroup">
  67. <TextView
  68. android:id="@+id/textView5"
  69. android:text="@string/Privacy_Statement_Title"
  70. style="@style/licenseElementText" />
  71. <ImageView
  72. android:src="@drawable/next_screen"
  73. android:contentDescription="next"
  74. style="@style/elementNextImageView" />
  75. </LinearLayout>
  76. </LinearLayout>
  77. </ScrollView>
  78. <LinearLayout
  79. android:id="@+id/bottomPanel"
  80. android:layout_width="match_parent"
  81. android:layout_height="wrap_content"
  82. android:layout_alignParentRight="true"
  83. android:layout_alignParentBottom="true"
  84. android:layout_alignParentEnd="true"
  85. style="?android:attr/buttonBarStyle">
  86. <Button
  87. android:id="@+id/disagreeButton"
  88. android:text="@string/Cancel"
  89. style="@style/bottom_button" />
  90. <Button
  91. android:id="@+id/agreeButton"
  92. android:text="@string/OK"
  93. style="@style/bottom_button" />
  94. </LinearLayout>
  95. </RelativeLayout>