97 lines
4.2 KiB
XML
97 lines
4.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<com.vk.core.view.FitSystemWindowsFrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@id/fragment_wrapper"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent">
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
android:id="@id/main_content"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:fitsSystemWindows="@bool/picker_transparent_status_bar">
|
|
|
|
<View
|
|
android:id="@id/click_handler"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent" />
|
|
|
|
<com.vk.attachpicker.widget.ContentViewPager
|
|
android:id="@id/pager"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:fitsSystemWindows="@bool/picker_transparent_status_bar"
|
|
app:layout_behavior="com.google.android.material.bottomsheet.PagerViewBottomSheetBehavior" />
|
|
|
|
<FrameLayout
|
|
android:id="@id/fl_tabs_container"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="@dimen/picker_tab_panel_height"
|
|
android:background="@drawable/picker_bg_tabs_panel"
|
|
android:visibility="invisible">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@id/rv_tabs"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:layout_gravity="center_horizontal"
|
|
android:clipToPadding="false"
|
|
android:paddingStart="4.0dip"
|
|
android:paddingEnd="4.0dip" />
|
|
|
|
<View
|
|
android:id="@id/tabs_overlay"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:alpha="0.0"
|
|
android:background="?background_light" />
|
|
|
|
<com.vk.attachpicker.widget.ToolbarContainer
|
|
android:id="@id/tc_toolbar_container"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:background="?background_content"
|
|
android:visibility="invisible" />
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:id="@id/fl_bottom_button"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="76.0dip"
|
|
android:layout_gravity="bottom">
|
|
|
|
<View
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="8.0dip"
|
|
android:background="@drawable/picker_bg_attach_bottom_toolbar_shadow" />
|
|
|
|
<FrameLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="@dimen/picker_attach_btn_height"
|
|
android:layout_gravity="bottom"
|
|
android:background="?background_content"
|
|
android:paddingStart="@dimen/picker_attach_btn_left_right_space"
|
|
android:paddingTop="@dimen/picker_attach_btn_top_bot_space"
|
|
android:paddingEnd="@dimen/picker_attach_btn_left_right_space"
|
|
android:paddingBottom="@dimen/picker_attach_btn_top_bot_space">
|
|
|
|
<com.vk.attachpicker.widget.AttachCounterView
|
|
android:id="@id/acv_bottom_panel_counter"
|
|
style="@style/VKUIButton.Primary.Big"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent" />
|
|
|
|
<TextView
|
|
android:id="@id/tv_bottom_panel_cancel"
|
|
style="@style/VKUIButton.Secondary.Big"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:gravity="center"
|
|
android:includeFontPadding="false"
|
|
android:maxLines="1"
|
|
android:text="@string/picker_cancel" />
|
|
</FrameLayout>
|
|
</FrameLayout>
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
</com.vk.core.view.FitSystemWindowsFrameLayout> |