OsmAnd/OsmAnd/res/layout/dash_navigation.xml

63 lines
2.5 KiB
XML
Raw Normal View History

2015-03-26 00:48:55 +01:00
<?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="wrap_content"
android:background="?attr/expandable_list_item_background"
android:minHeight="@dimen/list_item_height"
android:orientation="vertical" >
<View
android:id="@+id/divider"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?attr/dashboard_divider"
2015-03-26 01:41:14 +01:00
android:focusable="false"/>
2015-03-26 00:48:55 +01:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2015-03-26 01:21:30 +01:00
android:minHeight="@dimen/list_item_height">
2015-03-26 00:48:55 +01:00
<ImageView
android:id="@+id/icon"
android:layout_width="@dimen/list_item_height"
android:layout_height="@dimen/list_item_height"
android:layout_gravity="center_vertical"
android:scaleType="center"
2015-03-26 01:41:14 +01:00
android:paddingLeft="@dimen/list_content_padding"
android:src="@drawable/ic_action_start_navigation"
android:layout_marginRight="@dimen/favorites_icon_right_margin" />
2015-03-26 00:48:55 +01:00
<TextView
android:id="@+id/name"
android:textSize="@dimen/default_desc_text_size"
2015-03-26 00:48:55 +01:00
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:textColor="?android:textColorPrimary"
tools:text="@string/app_version" />
<ImageButton
android:id="@+id/play"
android:contentDescription="@string/recording_context_menu_play"
android:layout_width="@dimen/list_item_height"
android:layout_height="@dimen/list_item_height"
2015-03-26 00:48:55 +01:00
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/dashFavIconMargin"
android:background="?attr/dashboard_button"
android:src="@drawable/ic_play_dark" />
<ImageButton
android:id="@+id/cancel"
android:contentDescription="@string/shared_string_cancel"
2015-03-26 00:48:55 +01:00
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:focusable="false"
android:src="@drawable/ic_action_remove_dark" />
</LinearLayout>
</LinearLayout>