fragment_keyagreement_id.xml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:orientation="horizontal"
  7. android:paddingBottom="@dimen/margin_activity_vertical"
  8. android:paddingEnd="@dimen/margin_activity_horizontal"
  9. android:paddingLeft="@dimen/margin_activity_horizontal"
  10. android:paddingRight="@dimen/margin_activity_horizontal"
  11. android:paddingStart="@dimen/margin_activity_horizontal"
  12. android:paddingTop="@dimen/margin_activity_vertical">
  13. <ImageView
  14. android:id="@+id/imageView"
  15. android:layout_width="0dp"
  16. android:layout_height="wrap_content"
  17. android:layout_gravity="center_vertical"
  18. android:layout_marginEnd="@dimen/margin_medium"
  19. android:layout_marginRight="@dimen/margin_medium"
  20. android:layout_weight="1"
  21. android:adjustViewBounds="true"
  22. android:scaleType="fitCenter"
  23. android:src="@drawable/qr_code_intro"/>
  24. <ScrollView
  25. android:layout_width="0dp"
  26. android:layout_height="match_parent"
  27. android:layout_weight="1">
  28. <LinearLayout
  29. android:layout_width="match_parent"
  30. android:layout_height="wrap_content"
  31. android:orientation="vertical">
  32. <TextView
  33. android:id="@+id/yourNicknameView"
  34. style="@style/BriarTextBody"
  35. android:layout_width="match_parent"
  36. android:layout_height="wrap_content"
  37. android:text="@string/your_nickname"/>
  38. <Spinner
  39. android:id="@+id/spinner"
  40. android:layout_width="match_parent"
  41. android:layout_height="wrap_content"
  42. android:layout_marginTop="@dimen/margin_medium"
  43. android:background="@drawable/spinner_border"
  44. android:spinnerMode="dropdown"/>
  45. <TextView
  46. android:id="@+id/faceToFaceView"
  47. style="@style/BriarTextBody"
  48. android:layout_width="match_parent"
  49. android:layout_height="wrap_content"
  50. android:layout_marginTop="@dimen/margin_medium"
  51. android:text="@string/face_to_face"/>
  52. <Button
  53. android:id="@+id/continueButton"
  54. style="@style/BriarButton.Default"
  55. android:layout_width="match_parent"
  56. android:layout_height="wrap_content"
  57. android:layout_gravity="center_horizontal"
  58. android:layout_marginTop="@dimen/margin_medium"
  59. android:text="@string/continue_button"/>
  60. </LinearLayout>
  61. </ScrollView>
  62. </LinearLayout>