x7_dialog_buy_game.xml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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="wrap_content"
  5. android:padding="20dp">
  6. <RelativeLayout
  7. android:id="@+id/rl_buy_game"
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"
  10. android:layout_marginTop="20dp"
  11. android:gravity="center">
  12. <ImageView
  13. android:id="@+id/iv_buy_game"
  14. android:layout_width="wrap_content"
  15. android:layout_height="wrap_content"
  16. android:layout_centerVertical="true"
  17. android:contentDescription="TODO"
  18. android:src="@drawable/x7_logo_cry" />
  19. <TextView
  20. android:id="@+id/tv_buy_game_title"
  21. android:layout_width="wrap_content"
  22. android:layout_height="wrap_content"
  23. android:layout_marginLeft="16dp"
  24. android:layout_toRightOf="@id/iv_buy_game"
  25. android:text="@string/x7_not_buy_game_hint"
  26. android:textColor="@color/x7_text_orange"
  27. android:textSize="20sp" />
  28. <TextView
  29. android:id="@+id/tv_buy_game_hint"
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content"
  32. android:layout_below="@id/tv_buy_game_title"
  33. android:layout_alignLeft="@+id/tv_buy_game_title"
  34. android:text="@string/x7_buy_game_hint"
  35. android:textColor="@color/x7_text_gray" />
  36. </RelativeLayout>
  37. <Button
  38. android:id="@+id/btn_buy_game"
  39. android:layout_width="wrap_content"
  40. android:layout_height="60dp"
  41. android:layout_below="@id/rl_buy_game"
  42. android:layout_centerHorizontal="true"
  43. android:layout_marginTop="40dp"
  44. android:background="@drawable/x7_radius_90_solid_green"
  45. android:paddingLeft="60dp"
  46. android:paddingRight="60dp"
  47. android:text="@string/x7_sure_of_buy_game"
  48. android:textColor="@color/x7_white" />
  49. </RelativeLayout>