OsmAnd/OsmAnd/res/layout/fragment_search_list.xml

49 lines
1.6 KiB
XML
Raw Normal View History

<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context="net.osmand.plus.liveupdates.CountriesSearchSelectionFragment">
<LinearLayout
android:layout_width="match_parent"
2016-01-22 16:26:48 +01:00
android:layout_height="56dp"
android:gravity="center_vertical"
android:orientation="horizontal">
<ImageButton
android:id="@+id/clearButton"
android:contentDescription="@string/shared_string_close"
style="@style/Widget.AppCompat.Button.Borderless"
android:layout_width="48dp"
android:layout_height="48dp"
android:src="@drawable/ic_action_remove_dark"/>
<EditText
android:id="@+id/searchEditText"
android:layout_width="match_parent"
android:layout_height="match_parent"
2016-01-29 19:13:48 +01:00
android:layout_marginLeft="16dp"
android:background="@null"
android:gravity="center_vertical"
android:lines="1"
tools:text="Search request"/>
</LinearLayout>
2016-01-29 19:13:48 +01:00
<FrameLayout
android:layout_width="match_parent"
2016-01-29 19:13:48 +01:00
android:layout_height="match_parent">
<ListView
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawSelectorOnTop="true"/>
2016-02-20 14:35:03 +01:00
<include layout="@layout/card_bottom_divider"/>
2016-01-29 19:13:48 +01:00
</FrameLayout>
</LinearLayout>