gn_account_sdk_authentication.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:orientation="vertical" >
  6. <RelativeLayout
  7. android:layout_width="wrap_content"
  8. android:layout_height="wrap_content"
  9. android:background="@drawable/gn_account_au_background"
  10. android:orientation="vertical" >
  11. <ImageView
  12. android:id="@+id/calling_app_iv"
  13. android:layout_width="wrap_content"
  14. android:layout_height="wrap_content"
  15. android:layout_centerHorizontal="true"
  16. android:layout_marginTop="46dp" />
  17. <TextView
  18. android:id="@+id/calling_app_name"
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:layout_below="@id/calling_app_iv"
  22. android:layout_centerHorizontal="true"
  23. android:layout_marginTop="9dp"
  24. android:textColor="@color/gn_account_white"
  25. android:textSize="16sp" />
  26. <RelativeLayout
  27. android:id="@+id/account_info"
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:layout_marginLeft="28.5dp"
  31. android:layout_marginTop="152dp" >
  32. <ImageView
  33. android:id="@+id/amigo_app_iv"
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:layout_centerVertical="true"
  37. android:background="@drawable/gn_account_people" />
  38. <TextView
  39. android:id="@+id/username_tv"
  40. android:layout_width="wrap_content"
  41. android:layout_height="wrap_content"
  42. android:layout_centerVertical="true"
  43. android:layout_marginLeft="10dip"
  44. android:layout_toRightOf="@id/amigo_app_iv"
  45. android:textColor="@color/gn_account_main_body_color"
  46. android:textSize="@dimen/gn_account_button_text_size" />
  47. </RelativeLayout>
  48. <TextView
  49. android:layout_width="wrap_content"
  50. android:layout_height="wrap_content"
  51. android:layout_below="@id/account_info"
  52. android:layout_marginLeft="35dip"
  53. android:layout_marginTop="15dp"
  54. android:text="@string/gn_account_authorization_rompt"
  55. android:textColor="@color/gn_account_main_body_color"
  56. android:textSize="@dimen/gn_account_text_size_normal_2" />
  57. </RelativeLayout>
  58. <LinearLayout
  59. android:id="@+id/bottom_linearlayout"
  60. android:layout_width="fill_parent"
  61. android:layout_height="wrap_content"
  62. android:layout_alignParentBottom="true"
  63. android:baselineAligned="false"
  64. android:orientation="vertical" >
  65. <RelativeLayout
  66. android:id="@+id/login_fl"
  67. android:layout_width="fill_parent"
  68. android:layout_height="wrap_content"
  69. android:layout_marginLeft="@dimen/gn_account_login_activity_button_margin_left_right"
  70. android:layout_marginRight="@dimen/gn_account_login_activity_button_margin_left_right" >
  71. <Button
  72. android:id="@+id/login_button"
  73. android:layout_width="fill_parent"
  74. android:layout_height="wrap_content"
  75. android:background="@drawable/gn_account_account_orange_button_bg_selector"
  76. android:minHeight="@dimen/gn_account_amigo_alert_dialog_button_bar_height"
  77. android:text="@string/gn_account_authorization_and_login"
  78. android:textColor="@color/gn_account_white"
  79. android:textSize="16sp" />
  80. <ProgressBar
  81. android:id="@+id/wait_pb"
  82. android:layout_width="50dip"
  83. android:layout_height="30dip"
  84. android:layout_centerVertical="true"
  85. android:layout_marginLeft="1dip"
  86. android:indeterminateDrawable="@drawable/gn_account_progressbar_circle_gray"
  87. android:visibility="gone" />
  88. </RelativeLayout>
  89. </LinearLayout>
  90. </RelativeLayout>