trade_popup.xml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="wrap_content"
  4. android:layout_height="wrap_content"
  5. android:background="@color/GreyWhite"
  6. android:orientation="vertical">
  7. <RadioGroup
  8. android:id="@+id/trade_sort_group"
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent"
  11. android:paddingLeft="10dp"
  12. android:paddingRight="20dp">
  13. <RadioButton
  14. android:id="@+id/trade_sort_0"
  15. android:layout_width="wrap_content"
  16. android:layout_height="wrap_content"
  17. android:layout_weight="1"
  18. android:text="全部" />
  19. <RadioButton
  20. android:id="@+id/trade_sort_1"
  21. android:layout_width="wrap_content"
  22. android:layout_height="wrap_content"
  23. android:layout_weight="1"
  24. android:text="最近" />
  25. <RadioButton
  26. android:id="@+id/trade_sort_2"
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:layout_weight="1"
  30. android:text="出售" />
  31. <RadioButton
  32. android:id="@+id/trade_sort_3"
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content"
  35. android:layout_weight="1"
  36. android:text="求购" />
  37. </RadioGroup>
  38. </LinearLayout>