apkfuckery/com.discord/res/layout/widget_chat_input.xml

14 lines
2 KiB
XML
Raw Normal View History

2019-07-24 11:27:29 +00:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout style="@style/UiKit.ViewGroup.LinearLayout"
xmlns:android="http://schemas.android.com/apk/res/android">
2019-11-23 00:16:54 +00:00
<include layout="@layout/widget_chat_input_guard" />
2020-03-27 22:23:51 +00:00
<LinearLayout android:id="@id/chat_input_wrap" android:visibility="gone" style="@style/UiKit.ViewGroup.LinearLayout">
2019-07-24 11:27:29 +00:00
<androidx.recyclerview.widget.RecyclerView android:id="@id/chat_input_mentions_recycler" android:background="?theme_chat_input" android:scrollbars="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<RelativeLayout android:id="@id/chat_input_edit" android:background="?theme_chat_input_edit" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content">
<View android:id="@id/chat_input_edit_border" android:background="?theme_chat_input_divider" android:layout_width="fill_parent" android:layout_height="0.25dip" android:layout_alignParentTop="true" />
2020-03-27 22:23:51 +00:00
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="?colorTextNormal" android:paddingLeft="16.0dip" android:paddingTop="6.0dip" android:paddingRight="16.0dip" android:paddingBottom="6.0dip" android:text="@string/editing_message" android:layout_below="@id/chat_input_edit_border" style="@style/UiKit.TextView" />
2019-11-20 22:09:14 +00:00
<TextView android:textSize="@dimen/uikit_textsize_small" android:textColor="@color/purple_brand" android:id="@id/chat_input_edit_cancel" android:paddingLeft="12.0dip" android:paddingTop="6.0dip" android:paddingRight="12.0dip" android:paddingBottom="6.0dip" android:text="@string/cancel" android:layout_below="@id/chat_input_edit_border" android:layout_alignParentEnd="true" style="@style/UiKit.TextView.Bold" />
2019-07-24 11:27:29 +00:00
</RelativeLayout>
<fragment android:name="com.lytefast.flexinput.fragment.FlexInputFragment" android:id="@id/chat_input_widget" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>