23 lines
4.5 KiB
XML
23 lines
4.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout android:background="?background_content" android:layout_width="fill_parent" android:layout_height="fill_parent"
|
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<com.google.android.material.appbar.AppBarLayout android:background="?header_alternate_background" android:layout_width="fill_parent" android:layout_height="?actionBarSize" style="@style/VKAppBar">
|
|
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
|
|
<androidx.appcompat.widget.AppCompatImageView android:layout_gravity="center_vertical" android:id="@id/attach_gallery_close_button" android:background="?selectableItemBackgroundBorderless" android:layout_width="48.0dip" android:layout_height="48.0dip" android:src="@drawable/picker_ic_close_24" android:scaleType="center" android:tint="?icon_secondary" android:contentDescription="@string/close" android:layout_marginStart="4.0dip" />
|
|
<androidx.appcompat.widget.AppCompatSpinner android:id="@id/attach_gallery_album_spinner" android:background="@null" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginStart="60.0dip" />
|
|
<TextView android:textSize="20.0sp" android:textColor="?text_muted" android:gravity="start|center" android:layout_gravity="start|center" android:id="@id/attach_gallery_title_text" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@string/newsfeed_newpost_tab_gallery" android:singleLine="true" android:fontFamily="sans-serif-medium" android:layout_marginStart="64.0dip" />
|
|
</FrameLayout>
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
<androidx.recyclerview.widget.RecyclerView android:id="@id/attach_gallery_recycler_view" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
|
<FrameLayout android:layout_gravity="bottom" android:id="@id/attach_counter_view_wrapper" android:background="?background_content" android:paddingTop="@dimen/picker_attach_btn_top_bot_space" android:paddingBottom="@dimen/picker_attach_btn_top_bot_space" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/picker_attach_btn_height" android:paddingStart="@dimen/picker_attach_btn_left_right_space" android:paddingEnd="@dimen/picker_attach_btn_left_right_space">
|
|
<com.vk.attachpicker.widget.AttachCounterView android:layout_gravity="bottom" android:id="@id/attach_gallery_counter_view" android:layout_width="fill_parent" android:layout_height="fill_parent" style="@style/VKUIButton.Primary.Big" />
|
|
</FrameLayout>
|
|
<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:id="@id/attach_gallery_no_images_layout" android:background="?background_page" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="?actionBarSize">
|
|
<include layout="@layout/picker_attach_gallery_header" />
|
|
<TextView android:textSize="16.0sp" android:textColor="@color/subhead_gray" android:gravity="center_horizontal" android:paddingLeft="24.0dip" android:paddingRight="24.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="40.0dip" android:layout_marginBottom="16.0dip" android:text="@string/newsfeed_newpost_no_images" android:lineSpacingMultiplier="1.1" />
|
|
<TextView android:textSize="16.0sp" android:id="@id/attach_gallery_take_photo" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/newsfeed_newpost_take_photo" android:singleLine="true" style="@style/VKUIButton.Primary" />
|
|
</LinearLayout>
|
|
<FrameLayout android:id="@id/attach_gallery_permission_layout" android:paddingTop="26.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="?actionBarSize" />
|
|
<com.vk.attachpicker.widget.ContextProgressView android:layout_gravity="center_horizontal" android:id="@id/attach_gallery_progress_view" android:visibility="visible" android:layout_width="@dimen/picker_gallery_loading_progress" android:layout_height="@dimen/picker_gallery_loading_progress" android:layout_marginTop="128.0dip" />
|
|
<com.vk.core.view.AppBarShadowView style="@style/PostingAppBarShadow" />
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |