聊天页
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/nim_message_view_bottom"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingBottom="@dimen/bottom_component_margin_vertical"
|
||||
android:paddingTop="@dimen/bottom_component_margin_vertical">
|
||||
|
||||
@@ -12,23 +13,22 @@
|
||||
android:id="@+id/switchLayout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@+id/editTextMessage"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="@dimen/bottom_component_margin_horizontal"
|
||||
android:layout_marginRight="@dimen/bottom_component_margin_horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/buttonAudioMessage"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="29dp"
|
||||
android:layout_height="29dp"
|
||||
android:background="@drawable/nim_message_button_bottom_audio_selector"
|
||||
android:contentDescription="@string/empty"
|
||||
android:scaleType="center" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/buttonTextMessage"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_width="29dp"
|
||||
android:layout_height="29dp"
|
||||
android:background="@drawable/nim_message_button_bottom_text_selector"
|
||||
android:contentDescription="@string/empty"
|
||||
android:scaleType="center" />
|
||||
@@ -39,9 +39,9 @@
|
||||
android:layout_width="0dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@id/switchLayout"
|
||||
android:layout_marginRight="@dimen/bottom_component_margin_horizontal"
|
||||
android:layout_toLeftOf="@+id/emoji_button"
|
||||
android:layout_toRightOf="@+id/switchLayout">
|
||||
android:layout_marginEnd="@dimen/bottom_component_margin_horizontal"
|
||||
android:layout_toStartOf="@+id/emoji_button"
|
||||
android:layout_toEndOf="@+id/switchLayout">
|
||||
|
||||
|
||||
<Button
|
||||
@@ -61,14 +61,19 @@
|
||||
android:textColor="@color/black"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/bottom_component_margin_horizontal"
|
||||
android:layout_toLeftOf="@+id/emoji_button"
|
||||
android:layout_toRightOf="@+id/switchLayout"
|
||||
android:layout_marginEnd="@dimen/bottom_component_margin_horizontal"
|
||||
android:layout_toStartOf="@+id/emoji_button"
|
||||
android:layout_toEndOf="@+id/switchLayout"
|
||||
android:autoLink="web|email|phone"
|
||||
android:maxLength="40"
|
||||
android:layout_centerVertical="true"
|
||||
android:imeOptions="actionSend"
|
||||
android:inputType="text"
|
||||
android:background="@color/white"
|
||||
android:hint="@string/message_hint"
|
||||
android:textColorHint="#C6C6C6"
|
||||
android:paddingStart="@dimen/dp_10"
|
||||
android:paddingEnd="10dp"
|
||||
android:background="@drawable/bg_message_input"
|
||||
android:minHeight="35dp"
|
||||
android:maxHeight="72dp"
|
||||
android:maxLines="4"
|
||||
@@ -76,11 +81,11 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/emoji_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@id/audioTextSwitchLayout"
|
||||
android:layout_marginRight="@dimen/bottom_component_margin_horizontal"
|
||||
android:layout_toLeftOf="@+id/sendLayout"
|
||||
android:layout_width="29dp"
|
||||
android:layout_height="29dp"
|
||||
android:layout_marginEnd="@dimen/bottom_component_margin_horizontal"
|
||||
android:layout_toStartOf="@+id/sendLayout"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@drawable/nim_message_button_bottom_emoji_selector"
|
||||
android:contentDescription="@string/empty"
|
||||
android:scaleType="center" />
|
||||
@@ -89,14 +94,14 @@
|
||||
android:id="@+id/sendLayout"
|
||||
android:layout_width="43dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@id/audioTextSwitchLayout"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="@dimen/bottom_component_margin_horizontal">
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_marginEnd="@dimen/bottom_component_margin_horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/buttonMoreFuntionInText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="29dp"
|
||||
android:layout_height="29dp"
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/nim_message_input_plus"
|
||||
android:contentDescription="@string/empty"
|
||||
@@ -105,9 +110,7 @@
|
||||
<TextView
|
||||
android:id="@+id/buttonSendMessage"
|
||||
android:layout_width="43dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_height="29dp"
|
||||
android:background="@drawable/nim_message_button_bottom_send_selector"
|
||||
android:contentDescription="@string/empty"
|
||||
android:gravity="center"
|
||||
|
Reference in New Issue
Block a user