x7_dialog_no_app.xml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. <TextView
  7. android:id="@+id/tv_no_app_title"
  8. android:layout_width="wrap_content"
  9. android:layout_height="wrap_content"
  10. android:text="@string/x7_no_install_x7market"
  11. android:layout_centerHorizontal="true"
  12. android:textColor="@color/x7_text_orange"
  13. android:textSize="20sp" />
  14. <TextView
  15. android:id="@+id/tv_no_app_hint"
  16. android:layout_width="wrap_content"
  17. android:layout_height="wrap_content"
  18. android:layout_below="@id/tv_no_app_title"
  19. android:layout_centerHorizontal="true"
  20. android:text="@string/x7_no_x7market_reason"
  21. android:textColor="@color/x7_text_gray" />
  22. <ImageView
  23. android:id="@+id/iv_no_app"
  24. android:layout_marginTop="20dp"
  25. android:layout_width="wrap_content"
  26. android:layout_height="wrap_content"
  27. android:layout_below="@id/tv_no_app_hint"
  28. android:layout_centerHorizontal="true"
  29. android:contentDescription="TODO" android:src="@drawable/x7_relax_header_hui_bg" />
  30. <Button
  31. android:id="@+id/btn_no_app"
  32. android:layout_below="@id/iv_no_app"
  33. android:text="@string/x7_install_x7market"
  34. android:textColor="@color/x7_white"
  35. android:paddingTop="20dp"
  36. android:paddingBottom="20dp"
  37. android:paddingLeft="60dp"
  38. android:paddingRight="60dp"
  39. android:layout_centerHorizontal="true"
  40. android:layout_marginTop="20dp"
  41. android:background="@drawable/x7_radius_90_solid_green"
  42. android:layout_width="wrap_content"
  43. android:layout_height="wrap_content" />
  44. </RelativeLayout>