forked from upstream-mirrors/OpenTracks
94 lines
3.3 KiB
XML
94 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2012 Google Inc.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:gravity="top"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:minHeight="?android:attr/listPreferredItemHeight"
|
|
android:orientation="horizontal"
|
|
android:paddingBottom="12dp"
|
|
android:paddingLeft="12dp"
|
|
android:paddingRight="12dp"
|
|
android:paddingTop="8dp" >
|
|
<ImageView
|
|
android:contentDescription="@string/icon_track"
|
|
android:id="@+id/list_item_icon"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:paddingTop="4dp" />
|
|
<LinearLayout
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_width="match_parent"
|
|
android:orientation="vertical" >
|
|
<LinearLayout
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:orientation="horizontal" >
|
|
<LinearLayout
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_width="0dp"
|
|
android:orientation="vertical" >
|
|
<TextView
|
|
android:id="@+id/list_item_name"
|
|
android:layout_width="fill_parent"
|
|
android:singleLine="true"
|
|
style="@style/TextLarge" />
|
|
</LinearLayout>
|
|
<TextView
|
|
android:id="@+id/list_item_date"
|
|
android:layout_gravity="bottom"
|
|
android:paddingLeft="8dp"
|
|
android:singleLine="true"
|
|
android:textColor="@android:color/secondary_text_dark"
|
|
style="@style/TextSmall" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:orientation="horizontal" >
|
|
<LinearLayout
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_width="0dp"
|
|
android:orientation="vertical" >
|
|
<TextView
|
|
android:id="@+id/list_item_time_distance"
|
|
android:singleLine="true"
|
|
android:textColor="@android:color/primary_text_dark"
|
|
style="@style/TextSmall" />
|
|
</LinearLayout>
|
|
<TextView
|
|
android:id="@+id/list_item_time"
|
|
android:layout_gravity="bottom"
|
|
android:paddingLeft="8dp"
|
|
android:singleLine="true"
|
|
android:textColor="@android:color/secondary_text_dark"
|
|
style="@style/TextSmall" />
|
|
</LinearLayout>
|
|
<TextView
|
|
android:id="@+id/list_item_recording"
|
|
android:singleLine="true"
|
|
style="@style/TextSmall" />
|
|
<TextView
|
|
android:id="@+id/list_item_description"
|
|
android:singleLine="false"
|
|
android:textColor="@android:color/secondary_text_dark"
|
|
style="@style/TextSmall" />
|
|
</LinearLayout>
|
|
</LinearLayout> |