OsmAnd/OsmAnd/res/layout/item_info_fragment.xml

85 lines
2.7 KiB
XML
Raw Normal View History

2020-04-17 18:12:14 +02:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="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:orientation="vertical">
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/pstsTabBackground"
android:minHeight="@dimen/dashboard_map_toolbar"
android:theme="?attr/toolbar_theme"
app:contentInsetLeft="72dp"
2020-04-28 09:54:54 +02:00
app:contentInsetStart="72dp"
app:contentInsetRight="0dp"
app:contentInsetEnd="0dp" />
2020-04-17 18:12:14 +02:00
</com.google.android.material.appbar.AppBarLayout>
<include
layout="@layout/free_version_banner"
android:background="#F00" />
<include layout="@layout/progress_with_two_texts" />
2020-04-17 18:12:14 +02:00
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/activity_background_basic">
2020-04-17 18:12:14 +02:00
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
2020-04-23 18:28:48 +02:00
android:scrollbars="none">
2020-04-17 18:12:14 +02:00
<LinearLayout
2020-04-23 18:28:48 +02:00
android:id="@+id/description_container"
2020-04-17 18:12:14 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-04-23 18:28:48 +02:00
android:orientation="vertical">
2020-04-17 18:12:14 +02:00
2020-04-23 18:28:48 +02:00
<net.osmand.plus.LockableViewPager
android:id="@+id/images_pager"
2020-04-17 18:12:14 +02:00
android:layout_width="match_parent"
2020-04-23 18:28:48 +02:00
android:layout_height="@dimen/download_description_images_height"
tools:visibility="gone" />
2020-04-17 18:12:14 +02:00
<net.osmand.plus.widgets.TextViewEx
2020-04-23 18:28:48 +02:00
android:id="@+id/description"
2020-04-17 18:12:14 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-04-23 18:28:48 +02:00
android:background="?attr/list_background_color"
2020-04-17 18:12:14 +02:00
android:letterSpacing="@dimen/text_button_letter_spacing"
android:paddingLeft="@dimen/content_padding"
2020-04-23 18:28:48 +02:00
android:paddingTop="@dimen/list_header_settings_top_margin"
2020-04-17 18:12:14 +02:00
android:paddingRight="@dimen/content_padding"
android:textColor="?android:textColorPrimary"
android:textSize="@dimen/default_list_text_size"
app:typeface="@string/font_roboto_regular"
2020-04-23 18:28:48 +02:00
tools:text="@string/plugin_disabled_descr" />
2020-04-17 18:12:14 +02:00
<include layout="@layout/card_bottom_divider" />
</LinearLayout>
</ScrollView>
<LinearLayout
2020-04-23 18:28:48 +02:00
android:id="@+id/buttons_container"
2020-04-17 18:12:14 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
2020-04-23 18:28:48 +02:00
android:background="?attr/list_background_color"
android:orientation="vertical" />
2020-04-17 18:12:14 +02:00
</FrameLayout>
</LinearLayout>