OsmAnd/OsmAnd/res/layout/osmo_groups_list_header.xml

75 lines
2.8 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2015-12-01 12:32:01 +01:00
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="?attr/osmo_header_background"
android:orientation="vertical"
android:paddingRight="@dimen/list_content_padding">
2014-05-24 20:04:43 +02:00
2015-05-26 01:00:54 +02:00
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
2015-05-26 01:20:46 +02:00
android:minHeight="@dimen/list_item_height"
2016-03-16 10:43:12 +01:00
android:orientation="horizontal">
2014-05-24 20:04:43 +02:00
2015-05-26 01:00:54 +02:00
<ImageView
android:id="@+id/osmo_status"
2015-05-26 01:20:46 +02:00
android:layout_width="@dimen/list_item_height"
android:layout_height="@dimen/list_item_height"
2015-05-26 01:00:54 +02:00
android:layout_gravity="center_vertical"
2016-03-16 10:43:12 +01:00
android:scaleType="centerInside"
android:src="@drawable/mon_osmo_conn_small"/>
2014-05-24 20:04:43 +02:00
2015-05-26 01:00:54 +02:00
<include
android:id="@+id/enable_service"
2016-03-16 10:43:12 +01:00
layout="@layout/check_item"
2015-05-26 01:00:54 +02:00
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:focusable="false"
android:text="@string/osmo_start_service"
2016-03-16 10:43:12 +01:00
android:textColor="@color/color_white"/>
2015-05-26 01:00:54 +02:00
</LinearLayout>
2015-05-26 01:00:54 +02:00
<LinearLayout
2016-03-16 10:43:12 +01:00
android:id="@+id/share_my_location_layout"
2015-05-26 01:00:54 +02:00
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:minHeight="@dimen/list_item_height"
2016-03-16 10:43:12 +01:00
android:orientation="horizontal">
2014-07-03 02:13:16 +02:00
2015-05-26 01:00:54 +02:00
<ImageView
android:id="@+id/share_my_location"
android:contentDescription="@string/shared_string_share"
2015-05-26 01:00:54 +02: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"
2015-05-26 01:03:30 +02:00
android:scaleType="centerInside"
2016-03-16 10:43:12 +01:00
android:src="@drawable/ic_action_gshare_dark"/>
2015-05-26 01:00:54 +02:00
<include
android:id="@+id/enable_tracker"
2016-03-16 10:43:12 +01:00
layout="@layout/check_item"
2015-05-26 01:00:54 +02:00
android:layout_width="fill_parent"
android:layout_height="wrap_content"
2016-03-16 10:43:12 +01:00
android:layout_gravity="center_vertical"
2015-05-26 01:00:54 +02:00
android:checked="false"
android:focusable="false"
android:text="@string/osmo_enable_tracker"
2016-03-16 10:43:12 +01:00
/>
2015-05-26 01:00:54 +02:00
</LinearLayout>
2016-03-16 10:43:12 +01:00
<TextView
2015-05-26 01:00:54 +02:00
android:id="@+id/motd"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
2015-05-26 01:20:46 +02:00
android:layout_marginLeft="@dimen/list_content_padding"
2015-05-26 01:00:54 +02:00
android:autoLink="web"
android:gravity="center"
android:textColor="@color/color_white"
android:textSize="@dimen/default_desc_text_size"
2016-03-16 10:43:12 +01:00
android:visibility="gone"/>
2014-07-03 02:13:16 +02:00
</LinearLayout>