95 lines
4.0 KiB
XML
95 lines
4.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:background="?background_page">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@id/attach_appbar_layout"
|
|
style="@style/VKAppBar"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?background_page">
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@id/toolbar"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="?actionBarSize"
|
|
android:background="?header_alternate_background"
|
|
app:collapseIcon="@drawable/ic_back_collapse"
|
|
app:contentInsetStartWithNavigation="0.0dip"
|
|
app:titleTextColor="?text_muted" />
|
|
|
|
<View
|
|
android:id="@id/attachpicker_documents_toolbar_shadow"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/picker_bg_attach_toolbar" />
|
|
|
|
<include
|
|
android:id="@id/attachpicker_documents_holder_document_layout"
|
|
layout="@layout/holder_add_document" />
|
|
|
|
<com.vk.core.view.VKTabLayout
|
|
android:id="@id/attachpicker_documents_tab_layout"
|
|
style="?tabBarTheme"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?header_alternate_background"
|
|
app:tabIndicatorColor="?header_alternate_tab_active_indicator"
|
|
app:tabSelectedTextColor="?header_alternate_tab_active_text"
|
|
app:tabTextColor="?header_alternate_tab_inactive_text" />
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<androidx.viewpager.widget.ViewPager
|
|
android:id="@id/attachpicker_documents_view_pager"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:background="?background_content"
|
|
android:visibility="gone"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
|
|
|
<com.vk.lists.RecyclerPaginatedView
|
|
android:id="@id/attach_recycler_view"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:background="?background_content"
|
|
android:scrollbars="vertical"
|
|
android:visibility="gone"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
|
|
|
<FrameLayout
|
|
android:id="@id/attach_counter_view_wrapper"
|
|
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"
|
|
android:visibility="gone">
|
|
|
|
<com.vk.attachpicker.widget.AttachCounterView
|
|
android:id="@id/attach_counter_view"
|
|
style="@style/VKUIButton.Primary.Big"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_gravity="bottom" />
|
|
</FrameLayout>
|
|
|
|
<ProgressBar
|
|
android:id="@id/attachpicker_documents_progressbar"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:visibility="gone" />
|
|
|
|
<include
|
|
android:id="@id/attachpicker_documents_error"
|
|
layout="@layout/appkit_error"
|
|
android:visibility="gone" />
|
|
|
|
<com.vk.core.view.AppBarShadowView style="@style/PostingAppBarShadow" />
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |