OsmAnd/OsmAnd-telegram/res/layout/bottom_sheet_sharing_status.xml

67 lines
2.2 KiB
XML
Raw Normal View History

2018-10-12 18:17:38 +02:00
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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="wrap_content"
android:orientation="vertical"
tools:layout_gravity="bottom">
2020-03-04 15:12:06 +01:00
<androidx.coordinatorlayout.widget.CoordinatorLayout
2018-10-12 18:17:38 +02:00
android:id="@+id/scroll_view_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/list_view_bottom_padding">
2020-03-04 15:12:06 +01:00
<androidx.core.widget.NestedScrollView
2018-10-12 18:17:38 +02:00
android:id="@+id/scroll_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:behavior_hideable="true"
app:behavior_peekHeight="@dimen/bottom_sheet_peek_height"
app:layout_behavior="@string/bottom_sheet_behavior">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/card_bg_color"
android:orientation="vertical">
<net.osmand.telegram.ui.views.TextViewEx
android:layout_width="match_parent"
android:layout_height="48dp"
android:paddingLeft="@dimen/content_padding_standard"
android:paddingRight="@dimen/content_padding_standard"
android:text="@string/sharing_status"
android:textColor="?android:textColorPrimary"
android:textSize="@dimen/list_item_title_text_size"
app:firstBaselineToTopHeight="28sp"
2018-10-16 17:42:43 +02:00
app:typeface="@string/font_roboto_medium" />
2018-10-12 18:17:38 +02:00
<LinearLayout
android:id="@+id/items_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-10-16 17:42:43 +02:00
android:orientation="vertical" />
2018-10-12 18:17:38 +02:00
</LinearLayout>
2020-03-04 15:12:06 +01:00
</androidx.core.widget.NestedScrollView>
2018-10-12 18:17:38 +02:00
2020-03-04 15:12:06 +01:00
</androidx.coordinatorlayout.widget.CoordinatorLayout>
2018-10-12 18:17:38 +02:00
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:background="?attr/card_bg_color">
<include
layout="@layout/secondary_btn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-10-16 17:42:43 +02:00
android:layout_margin="@dimen/content_padding_half" />
2018-10-12 18:17:38 +02:00
</FrameLayout>
</FrameLayout>