226 lines
No EOL
8.1 KiB
XML
226 lines
No EOL
8.1 KiB
XML
<?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="wrap_content"
|
|
android:orientation="vertical"
|
|
tools:layout_gravity="bottom">
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
android:id="@+id/scroll_view_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
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">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="@dimen/list_item_content_margin"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="@dimen/content_padding_standard"
|
|
android:paddingRight="@dimen/content_padding_standard">
|
|
|
|
<net.osmand.telegram.ui.views.TextViewEx
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/set_time"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="@dimen/list_item_title_text_size"
|
|
app:firstBaselineToTopHeight="28sp"
|
|
app:typeface="@string/font_roboto_medium" />
|
|
|
|
<net.osmand.telegram.ui.views.TextViewEx
|
|
android:id="@+id/description"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/set_time_timeline_descr"
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
android:textSize="@dimen/hint_text_size"
|
|
app:typeface="@string/font_roboto_regular" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="@dimen/list_item_height_min"
|
|
android:orientation="horizontal">
|
|
|
|
<net.osmand.telegram.ui.views.TextViewEx
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:gravity="center_vertical"
|
|
android:paddingLeft="@dimen/content_padding_standard"
|
|
android:paddingRight="@dimen/content_padding_standard"
|
|
android:text="@string/shared_string_start"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="@dimen/list_item_title_text_size"
|
|
app:typeface="@string/font_roboto_regular" />
|
|
|
|
<net.osmand.telegram.ui.views.TextViewEx
|
|
android:id="@+id/date_start_btn"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:gravity="center_vertical"
|
|
android:maxLines="1"
|
|
android:paddingLeft="@dimen/content_padding_standard"
|
|
android:paddingRight="@dimen/content_padding_standard"
|
|
android:textColor="?attr/ctrl_active_color"
|
|
android:textSize="@dimen/list_item_title_text_size"
|
|
app:typeface="@string/font_roboto_medium"
|
|
tools:text="15 Feb 2019" />
|
|
|
|
<View
|
|
android:layout_width="1dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="@dimen/list_item_icon_margin_left"
|
|
android:layout_marginBottom="@dimen/list_item_icon_margin_left"
|
|
android:background="@color/card_divider_light" />
|
|
|
|
<net.osmand.telegram.ui.views.TextViewEx
|
|
android:id="@+id/time_start_btn"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:gravity="center_vertical"
|
|
android:maxLines="1"
|
|
android:paddingLeft="@dimen/content_padding_standard"
|
|
android:paddingRight="@dimen/content_padding_standard"
|
|
android:textColor="?attr/ctrl_active_color"
|
|
android:textSize="@dimen/list_item_title_text_size"
|
|
app:typeface="@string/font_roboto_medium"
|
|
tools:text="12:12" />
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginStart="@dimen/content_padding_standard"
|
|
android:layout_marginLeft="@dimen/content_padding_standard"
|
|
android:background="@color/card_divider_light" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="@dimen/list_item_height_min"
|
|
android:orientation="horizontal">
|
|
|
|
<net.osmand.telegram.ui.views.TextViewEx
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:gravity="center_vertical"
|
|
android:paddingLeft="@dimen/content_padding_standard"
|
|
android:paddingRight="@dimen/content_padding_standard"
|
|
android:text="@string/shared_string_end"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="@dimen/list_item_title_text_size"
|
|
app:typeface="@string/font_roboto_regular" />
|
|
|
|
<net.osmand.telegram.ui.views.TextViewEx
|
|
android:id="@+id/date_end_btn"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:gravity="center_vertical"
|
|
android:maxLines="1"
|
|
android:paddingLeft="@dimen/content_padding_standard"
|
|
android:paddingRight="@dimen/content_padding_standard"
|
|
android:textColor="?attr/ctrl_active_color"
|
|
android:textSize="@dimen/list_item_title_text_size"
|
|
app:typeface="@string/font_roboto_medium"
|
|
tools:text="15 Feb 2019" />
|
|
|
|
<View
|
|
android:layout_width="1dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="@dimen/list_item_icon_margin_left"
|
|
android:layout_marginBottom="@dimen/list_item_icon_margin_left"
|
|
android:background="@color/card_divider_light" />
|
|
|
|
<net.osmand.telegram.ui.views.TextViewEx
|
|
android:id="@+id/time_end_btn"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:gravity="center_vertical"
|
|
android:maxLines="1"
|
|
android:paddingLeft="@dimen/content_padding_standard"
|
|
android:paddingRight="@dimen/content_padding_standard"
|
|
android:textColor="?attr/ctrl_active_color"
|
|
android:textSize="@dimen/list_item_title_text_size"
|
|
app:typeface="@string/font_roboto_medium"
|
|
tools:text="12:12" />
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_marginStart="@dimen/content_padding_standard"
|
|
android:layout_marginLeft="@dimen/content_padding_standard"
|
|
android:background="@color/card_divider_light" />
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/buttons_bottom_bar_height"
|
|
android:background="?attr/card_bg_color"
|
|
android:gravity="center_vertical"
|
|
android:paddingLeft="@dimen/content_padding_half"
|
|
android:paddingRight="@dimen/content_padding_half">
|
|
|
|
<include
|
|
layout="@layout/secondary_btn"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<View
|
|
android:layout_width="@dimen/content_padding_half"
|
|
android:layout_height="match_parent" />
|
|
|
|
<FrameLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1">
|
|
|
|
<include
|
|
layout="@layout/primary_btn"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progressBar"
|
|
android:layout_width="@dimen/progress_bar_size_small"
|
|
android:layout_height="@dimen/progress_bar_size_small"
|
|
android:layout_gravity="center"
|
|
android:visibility="gone" />
|
|
|
|
</FrameLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |