2010-06-03 11:34:04 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-07-28 18:10:29 +02:00
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-03-07 12:37:31 +01:00
|
|
|
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"
|
2015-07-28 18:10:29 +02:00
|
|
|
android:orientation="vertical">
|
2010-06-03 11:34:04 +02:00
|
|
|
|
2015-03-07 12:37:31 +01:00
|
|
|
<View
|
2015-07-28 18:10:29 +02:00
|
|
|
android:id="@+id/divider"
|
2015-03-07 12:37:31 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
2015-07-28 18:10:29 +02:00
|
|
|
android:background="?attr/dashboard_divider"
|
|
|
|
android:visibility="gone"/>
|
2014-11-17 16:25:17 +01:00
|
|
|
|
2015-03-07 12:37:31 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2015-03-07 16:41:32 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2015-03-07 12:37:31 +01:00
|
|
|
android:orientation="horizontal"
|
2015-07-28 18:10:29 +02:00
|
|
|
android:paddingLeft="@dimen/list_content_padding">
|
2015-02-16 17:04:47 +01:00
|
|
|
|
2015-03-07 12:37:31 +01:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/check_item"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-03-07 16:41:32 +01:00
|
|
|
android:layout_gravity="center_vertical"
|
2015-07-28 18:10:29 +02:00
|
|
|
android:layout_marginRight="@dimen/favorites_icon_right_margin"
|
2015-03-07 12:37:31 +01:00
|
|
|
android:focusable="false"
|
|
|
|
android:visibility="gone"
|
2015-07-28 18:10:29 +02:00
|
|
|
tools:visibility="visible"/>
|
2014-11-17 16:25:17 +01:00
|
|
|
|
2015-03-07 12:37:31 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/favourite_icon"
|
2015-03-25 15:54:24 +01:00
|
|
|
android:layout_width="@dimen/standard_icon_size"
|
|
|
|
android:layout_height="@dimen/standard_icon_size"
|
2015-03-07 12:37:31 +01:00
|
|
|
android:layout_gravity="center_vertical"
|
2015-07-28 18:10:29 +02:00
|
|
|
android:layout_marginRight="@dimen/favorites_icon_right_margin"/>
|
2015-02-10 18:18:44 +01:00
|
|
|
|
2015-03-07 12:37:31 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_weight="1"
|
2015-03-07 13:18:26 +01:00
|
|
|
android:orientation="vertical"
|
2015-07-28 18:10:29 +02:00
|
|
|
android:paddingRight="@dimen/list_content_padding">
|
2015-02-10 18:18:44 +01:00
|
|
|
|
2015-03-07 12:37:31 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/favourite_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="?android:textColorPrimary"
|
2015-04-17 00:37:39 +02:00
|
|
|
android:textSize="@dimen/default_list_text_size"
|
2015-07-28 18:10:29 +02:00
|
|
|
tools:text="@string/lorem_ipsum"/>
|
2015-02-10 18:18:44 +01:00
|
|
|
|
2015-03-07 12:37:31 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-07-28 18:10:29 +02:00
|
|
|
android:orientation="horizontal">
|
2015-02-10 18:18:44 +01:00
|
|
|
|
2015-03-07 12:37:31 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/direction"
|
2015-04-15 11:33:33 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-07-28 18:10:29 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:src="@drawable/ic_destination_arrow_white"/>
|
2015-02-10 18:18:44 +01:00
|
|
|
|
2015-03-07 12:37:31 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/distance"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="2dp"
|
|
|
|
android:textColor="?android:textColorSecondary"
|
2015-04-17 00:37:39 +02:00
|
|
|
android:textSize="@dimen/default_sub_text_size"
|
2015-07-28 18:10:29 +02:00
|
|
|
tools:text="100500 km"/>
|
2015-02-10 18:18:44 +01:00
|
|
|
|
2015-03-07 12:37:31 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/group_image"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginLeft="4dp"
|
2015-07-28 18:10:29 +02:00
|
|
|
android:src="@drawable/ic_small_group"/>
|
2015-02-10 18:18:44 +01:00
|
|
|
|
2015-03-07 12:37:31 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/group_name"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2015-04-15 10:18:08 +02:00
|
|
|
android:layout_marginLeft="2dp"
|
2015-03-07 12:37:31 +01:00
|
|
|
android:textColor="?android:textColorSecondary"
|
2015-07-28 18:10:29 +02:00
|
|
|
android:textSize="@dimen/default_sub_text_size"/>
|
2015-03-07 12:37:31 +01:00
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
2015-02-10 18:18:44 +01:00
|
|
|
|
2015-03-07 12:37:31 +01:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/navigate_to"
|
2015-04-17 00:37:39 +02:00
|
|
|
android:layout_width="@dimen/list_item_height"
|
|
|
|
android:layout_height="@dimen/list_item_height"
|
2015-03-07 12:37:31 +01:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginLeft="@dimen/dashFavIconMargin"
|
|
|
|
android:background="?attr/dashboard_button"
|
2015-07-28 18:10:29 +02:00
|
|
|
android:src="@drawable/ic_action_test_light"
|
|
|
|
android:visibility="invisible"/>
|
|
|
|
|
2015-03-10 00:49:29 +01:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/options"
|
2015-04-17 00:37:39 +02:00
|
|
|
android:layout_width="@dimen/list_item_height"
|
|
|
|
android:layout_height="@dimen/list_item_height"
|
2015-03-10 00:49:29 +01:00
|
|
|
android:layout_gravity="center_vertical"
|
2015-04-24 23:45:03 +02:00
|
|
|
android:background="?attr/dashboard_button"
|
2015-07-28 18:10:29 +02:00
|
|
|
android:src="@drawable/ic_overflow_menu_white"
|
|
|
|
android:visibility="gone"/>
|
2015-03-07 12:37:31 +01:00
|
|
|
</LinearLayout>
|
2010-06-03 11:34:04 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|