OsmAnd/OsmAnd/res/layout/favourites_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

38 lines
No EOL
1.2 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="horizontal"
android:paddingBottom="5dp"
android:paddingLeft="8dp"
android:paddingRight="4dp"
android:paddingTop="5dp">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<CheckBox
android:id="@+id/check_item"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:focusable="false"
android:visibility="gone" />
</LinearLayout>
<ImageView
android:id="@+id/favourite_icon"
android:layout_width="25dp"
android:paddingRight="2dp"
android:paddingTop="2dp"
android:layout_height="fill_parent" />
<TextView
android:id="@+id/favourite_label"
android:layout_width="wrap_content"
android:layout_marginLeft="10dp"
android:layout_height="wrap_content"
style="@style/ListText" />
</LinearLayout>