OsmAnd/OsmAnd/res/layout/sherpafy_drawer_list_item.xml

26 lines
860 B
XML
Raw Normal View History

2014-07-20 03:17:05 +02:00
<?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"
2014-07-20 19:16:19 +02:00
android:orientation="horizontal"
android:paddingBottom="8dp"
android:paddingTop="8dp">
2014-07-20 19:16:19 +02:00
<ImageView
android:id="@+id/Icon"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_marginLeft="12dp"
android:layout_marginRight="12dp" />
2014-07-20 03:17:05 +02:00
<TextView
2014-07-20 19:16:19 +02:00
android:id="@+id/Text"
2014-07-20 03:17:05 +02:00
android:layout_width="match_parent"
2014-07-20 21:11:11 +02:00
android:layout_gravity="center_vertical"
android:gravity="center_vertical"
android:textSize="@dimen/default_list_text_size"
2014-07-20 03:17:05 +02:00
android:layout_height="wrap_content"
android:ellipsize="end"
2014-07-20 19:16:19 +02:00
android:maxLines="1" />
2014-07-20 03:17:05 +02:00
</LinearLayout>