OsmAnd/OsmAnd/res/layout/download_item_list_section.xml

40 lines
1.5 KiB
XML
Raw Normal View History

2015-10-02 19:54:44 +02:00
<?xml version="1.0" encoding="utf-8"?>
2015-10-06 08:43:06 +02:00
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
2015-10-06 08:43:06 +02:00
android:layout_width="match_parent"
2016-03-21 15:55:09 +01:00
android:layout_height="wrap_content"
2015-10-06 08:43:06 +02:00
android:gravity="center_vertical"
2016-03-21 15:55:09 +01:00
android:minHeight="40dp"
android:orientation="horizontal"
2015-10-06 08:43:06 +02:00
android:paddingLeft="@dimen/list_header_padding"
2016-04-28 12:29:56 +02:00
android:background="?attr/ctx_menu_info_view_bg"
2015-10-06 08:43:06 +02:00
android:paddingRight="@dimen/list_header_padding">
2015-10-02 19:54:44 +02:00
<net.osmand.plus.widgets.TextViewEx
2016-03-21 15:55:09 +01:00
android:id="@+id/title"
android:layout_width="0dp"
2015-10-02 19:54:44 +02:00
android:layout_height="wrap_content"
android:layout_marginLeft="12dp"
android:layout_marginRight="12dp"
android:layout_weight="1"
2015-10-02 19:54:44 +02:00
android:maxLines="1"
android:textSize="@dimen/default_desc_text_size"
osmand:typeface="@string/font_roboto_medium"
2015-10-06 08:43:06 +02:00
tools:text="World Regions"/>
2015-10-02 19:54:44 +02:00
<net.osmand.plus.widgets.TextViewEx
android:id="@+id/section_description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="12dp"
android:layout_marginRight="12dp"
android:maxLines="1"
android:textSize="@dimen/default_desc_text_size"
2016-03-21 15:55:09 +01:00
android:visibility="gone"
osmand:typeface="@string/font_roboto_medium"
tools:text="600Mb"
2016-03-21 15:55:09 +01:00
tools:visibility="visible"/>
2015-10-02 19:54:44 +02:00
</LinearLayout>