OsmAnd/OsmAnd/res/layout/osmo_groups_list_header.xml
2017-02-03 06:00:24 +03:00

75 lines
No EOL
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
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">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:minHeight="@dimen/list_item_height"
android:orientation="horizontal">
<ImageView
android:id="@+id/osmo_status"
android:layout_width="@dimen/list_item_height"
android:layout_height="@dimen/list_item_height"
android:layout_gravity="center_vertical"
android:scaleType="centerInside"
android:src="@drawable/mon_osmo_conn_small"/>
<include
android:id="@+id/enable_service"
layout="@layout/check_item"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:focusable="false"
android:text="@string/osmo_start_service"
android:textColor="@color/color_white"/>
</LinearLayout>
<LinearLayout
android:id="@+id/share_my_location_layout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:minHeight="@dimen/list_item_height"
android:orientation="horizontal">
<ImageView
android:id="@+id/share_my_location"
android:contentDescription="@string/shared_string_share"
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="centerInside"
android:src="@drawable/ic_action_gshare_dark"/>
<include
android:id="@+id/enable_tracker"
layout="@layout/check_item"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:checked="false"
android:focusable="false"
android:text="@string/osmo_enable_tracker"
/>
</LinearLayout>
<TextView
android:id="@+id/motd"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/list_content_padding"
android:autoLink="web"
android:gravity="center"
android:textColor="@color/color_white"
android:textSize="@dimen/default_desc_text_size"
android:visibility="gone"/>
</LinearLayout>