| | |
| | | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:background="@drawable/oval_color_white_36" |
| | | android:background="@drawable/search_bj" |
| | | android:orientation="vertical"> |
| | | |
| | | <EditText |
| | | android:id="@+id/et_search" |
| | | <RelativeLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_height="35dp" |
| | | android:layout_margin="10dp" |
| | | android:drawableLeft="@android:drawable/ic_menu_search" |
| | | android:hint="@string/search" |
| | | android:textSize="32sp" |
| | | android:textColor="#888" |
| | | android:imeOptions="actionSearch" |
| | | android:maxLines="1"/> |
| | | android:layout_marginStart="7dp" |
| | | android:layout_marginEnd="21dp"> |
| | | |
| | | <ImageView |
| | | android:id="@+id/search_iv" |
| | | android:layout_width="18dp" |
| | | android:layout_height="18dp" |
| | | android:layout_alignParentStart="true" |
| | | android:layout_centerVertical="true" |
| | | android:layout_marginStart="13dp" |
| | | android:src="@drawable/search_path" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/et_search" |
| | | android:layout_width="0dp" |
| | | android:layout_height="match_parent" |
| | | android:layout_alignParentEnd="true" |
| | | android:layout_centerVertical="true" |
| | | android:layout_marginStart="11dp" |
| | | android:layout_marginEnd="40dp" |
| | | android:layout_toEndOf="@+id/search_iv" |
| | | android:background="@null" |
| | | android:gravity="start|center_vertical" |
| | | android:hint="@string/search" |
| | | android:textColor="#FFACACAC" |
| | | android:textColorHint="#FF5B5B5B" |
| | | android:textSize="14sp" /> |
| | | </RelativeLayout> |
| | | |
| | | <View |
| | | android:id="@+id/line1_v" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="0.5dp" |
| | | android:background="#1AFFFFFF" /> |
| | | <!-- <EditText--> |
| | | <!-- android:id="@+id/et_search"--> |
| | | <!-- android:layout_width="match_parent"--> |
| | | <!-- android:layout_height="wrap_content"--> |
| | | <!-- android:layout_margin="10dp"--> |
| | | <!-- android:drawableLeft="@drawable/search_path"--> |
| | | <!-- android:hint="@string/search"--> |
| | | <!-- android:textSize="14sp"--> |
| | | <!-- android:textColor="#E6FFFFFF"--> |
| | | <!-- android:textColorHint="#66FFFFFF"--> |
| | | <!-- android:imeOptions="actionSearch"--> |
| | | <!-- android:maxLines="1"/>--> |
| | | |
| | | <androidx.recyclerview.widget.RecyclerView |
| | | android:id="@+id/rv_country" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:layout_marginBottom="10dp" |
| | | android:layout_marginLeft="10dp" |
| | | android:layout_marginRight="10dp" |
| | | /> |
| | | android:layout_marginBottom="10dp" /> |
| | | |
| | | </LinearLayout> |