session-android/app/src/main/res/layout/view_input_bar.xml

55 lines
2.1 KiB
XML
Raw Normal View History

2021-06-15 01:42:18 +02:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
2021-06-16 01:51:50 +02:00
android:id="@+id/inputBarLinearLayout"
2021-06-15 01:42:18 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2021-06-16 01:51:50 +02:00
android:orientation="vertical"
android:background="@color/input_bar_background">
2021-06-15 01:42:18 +02:00
<View
android:layout_width="match_parent"
android:layout_height="1px"
android:background="@color/separator" />
2021-06-18 07:11:41 +02:00
<FrameLayout
android:id="@+id/inputBarAdditionalContentContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
2021-06-15 01:42:18 +02:00
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
2021-06-15 03:34:50 +02:00
<RelativeLayout
2021-06-15 06:05:32 +02:00
android:id="@+id/attachmentsButtonContainer"
android:layout_width="@dimen/input_bar_button_expanded_size"
android:layout_height="@dimen/input_bar_button_expanded_size"
2021-06-15 01:42:18 +02:00
android:layout_alignParentStart="true"
2021-06-15 03:34:50 +02:00
android:layout_centerVertical="true"
2021-06-15 06:05:32 +02:00
android:layout_marginStart="@dimen/small_spacing" />
2021-06-15 01:42:18 +02:00
2021-06-15 08:14:35 +02:00
<org.thoughtcrime.securesms.conversation.v2.input_bar.InputBarEditText
2021-06-15 06:55:57 +02:00
android:id="@+id/inputBarEditText"
android:layout_width="match_parent"
android:layout_height="40dp"
2021-06-15 01:42:18 +02:00
android:layout_centerInParent="true"
2021-06-15 06:55:57 +02:00
android:layout_marginStart="64dp"
android:layout_marginEnd="64dp"
android:gravity="center_vertical"
android:textColor="@color/text"
android:textSize="@dimen/small_font_size"
android:background="@null"
android:hint="@string/ConversationActivity_message" />
2021-06-15 01:42:18 +02:00
2021-06-15 03:34:50 +02:00
<RelativeLayout
2021-06-16 02:39:24 +02:00
android:id="@+id/microphoneOrSendButtonContainer"
2021-06-15 06:05:32 +02:00
android:layout_width="@dimen/input_bar_button_expanded_size"
android:layout_height="@dimen/input_bar_button_expanded_size"
2021-06-15 01:42:18 +02:00
android:layout_alignParentEnd="true"
2021-06-15 03:34:50 +02:00
android:layout_centerVertical="true"
2021-06-15 06:05:32 +02:00
android:layout_marginEnd="@dimen/small_spacing" />
2021-06-15 01:42:18 +02:00
</RelativeLayout>
</LinearLayout>