OsmAnd/OsmAnd/res/layout/searchpoi.xml
Igor B. Poretsky 60a6b92d9a Filled contentDescription field of the most graphic elements that should be accessible.
Only layout files are touched and no new strings added.
2016-04-10 14:19:40 +03:00

73 lines
No EOL
2.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<LinearLayout
android:id="@+id/SearchFilterLayout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
tools:visibility="visible"
android:visibility="gone"
android:orientation="horizontal" >
<ImageView
android:id="@+id/search_icon"
android:layout_width="@dimen/standard_icon_size"
android:layout_height="@dimen/standard_icon_size"
android:layout_gravity="center_vertical"
android:layout_marginRight="8dp"
android:src="@android:drawable/ic_search_category_default" />
<!-- to not gain focus everytime -->
<LinearLayout
android:layout_width="0px"
android:layout_height="0px"
android:focusable="true"
android:focusableInTouchMode="true" />
<EditText
android:id="@+id/searchEditText"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_marginRight="@dimen/list_content_padding"
android:layout_weight="1"
android:maxLines="1"
android:singleLine="true"
android:lines="1"
android:nextFocusLeft="@id/searchEditText"
android:nextFocusUp="@id/searchEditText"
android:textColor="?android:textColorPrimary"
android:imeOptions="actionSearch"
tools:text="@string/lorem_ipsum" >
</EditText>
<ImageView
android:id="@+id/options"
android:contentDescription="@string/shared_string_more"
android:layout_width="@dimen/list_item_height"
android:layout_height="@dimen/list_item_height"
android:layout_gravity="center_vertical"
android:background="?attr/dashboard_button"
android:scaleType="center"
android:src="@drawable/ic_overflow_menu_white" />
</LinearLayout>
<ListView
android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_weight="1" />
<net.osmand.plus.activities.search.toolbar.SplitToolbar
android:id="@+id/poiSplitbar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="?attr/bottomToolBarColor"
android:orientation="horizontal" />
</LinearLayout>