<?xml version="1.0" encoding="utf-8"?><!--
  ~ Nextcloud Talk application
  ~
  ~ @author Andy Scherzinger
  ~ Copyright (C) 2022 Andy Scherzinger <info@andy-scherzinger.de>
  ~
  ~ This program is free software: you can redistribute it and/or modify
  ~ it under the terms of the GNU General Public License as published by
  ~ the Free Software Foundation, either version 3 of the License, or
  ~ at your option) any later version.
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~ GNU General Public License for more details.
  ~
  ~ You should have received a copy of the GNU General Public License
  ~ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  -->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:paddingBottom="@dimen/standard_half_padding">

    <LinearLayout
        android:id="@+id/emojiBar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="@dimen/standard_quarter_margin"
        android:layout_marginTop="@dimen/standard_half_margin"
        android:layout_marginEnd="@dimen/zero"
        android:layout_marginBottom="@dimen/standard_half_margin"
        android:gravity="center_vertical"
        android:orientation="horizontal">

        <com.vanniktech.emoji.EmojiTextView
            android:id="@+id/emojiThumbsUp"
            android:layout_width="@dimen/reaction_bottom_sheet_layout_size"
            android:layout_height="@dimen/reaction_bottom_sheet_layout_size"
            android:layout_marginLeft="@dimen/standard_quarter_margin"
            android:layout_marginRight="@dimen/standard_quarter_margin"
            android:cursorVisible="false"
            android:gravity="center"
            android:text="@string/emoji_thumbsUp"
            android:textSize="20sp" />

        <com.vanniktech.emoji.EmojiTextView
            android:id="@+id/emojiThumbsDown"
            android:layout_width="@dimen/reaction_bottom_sheet_layout_size"
            android:layout_height="@dimen/reaction_bottom_sheet_layout_size"
            android:layout_marginLeft="@dimen/standard_quarter_margin"
            android:layout_marginRight="@dimen/standard_quarter_margin"
            android:cursorVisible="false"
            android:gravity="center"
            android:text="@string/emoji_thumbsDown"
            android:textSize="20sp" />

        <com.vanniktech.emoji.EmojiTextView
            android:id="@+id/emojiHeart"
            android:layout_width="@dimen/reaction_bottom_sheet_layout_size"
            android:layout_height="@dimen/reaction_bottom_sheet_layout_size"
            android:layout_marginLeft="@dimen/standard_quarter_margin"
            android:layout_marginRight="@dimen/standard_quarter_margin"
            android:cursorVisible="false"
            android:gravity="center"
            android:text="@string/default_emoji"
            android:textSize="20sp" />

        <com.vanniktech.emoji.EmojiTextView
            android:id="@+id/emojiLaugh"
            android:layout_width="@dimen/reaction_bottom_sheet_layout_size"
            android:layout_height="@dimen/reaction_bottom_sheet_layout_size"
            android:layout_marginLeft="@dimen/standard_quarter_margin"
            android:layout_marginRight="@dimen/standard_quarter_margin"
            android:cursorVisible="false"
            android:gravity="center"
            android:text="@string/emoji_heart"
            android:textSize="20sp" />

        <com.vanniktech.emoji.EmojiTextView
            android:id="@+id/emojiConfused"
            android:layout_width="@dimen/reaction_bottom_sheet_layout_size"
            android:layout_height="@dimen/reaction_bottom_sheet_layout_size"
            android:layout_marginLeft="@dimen/standard_quarter_margin"
            android:layout_marginRight="@dimen/standard_quarter_margin"
            android:cursorVisible="false"
            android:gravity="center"
            android:text="@string/emoji_confused"
            android:textSize="20sp" />

        <com.vanniktech.emoji.EmojiTextView
            android:id="@+id/emojiSad"
            android:layout_width="@dimen/reaction_bottom_sheet_layout_size"
            android:layout_height="@dimen/reaction_bottom_sheet_layout_size"
            android:layout_marginLeft="@dimen/standard_quarter_margin"
            android:layout_marginRight="@dimen/standard_quarter_margin"
            android:cursorVisible="false"
            android:gravity="center"
            android:text="@string/emoji_sad"
            android:textSize="20sp" />

        <com.vanniktech.emoji.EmojiEditText
            android:id="@+id/emojiMore"
            android:layout_width="0dp"
            android:layout_height="@dimen/activity_row_layout_height"
            android:layout_marginEnd="2dp"
            android:layout_weight="1"
            android:background="@android:color/transparent"
            android:contentDescription="@string/emoji_more"
            android:drawableEnd="@drawable/ic_dots_horizontal"
            android:paddingStart="@dimen/zero"
            android:paddingEnd="@dimen/standard_padding" />
    </LinearLayout>

    <LinearLayout
        android:id="@+id/message_actions"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical">

        <LinearLayout
            android:id="@+id/menu_reply_to_message"
            android:layout_width="match_parent"
            android:layout_height="@dimen/bottom_sheet_item_height"
            android:background="?android:attr/selectableItemBackground"
            android:gravity="center_vertical"
            android:orientation="horizontal"
            tools:ignore="UseCompoundDrawables">

            <ImageView
                android:id="@+id/menu_icon_reply_to_message"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:contentDescription="@null"
                android:paddingStart="@dimen/standard_padding"
                android:paddingEnd="@dimen/zero"
                android:src="@drawable/ic_reply"
                app:tint="@color/high_emphasis_menu_icon" />

            <androidx.appcompat.widget.AppCompatTextView
                android:id="@+id/menu_text_reply_to_message"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="start|center_vertical"
                android:paddingStart="@dimen/standard_double_padding"
                android:paddingEnd="@dimen/standard_padding"
                android:text="@string/nc_reply"
                android:textAlignment="viewStart"
                android:textColor="@color/high_emphasis_text"
                android:textSize="@dimen/bottom_sheet_text_size" />

        </LinearLayout>

        <LinearLayout
            android:id="@+id/menu_reply_privately"
            android:layout_width="match_parent"
            android:layout_height="@dimen/bottom_sheet_item_height"
            android:background="?android:attr/selectableItemBackground"
            android:gravity="center_vertical"
            android:orientation="horizontal"
            tools:ignore="UseCompoundDrawables">

            <ImageView
                android:id="@+id/menu_icon_reply_privately"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:contentDescription="@null"
                android:paddingStart="@dimen/standard_padding"
                android:paddingEnd="@dimen/zero"
                android:src="@drawable/ic_reply"
                app:tint="@color/high_emphasis_menu_icon" />

            <androidx.appcompat.widget.AppCompatTextView
                android:id="@+id/menu_text_reply_privately"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="start|center_vertical"
                android:paddingStart="@dimen/standard_double_padding"
                android:paddingEnd="@dimen/standard_padding"
                android:text="@string/nc_reply_privately"
                android:textAlignment="viewStart"
                android:textColor="@color/high_emphasis_text"
                android:textSize="@dimen/bottom_sheet_text_size" />

        </LinearLayout>

        <LinearLayout
            android:id="@+id/menu_forward_message"
            android:layout_width="match_parent"
            android:layout_height="@dimen/bottom_sheet_item_height"
            android:background="?android:attr/selectableItemBackground"
            android:gravity="center_vertical"
            android:orientation="horizontal"
            tools:ignore="UseCompoundDrawables">

            <ImageView
                android:id="@+id/menu_icon_forward_message"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:contentDescription="@null"
                android:paddingStart="@dimen/standard_padding"
                android:paddingEnd="@dimen/zero"
                android:src="@drawable/ic_share_action"
                app:tint="@color/high_emphasis_menu_icon" />

            <androidx.appcompat.widget.AppCompatTextView
                android:id="@+id/menu_text_forward_message"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="start|center_vertical"
                android:paddingStart="@dimen/standard_double_padding"
                android:paddingEnd="@dimen/standard_padding"
                android:text="@string/nc_forward_message"
                android:textAlignment="viewStart"
                android:textColor="@color/high_emphasis_text"
                android:textSize="@dimen/bottom_sheet_text_size" />

        </LinearLayout>

        <LinearLayout
            android:id="@+id/menu_mark_as_unread"
            android:layout_width="match_parent"
            android:layout_height="@dimen/bottom_sheet_item_height"
            android:background="?android:attr/selectableItemBackground"
            android:gravity="center_vertical"
            android:orientation="horizontal"
            tools:ignore="UseCompoundDrawables">

            <ImageView
                android:id="@+id/menu_icon_mark_as_unread"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:contentDescription="@null"
                android:paddingStart="@dimen/standard_padding"
                android:paddingEnd="@dimen/zero"
                android:src="@drawable/ic_eye_off"
                app:tint="@color/high_emphasis_menu_icon" />

            <androidx.appcompat.widget.AppCompatTextView
                android:id="@+id/menu_text_mark_as_unread"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="start|center_vertical"
                android:paddingStart="@dimen/standard_double_padding"
                android:paddingEnd="@dimen/standard_padding"
                android:text="@string/nc_mark_as_unread"
                android:textAlignment="viewStart"
                android:textColor="@color/high_emphasis_text"
                android:textSize="@dimen/bottom_sheet_text_size" />

        </LinearLayout>

        <LinearLayout
            android:id="@+id/menu_copy_message"
            android:layout_width="match_parent"
            android:layout_height="@dimen/bottom_sheet_item_height"
            android:background="?android:attr/selectableItemBackground"
            android:gravity="center_vertical"
            android:orientation="horizontal"
            tools:ignore="UseCompoundDrawables">

            <ImageView
                android:id="@+id/menu_icon_copy_message"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:contentDescription="@null"
                android:paddingStart="@dimen/standard_padding"
                android:paddingEnd="@dimen/zero"
                android:src="@drawable/ic_content_copy"
                app:tint="@color/high_emphasis_menu_icon" />

            <androidx.appcompat.widget.AppCompatTextView
                android:id="@+id/menu_text_copy_message"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="start|center_vertical"
                android:paddingStart="@dimen/standard_double_padding"
                android:paddingEnd="@dimen/standard_padding"
                android:text="@string/nc_copy_message"
                android:textAlignment="viewStart"
                android:textColor="@color/high_emphasis_text"
                android:textSize="@dimen/bottom_sheet_text_size" />

        </LinearLayout>

        <LinearLayout
            android:id="@+id/menu_delete_message"
            android:layout_width="match_parent"
            android:layout_height="@dimen/bottom_sheet_item_height"
            android:background="?android:attr/selectableItemBackground"
            android:gravity="center_vertical"
            android:orientation="horizontal"
            tools:ignore="UseCompoundDrawables">

            <ImageView
                android:id="@+id/menu_icon_delete_message"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:contentDescription="@null"
                android:paddingStart="@dimen/standard_padding"
                android:paddingEnd="@dimen/zero"
                android:src="@drawable/ic_delete"
                app:tint="@color/high_emphasis_menu_icon" />

            <androidx.appcompat.widget.AppCompatTextView
                android:id="@+id/menu_text_delete_message"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="start|center_vertical"
                android:paddingStart="@dimen/standard_double_padding"
                android:paddingEnd="@dimen/standard_padding"
                android:text="@string/nc_delete_message"
                android:textAlignment="viewStart"
                android:textColor="@color/high_emphasis_text"
                android:textSize="@dimen/bottom_sheet_text_size" />

        </LinearLayout>

    </LinearLayout>

</LinearLayout>
