apkfuckery/com.discord/res/layout/widget_chat_input.xml
2019-02-04 21:05:16 +01:00

24 lines
No EOL
5.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center" android:orientation="vertical" android:id="@id/chat_input_verification" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/chat_cell_horizontal_spacing_total" android:layout_marginRight="@dimen/chat_cell_horizontal_spacing_total">
<View android:background="?theme_chat_divider" android:layout_width="fill_parent" android:layout_height="0.25dip" />
<TextView android:textSize="13.75sp" android:textColor="?theme_chat_text" android:gravity="center" android:id="@id/chat_input_verification_text" android:padding="15.0dip" android:layout_width="320.0dip" android:layout_height="wrap_content" android:text="@string/guild_verification_text_not_claimed" android:hint="@string/shared_lorum_ipsum_tiny" android:lineSpacingMultiplier="1.1" fontPath="@string/font_whitney_semibold" />
<TextView android:textSize="13.75sp" android:textColor="@color/theme_white" android:gravity="center" android:id="@id/chat_input_verification_action" android:background="@drawable/drawable_button_purple" android:paddingLeft="20.0dip" android:paddingTop="10.0dip" android:paddingRight="20.0dip" android:paddingBottom="10.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="0.0dip" android:layout_marginBottom="15.0dip" android:text="@string/resend_verification_email" fontPath="@string/font_whitney_semibold" />
</LinearLayout>
<LinearLayout android:orientation="vertical" android:id="@id/chat_input_wrap" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content">
<View android:id="@id/chat_input_mentions_top" android:background="?theme_chat_input_divider" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="0.25dip" />
<android.support.v7.widget.RecyclerView android:id="@id/chat_input_mentions_recycler" android:background="?theme_chat_input" android:visibility="gone" 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: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" />
<TextView android:textSize="12.0sp" android:textColor="?theme_chat_input_text" android:paddingLeft="16.0dip" android:paddingTop="6.0dip" android:paddingRight="16.0dip" android:paddingBottom="6.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/editing_message" android:layout_below="@id/chat_input_edit_border" fontPath="@string/font_whitney_book" />
<TextView android:textSize="12.0sp" android:textColor="@color/theme_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:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/cancel" android:layout_below="@id/chat_input_edit_border" android:layout_alignParentRight="true" fontPath="@string/font_whitney_bold" />
</RelativeLayout>
<View android:background="?theme_chat_input_divider" android:layout_width="fill_parent" android:layout_height="0.25dip" />
<RelativeLayout android:background="?theme_chat_input" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:id="@id/chat_input_attachment" android:layout_width="42.0dip" android:layout_height="42.0dip" android:src="?theme_chat_input_paperclip" android:scaleType="center" android:layout_alignParentLeft="true" android:layout_centerVertical="true" android:contentDescription="@string/shared_empty_string" />
<com.discord.utilities.mg_text.MGTextEdit android:textSize="15.0sp" android:textColor="?theme_chat_input_text" android:textColorHint="?theme_chat_input_text_placeholder" android:id="@id/chat_input_text" android:background="@color/theme_transparent" android:paddingTop="11.0dip" android:paddingBottom="11.0dip" android:scrollbars="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="42.0dip" android:layout_marginRight="42.0dip" android:minHeight="42.0dip" android:hint="@string/shared_lorum_ipsum_tiny" android:maxLines="4" android:inputType="textCapSentences|textMultiLine|textShortMessage" android:imeOptions="actionDone" fontPath="@string/font_whitney_book" />
<ImageView android:id="@id/chat_input_send" android:layout_width="42.0dip" android:layout_height="42.0dip" android:src="?theme_chat_input_send" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:contentDescription="@string/shared_empty_string" />
</RelativeLayout>
</LinearLayout>
</RelativeLayout>