Files
vtosters/smali/res/layout/story_question_dialog_layout.xml
T
2022-06-19 13:11:07 +03:00

121 lines
6.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@id/story_dialog_root_layout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/story_dialog_background">
<com.vk.stories.clickable.dialogs.base.StoryDialogStyleButton
android:id="@id/story_question_style_btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center|top"
android:layout_marginTop="4.0dip"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<com.vk.stories.view.NoOverlappingRenderingImageView
android:id="@id/story_dialog_done"
android:layout_width="@dimen/story_done_btn_size"
android:layout_height="@dimen/story_done_btn_size"
android:layout_gravity="end|center|top"
android:layout_marginTop="@dimen/story_dialog_button_space"
android:layout_marginEnd="@dimen/story_dialog_button_space"
android:background="@drawable/picker_white_ripple_unbounded"
android:contentDescription="@string/story_hashtag_content_desc_done_bn"
android:src="@drawable/ic_editor_done_outline_shadow_48"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<LinearLayout
android:id="@id/story_question_dialog_question_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginLeft="48.0dip"
android:layout_marginRight="48.0dip"
android:background="@drawable/bg_story_question"
android:minWidth="@dimen/story_question_sticker_width"
android:orientation="vertical"
android:paddingLeft="@dimen/story_question_sticker_content_left_right_space"
android:paddingTop="@dimen/story_question_sticker_content_top_space"
android:paddingRight="@dimen/story_question_sticker_content_left_right_space"
android:paddingBottom="@dimen/story_question_sticker_content_bottom_space"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent">
<com.vk.common.view.IgnoreKeysEditText
android:id="@id/story_question_dialog_question_edit_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@null"
android:gravity="center_horizontal"
android:hint="@string/story_question_text_hint_0"
android:inputType="textCapSentences|textMultiLine"
android:maxWidth="240.0dip"
android:maxLength="80"
android:textColor="@color/black"
android:textColorHint="@color/black_alpha35"
android:textSize="@dimen/story_question_text_size" />
<FrameLayout
android:id="@id/story_question_dialog_button_edit_text_wrapper"
android:layout_width="wrap_content"
android:layout_height="@dimen/story_question_sticker_button_height"
android:layout_marginTop="@dimen/story_question_button_outer_top_space"
android:background="@drawable/bg_story_question_button">
<EditText
android:id="@id/story_question_dialog_button_edit_text"
android:layout_width="wrap_content"
android:layout_height="@dimen/story_question_sticker_button_height"
android:background="@null"
android:ellipsize="middle"
android:fontFamily="@font/roboto_medium"
android:gravity="center_horizontal"
android:hint="@string/story_question_button_hint_0"
android:imeOptions="actionDone"
android:inputType="textCapSentences"
android:maxLength="25"
android:minWidth="240.0dip"
android:paddingLeft="@dimen/story_question_button_inner_left_right_space"
android:paddingTop="@dimen/story_question_button_inner_top_bottom_space"
android:paddingRight="@dimen/story_question_button_inner_left_right_space"
android:paddingBottom="@dimen/story_question_button_inner_top_bottom_space"
android:singleLine="true"
android:textColor="@color/white"
android:textColorHint="@color/white_alpha60"
android:textSize="@dimen/story_question_button_text_size" />
</FrameLayout>
</LinearLayout>
<FrameLayout
android:id="@id/story_question_dialog_shuffle_btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="12.0dip"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@id/story_question_dialog_question_layout">
<ImageView
android:layout_width="40.0dip"
android:layout_height="40.0dip"
android:background="@drawable/bg_story_question_shuffle"
android:scaleType="center"
android:src="@drawable/ic_shuffle_outline_28" />
</FrameLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@id/story_question_dialog_colors_recycler"
android:layout_width="fill_parent"
android:layout_height="@dimen/story_question_colors_height"
android:layout_gravity="bottom"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>