97 lines
No EOL
3 KiB
XML
97 lines
No EOL
3 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="match_parent"
|
|
android:layout_height="@dimen/dashListItemHeight"
|
|
android:background="?attr/dashboard_button"
|
|
android:orientation="vertical">
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="?attr/dashboard_divider"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginLeft="@dimen/dashFavIconMargin"
|
|
android:layout_marginRight="@dimen/dashFavIconMargin"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="@dimen/dashFavNameTextSize"
|
|
android:maxLines="1"
|
|
android:ellipsize="end"
|
|
tools:text="@string/lorem_ipsum" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/direction"
|
|
android:layout_width="@dimen/dashFavDirectionSize"
|
|
android:layout_height="@dimen/dashFavDirectionSize"
|
|
android:layout_gravity="center_vertical"
|
|
android:visibility="gone" />
|
|
|
|
<TextView
|
|
android:id="@+id/distance"
|
|
android:layout_marginLeft="2dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="?android:textColorSecondary"
|
|
android:textSize="@dimen/showAllButtonTextSize"
|
|
tools:text="100500 km"/>
|
|
|
|
<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"
|
|
android:src="@drawable/ic_small_group"/>
|
|
|
|
<TextView
|
|
android:id="@+id/group_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginLeft="4dp"
|
|
android:textColor="@color/dashboard_descr_colol"
|
|
android:textSize="@dimen/showAllButtonTextSize"/>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<ImageButton
|
|
android:id="@+id/navigate_to"
|
|
android:layout_width="@dimen/dashListItemHeight"
|
|
android:layout_height="@dimen/dashListItemHeight"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginLeft="@dimen/dashFavIconMargin"
|
|
android:background="?attr/dashboard_button"
|
|
android:src="@drawable/ic_action_gdirections_light"/>
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout> |