OsmAnd/OsmAnd/res/layout/gpx_item_list_item.xml
IreuN 5141f9f6da Reformating of the code.
This will not change in the layout, it's here just to better maintain
the code.
2014-11-17 16:25:37 +01:00

56 lines
No EOL
1.9 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:orientation="vertical"
android:paddingBottom="4dp"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:paddingTop="4dp">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<FrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="3dp">
<ImageView
android:id="@+id/icon"
android:layout_width="25dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="2dp" />
<TextView
android:id="@+id/additional"
style="@style/ListText.Small"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginRight="3dp"
android:layout_marginLeft="2dp"></TextView>
</FrameLayout>
<TextView
android:id="@+id/name"
style="@style/ListText.Small"
android:layout_width="0dp"
android:paddingTop="2dp"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_weight="1"
android:layout_gravity="center_vertical"></TextView>
</LinearLayout>
<TextView
android:id="@+id/description"
style="@style/ListText.Small"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:maxLines="25"></TextView>
</LinearLayout>