OsmAnd/OsmAnd/res/layout/update_index.xml
2020-05-15 14:20:01 +03:00

48 lines
No EOL
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:id="@+id/header_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="@dimen/list_header_height"
android:orientation="horizontal"
android:paddingLeft="@dimen/list_header_padding"
android:paddingStart="@dimen/list_header_padding">
<androidx.appcompat.widget.AppCompatCheckBox
android:id="@+id/select_all"
android:focusable="false"
android:layout_gravity="center_vertical"
android:layout_marginRight="@dimen/list_header_text_left_margin"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/list_header_text_left_margin" />
<TextView
android:id="@+id/header"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="@string/download_tab_updates"/>
</LinearLayout>
<ListView
android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_marginLeft="0dp"
android:layout_marginRight="0dp"
android:layout_marginTop="0dp"
android:layout_weight="1"
android:layout_marginStart="0dp"
android:layout_marginEnd="0dp" />
<ViewStub
android:id="@+id/empty_view_stub"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>