135 lines
No EOL
4.9 KiB
XML
135 lines
No EOL
4.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout 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"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/activity_background_color">
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:id="@+id/nested_scroll"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
osmand:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/bg_color"
|
|
android:orientation="vertical">
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:id="@+id/description"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:paddingStart="@dimen/content_padding"
|
|
android:paddingTop="@dimen/list_header_settings_top_margin"
|
|
android:paddingEnd="@dimen/content_padding"
|
|
android:paddingBottom="@dimen/list_header_settings_top_margin"
|
|
android:lineSpacingMultiplier="@dimen/line_spacing_multiplier_description"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
tools:text="@string/import_complete_description" />
|
|
|
|
<include
|
|
layout="@layout/divider"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/content_padding"
|
|
android:layout_marginLeft="@dimen/content_padding" />
|
|
|
|
</LinearLayout>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:paddingBottom="@dimen/bottom_sheet_cancel_button_height" />
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/button_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:background="?attr/bg_color"
|
|
android:orientation="vertical">
|
|
|
|
<include layout="@layout/divider" />
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dialog_button_height"
|
|
android:layout_marginStart="@dimen/content_padding"
|
|
android:layout_marginTop="@dimen/content_padding_small"
|
|
android:layout_marginEnd="@dimen/content_padding"
|
|
android:layout_marginBottom="@dimen/content_padding_small"
|
|
android:background="?attr/dlg_btn_secondary">
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:id="@+id/button_close"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:gravity="center"
|
|
android:text="@string/shared_string_close"
|
|
android:textColor="?attr/active_color_basic"
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
tools:text="Button" />
|
|
|
|
</FrameLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/appbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@android:color/transparent">
|
|
|
|
<com.google.android.material.appbar.CollapsingToolbarLayout
|
|
android:id="@+id/toolbar_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/toolbar_height_expanded"
|
|
android:background="?attr/actionModeBackground"
|
|
osmand:expandedTitleMarginBottom="@dimen/content_padding_small"
|
|
osmand:expandedTitleMarginEnd="@dimen/content_padding"
|
|
osmand:expandedTitleMarginStart="@dimen/content_padding"
|
|
osmand:collapsedTitleTextAppearance="@style/AppBarTitle"
|
|
osmand:expandedTitleGravity="start|bottom"
|
|
osmand:expandedTitleTextAppearance="@style/AppBarTitle"
|
|
osmand:layout_scrollFlags="scroll|exitUntilCollapsed">
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/toolbar_height"
|
|
android:minHeight="@dimen/toolbar_height"
|
|
osmand:titleMarginEnd="0dp"
|
|
osmand:titleMarginStart="0dp"
|
|
osmand:layout_collapseMode="pin"
|
|
osmand:layout_scrollFlags="scroll|enterAlways|exitUntilCollapsed"
|
|
osmand:title="@string/shared_string_import_complete"/>
|
|
|
|
</com.google.android.material.appbar.CollapsingToolbarLayout>
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/shadowView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/abp__shadow_height"
|
|
osmand:srcCompat="@drawable/preference_activity_action_bar_shadow"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |