Files
vtosters/smali/res/layout/layout_story_editor.xml
T
2022-06-18 19:27:15 +03:00

56 lines
14 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<merge
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.vk.imageloader.view.VKImageView android:id="@id/story_editor_background_image" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<com.vk.attachpicker.stickers.StickersDrawingViewGroup android:id="@id/sdv_stickers" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.vk.attachpicker.drawing.DrawingView android:id="@id/dv_drawing" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</com.vk.attachpicker.stickers.StickersDrawingViewGroup>
<View android:layout_gravity="start|center|top" android:id="@id/story_editor_close_background_view" android:background="@drawable/stories_vertical_blur_left" android:visibility="gone" android:layout_width="90.0dip" android:layout_height="104.0dip" android:alpha="0.64" />
<View android:layout_gravity="bottom" android:id="@id/bottom_gradient" android:background="@drawable/scrim_bottom_112" android:layout_width="fill_parent" android:layout_height="112.0dip" android:alpha="0.24" />
<com.vk.stories.view.NoOverlappingRenderingFrameLayout android:id="@id/fl_top_buttons_panel" android:layout_width="fill_parent" android:layout_height="72.0dip">
<com.vk.stories.view.NoOverlappingRenderingImageView android:layout_gravity="start|center|top" android:id="@id/iv_close" android:background="@drawable/picker_white_ripple_unbounded" android:layout_width="48.0dip" android:layout_height="48.0dip" android:layout_marginTop="8.0dip" android:src="@drawable/ic_editor_cancel_outline_shadow_48" android:contentDescription="@string/accessibility_close" android:layout_marginStart="8.0dip" />
<com.vk.stories.view.NoOverlappingRenderingImageView android:layout_gravity="start|center|top" android:id="@id/sharing_compact_image" android:background="@drawable/picker_white_ripple_unbounded" android:visibility="gone" android:layout_width="48.0dip" android:layout_height="48.0dip" android:layout_marginTop="8.0dip" android:src="@drawable/ic_story_repost_48" android:layout_marginStart="56.0dip" />
<com.vk.stories.view.NoOverlappingRenderingTextView android:textSize="15.0sp" android:textColor="@color/white" android:gravity="center" android:layout_gravity="center|top" android:id="@id/open_camera" android:background="@drawable/bg_open_camera" android:layout_width="wrap_content" android:layout_height="36.0dip" android:layout_marginTop="14.0dip" android:text="@string/story_open_camera" android:singleLine="true" android:drawablePadding="8.0dip" android:lineSpacingExtra="5.0sp" android:drawableStart="@drawable/ic_camera_outline_24" android:paddingStart="12.0dip" android:paddingEnd="16.0dip" android:letterSpacing="0.01" app:fontFamily="@font/roboto_medium" />
</com.vk.stories.view.NoOverlappingRenderingFrameLayout>
<com.vk.stories.view.NoOverlappingRenderingLinearLayout android:layout_gravity="end|center|top" android:orientation="vertical" android:id="@id/fl_end_buttons_panel" android:paddingTop="8.0dip" android:paddingBottom="24.0dip" android:layout_width="88.0dip" android:layout_height="wrap_content">
<com.vk.stories.view.NoOverlappingRenderingImageView android:layout_gravity="end" android:id="@id/iv_draw" android:background="@drawable/white_ripple_circle" android:layout_width="48.0dip" android:layout_height="48.0dip" android:src="@drawable/ic_editor_write_shadow_48" android:contentDescription="@string/story_accessibility_add_drawing" android:layout_marginEnd="@dimen/story_editor_button_space" />
<com.vk.stories.view.NoOverlappingRenderingImageView android:layout_gravity="end" android:id="@id/iv_stickers" android:background="@drawable/white_ripple_circle" android:layout_width="48.0dip" android:layout_height="48.0dip" android:layout_marginTop="4.0dip" android:src="@drawable/ic_editor_stickers_outline_shadow_48" android:contentDescription="@string/story_accessibility_add_stickers" android:layout_marginEnd="@dimen/story_editor_button_space" />
<com.vk.stories.view.NoOverlappingRenderingImageView android:layout_gravity="end" android:id="@id/iv_text" android:background="@drawable/white_ripple_circle" android:layout_width="48.0dip" android:layout_height="48.0dip" android:layout_marginTop="4.0dip" android:src="@drawable/ic_editor_text_shadow_48" android:contentDescription="@string/story_accessibility_add_text" android:layout_marginEnd="@dimen/story_editor_button_space" />
<com.vk.stories.view.NoOverlappingRenderingImageView android:layout_gravity="end" android:id="@id/iv_background" android:background="@drawable/white_ripple_circle" android:layout_width="48.0dip" android:layout_height="48.0dip" android:layout_marginTop="4.0dip" android:src="@drawable/ic_editor_gradient_shadow_48" android:contentDescription="@string/story_accessibility_add_stickers" android:layout_marginEnd="@dimen/story_editor_button_space" />
<com.vk.stories.view.NoOverlappingRenderingImageView android:layout_gravity="end" android:id="@id/iv_mute" android:background="@drawable/white_ripple_circle" android:layout_width="48.0dip" android:layout_height="48.0dip" android:layout_marginTop="4.0dip" android:src="@drawable/ic_editor_volume_outline_shadow_48" android:contentDescription="@string/story_accessibility_mute" android:layout_marginEnd="@dimen/story_editor_button_space" />
<com.vk.stories.view.NoOverlappingRenderingImageView android:layout_gravity="end" android:id="@id/iv_music" android:background="@drawable/white_ripple_circle" android:visibility="gone" android:layout_width="48.0dip" android:layout_height="48.0dip" android:layout_marginTop="4.0dip" android:src="@drawable/ic_music_outline_36" android:scaleType="center" android:tint="@color/white" android:contentDescription="@string/story_accessibility_music_catalog" android:layout_marginEnd="@dimen/story_editor_button_space" />
<FrameLayout android:layout_gravity="end" android:id="@id/iv_bomb_wrapper" android:visibility="gone" android:layout_width="60.0dip" android:layout_height="wrap_content" android:layout_marginEnd="2.0dip">
<ImageView android:id="@id/iv_bomb_image" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/bg_button_bomb_fill" android:scaleType="centerCrop" />
<com.vk.stories.view.NoOverlappingRenderingImageView android:layout_gravity="center_horizontal" android:id="@id/iv_bomb" android:background="@drawable/white_ripple_circle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4.0dip" android:src="@drawable/ic_editor_bomb_outline_shadow_48" android:contentDescription="@string/story_accessibility_one_time" android:layout_marginEnd="1.0dip" />
</FrameLayout>
<View android:layout_gravity="end" android:id="@id/end_panel_divider" android:background="@color/white" android:layout_width="48.0dip" android:layout_height="1.0dip" android:layout_marginTop="8.0dip" android:alpha="0.72" android:layout_marginEnd="@dimen/story_editor_button_space" />
<com.vk.stories.view.NoOverlappingRenderingImageView android:layout_gravity="end" android:id="@id/iv_new_frame" android:background="@drawable/white_ripple_circle" android:layout_width="48.0dip" android:layout_height="48.0dip" android:layout_marginTop="16.0dip" android:src="@drawable/ic_editor_frame_add_outline_48" android:contentDescription="@string/story_accessibility_new_frame" android:layout_marginEnd="@dimen/story_editor_button_space" />
</com.vk.stories.view.NoOverlappingRenderingLinearLayout>
<View android:layout_gravity="bottom" android:background="@drawable/scrim_bottom_16percent" android:layout_width="fill_parent" android:layout_height="340.0dip" />
<com.vk.stories.view.NoOverlappingRenderingFrameLayout android:layout_gravity="bottom" android:id="@id/fl_bottom_panel" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:layout_gravity="start|bottom|center" android:id="@id/download_left" android:background="@drawable/picker_white_ripple_unbounded" android:visibility="gone" android:layout_width="48.0dip" android:layout_height="48.0dip" android:layout_marginBottom="16.0dip" android:src="@drawable/ic_editor_download_outline_shadow_48" android:contentDescription="@string/story_accessibility_save" android:layout_marginStart="16.0dip" />
<ViewStub android:layout_gravity="bottom" android:id="@id/vs_bottom_panel_container" android:layout_width="fill_parent" android:layout_height="122.0dip" />
</com.vk.stories.view.NoOverlappingRenderingFrameLayout>
<com.vk.stories.view.NoOverlappingRenderingFrameLayout android:layout_gravity="top" android:id="@id/fl_drawing_undo" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="104.0dip">
<View android:layout_gravity="end|center|top" android:background="@drawable/stories_vertical_blur_right" android:layout_width="88.0dip" android:layout_height="104.0dip" android:alpha="0.64" />
<com.vk.stories.view.NoOverlappingRenderingImageView android:layout_gravity="end|center|top" android:id="@id/iv_drawing_undo" android:background="@drawable/picker_white_ripple_unbounded" android:layout_width="56.0dip" android:layout_height="56.0dip" android:src="@drawable/ic_editor_undo_outline_shadow_48" android:scaleType="centerInside" android:tint="@color/white" android:contentDescription="@string/story_accessibility_drawing_undo" />
</com.vk.stories.view.NoOverlappingRenderingFrameLayout>
<com.vk.stories.view.StickerDeleteAreaView android:layout_gravity="bottom|center" android:id="@id/stickers_delete_area" android:visibility="gone" android:layout_width="80.0dip" android:layout_height="80.0dip" android:layout_marginBottom="18.0dip" />
<FrameLayout android:id="@id/fl_stickers_container" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<com.vk.stories.view.NoOverlappingRenderingFrameLayout android:layout_gravity="bottom" android:id="@id/fl_draw_panel" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="130.0dip">
<com.vk.stories.view.NoOverlappingRenderingFrameLayout android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="96.0dip">
<com.vk.attachpicker.widget.ColorSelectorView android:layout_gravity="end|center|top" android:id="@id/ccv_drawing_color_selector" android:layout_width="wrap_content" android:layout_height="48.0dip" app:innerMarginLeft="48.0dip" app:whiteBorder="true" />
<ImageView android:layout_gravity="start|center|top" android:id="@id/iv_drawing_width" android:background="@drawable/picker_white_ripple_unbounded" android:layout_width="48.0dip" android:layout_height="48.0dip" android:src="@drawable/ic_lines_shadow_48" android:scaleType="centerInside" android:tint="@color/white" android:contentDescription="@string/story_accessibility_drawing_width" />
<FrameLayout android:layout_gravity="bottom" android:id="@id/fl_draw_nav_panel" android:background="?background_content" android:layout_width="fill_parent" android:layout_height="48.0dip">
<ImageView android:id="@id/iv_cancel" android:background="@drawable/picker_white_ripple_unbounded" android:layout_width="48.0dip" android:layout_height="48.0dip" android:src="@drawable/ic_cancel_outline_28" android:scaleType="centerInside" android:tint="?icon_medium" android:contentDescription="@string/accessibility_close" android:layout_marginStart="8.0dip" />
<ImageView android:layout_gravity="end|bottom|center" android:id="@id/iv_apply" android:background="@drawable/picker_white_ripple_unbounded" android:layout_width="48.0dip" android:layout_height="48.0dip" android:src="@drawable/ic_done_outline_28" android:scaleType="centerInside" android:tint="?accent" android:contentDescription="@string/accessibility_done" android:layout_marginEnd="8.0dip" />
<LinearLayout android:layout_gravity="center" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent">
<com.vk.stories.view.BrushSelectorView android:id="@id/bsv_pen" android:layout_width="48.0dip" android:layout_height="48.0dip" android:contentDescription="@string/story_accessibility_pen" app:brush_bottomDrawable="@drawable/pen_round_chrome_48" app:brush_topDrawable="@drawable/pen_round_color_48" app:brush_topWhiteDrawable="@drawable/pen_round_color_white_48" />
<com.vk.stories.view.BrushSelectorView android:id="@id/bsv_marker" android:layout_width="48.0dip" android:layout_height="48.0dip" android:contentDescription="@string/story_accessibility_marker" app:brush_bottomDrawable="@drawable/pen_marker_chrome_48" app:brush_topDrawable="@drawable/pen_marker_color_48" app:brush_topWhiteDrawable="@drawable/pen_marker_color_white_48" />
<com.vk.stories.view.BrushSelectorView android:id="@id/bsv_neon" android:layout_width="48.0dip" android:layout_height="48.0dip" android:contentDescription="@string/story_accessibility_neon" app:brush_bottomDrawable="@drawable/pen_glow_chrome_48" app:brush_topDrawable="@drawable/pen_glow_color_48" app:brush_topWhiteDrawable="@drawable/pen_glow_color_white_48" />
</LinearLayout>
</FrameLayout>
</com.vk.stories.view.NoOverlappingRenderingFrameLayout>
</com.vk.stories.view.NoOverlappingRenderingFrameLayout>
<TextView android:textSize="15.0dip" android:textColor="@color/gray_100" android:gravity="start|center" android:layout_gravity="bottom" android:id="@id/story_editor_music_restriction_text" android:background="@drawable/bg_music_restriction_text" android:paddingLeft="16.0dip" android:paddingRight="16.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="56.0dip" android:layout_marginLeft="8.0dip" android:layout_marginRight="8.0dip" android:layout_marginBottom="112.0dip" android:text="@string/story_editor_reply_sound_off" />
</merge>