hnyy_ios_style_dialog.xml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="vertical"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="@drawable/hnyy_dialog_ios_bg">
  7. <LinearLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"
  10. android:layout_margin="20dp"
  11. android:gravity="center_horizontal"
  12. android:orientation="vertical">
  13. <TextView
  14. android:layout_width="wrap_content"
  15. android:layout_height="wrap_content"
  16. android:textColor="@color/hnyy_black"
  17. android:textSize="16sp"
  18. android:textStyle="bold"
  19. android:text="@string/hnyy_title_tip"/>
  20. <TextView
  21. android:id="@+id/content"
  22. android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. android:layout_marginTop="4dp"
  25. android:textColor="@color/hnyy_black"
  26. android:textSize="12sp"
  27. android:text="@string/hnyy_network_error_tip"/>
  28. </LinearLayout>
  29. <View
  30. android:layout_width="match_parent"
  31. android:layout_height="1px"
  32. android:background="@color/hnyy_dialog_line"/>
  33. <TextView
  34. android:id="@+id/confirm"
  35. android:layout_width="match_parent"
  36. android:layout_height="40dp"
  37. android:gravity="center"
  38. android:layout_gravity="center_horizontal"
  39. android:textColor="@color/hnyy_blues"
  40. android:textSize="16sp"
  41. android:text="@string/hnyy_confirm"/>
  42. </LinearLayout>