trade_list_search.xml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="vertical" android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:id="@+id/trade_list_search_parent_layout">
  6. <LinearLayout
  7. android:id="@+id/trade_list_search_layout"
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"
  10. android:background="@color/colorPrimary"
  11. android:orientation="horizontal"
  12. android:gravity="center_vertical"
  13. android:visibility="visible"
  14. android:padding="8dp">
  15. <EditText
  16. android:id="@+id/trade_list_search_ET"
  17. android:layout_width="match_parent"
  18. android:layout_height="wrap_content"
  19. android:layout_weight="9"
  20. android:hint="请输入搜索内容"
  21. android:textColorHint="@color/white" >
  22. <requestFocus/>
  23. </EditText>
  24. <ImageView
  25. android:layout_width="wrap_content"
  26. android:layout_height="wrap_content"
  27. android:src="@drawable/ic_action_search"/>
  28. <TextView
  29. android:id="@+id/trade_list_search"
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content"
  32. android:text="搜索"
  33. android:textSize="18sp"
  34. android:textColor="@color/white"/>
  35. </LinearLayout>
  36. </LinearLayout>