forked from upstream-mirrors/OpenTracks
75 lines
2.8 KiB
XML
75 lines
2.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2010 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:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:minHeight="?android:attr/listPreferredItemHeight"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="2dp"
|
|
android:paddingTop="2dp">
|
|
|
|
<LinearLayout
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="horizontal">
|
|
<ImageView android:id="@+id/track_list_item_icon"
|
|
android:contentDescription="@string/track_icon_description"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:paddingLeft="4dp"
|
|
android:paddingRight="2dp"
|
|
android:paddingTop="5dp"
|
|
android:src="@drawable/track" />
|
|
<TextView android:id="@+id/track_list_item_name"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="6dp"
|
|
android:layout_marginTop="6dp"
|
|
android:layout_width="wrap_content"
|
|
android:singleLine="true"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"/>
|
|
<TextView android:id="@+id/track_list_item_category"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="6dp"
|
|
android:layout_marginTop="6dp"
|
|
android:layout_width="fill_parent"
|
|
android:singleLine = "true"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"/>
|
|
</LinearLayout>
|
|
|
|
<TextView android:id="@+id/track_list_item_time"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="6dp"
|
|
android:singleLine="true"
|
|
android:textColor="#fff"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"/>
|
|
<TextView android:id="@+id/track_list_item_stats"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="6dp"
|
|
android:singleLine="true"
|
|
android:textColor="#0f0"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"/>
|
|
<TextView android:id="@+id/track_list_item_description"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft = "6dp"
|
|
android:singleLine = "false"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"/>
|
|
|
|
</LinearLayout>
|