聊天页
BIN
nim_uikit/res/drawable-hdpi/nim_message_input_emotion.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 980 B |
BIN
nim_uikit/res/drawable-hdpi/nim_message_input_keyboard.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 764 B |
BIN
nim_uikit/res/drawable-hdpi/nim_message_input_plus.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 966 B |
Before Width: | Height: | Size: 898 B After Width: | Height: | Size: 1.3 KiB |
BIN
nim_uikit/res/drawable-hdpi/nim_message_input_voice_pressed.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 980 B |
BIN
nim_uikit/res/drawable-xhdpi/nim_message_input_keyboard.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 764 B |
BIN
nim_uikit/res/drawable-xhdpi/nim_message_input_plus.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 966 B |
BIN
nim_uikit/res/drawable-xhdpi/nim_message_input_plus_pressed.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 898 B |
BIN
nim_uikit/res/drawable-xhdpi/nim_message_input_voice_pressed.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.0 KiB |
@@ -13,6 +13,6 @@
|
||||
android:topLeftRadius="4dp"
|
||||
android:topRightRadius="20dp"/>
|
||||
|
||||
<solid android:color="@color/white"/>
|
||||
<solid android:color="#EFEBFF"/>
|
||||
|
||||
</shape>
|
@@ -13,6 +13,6 @@
|
||||
android:bottomRightRadius="20dp"
|
||||
android:bottomLeftRadius="20dp"/>
|
||||
|
||||
<solid android:color="#00D5E8"/>
|
||||
<solid android:color="#F4F4F4"/>
|
||||
|
||||
</shape>
|
@@ -2,7 +2,7 @@
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@drawable/nim_message_input_voice_pressed" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/nim_message_input_voice_normal" android:state_focused="true"/>
|
||||
<item android:drawable="@drawable/nim_message_input_voice_normal"/>
|
||||
<item android:drawable="@drawable/nim_message_input_voice_pressed" android:state_focused="true"/>
|
||||
<item android:drawable="@drawable/nim_message_input_voice_pressed"/>
|
||||
|
||||
</selector>
|
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@drawable/nim_message_input_keyboard_pressed" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/nim_message_input_keyboard_pressed" android:state_focused="true"/>
|
||||
<item android:drawable="@drawable/nim_message_input_keyboard" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/nim_message_input_keyboard" android:state_focused="true"/>
|
||||
<item android:drawable="@drawable/nim_message_input_keyboard"/>
|
||||
|
||||
</selector>
|
@@ -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"
|
||||
|
@@ -66,7 +66,7 @@
|
||||
<dimen name="min_bubble_height">49dip</dimen>
|
||||
<dimen name="resend_button_margin_bottom">3dip</dimen>
|
||||
<dimen name="first_load_button_bottom">10dip</dimen>
|
||||
<dimen name="bottom_component_margin_horizontal">6dip</dimen>
|
||||
<dimen name="bottom_component_margin_horizontal">10dip</dimen>
|
||||
<dimen name="bottom_component_margin_vertical">8dip</dimen>
|
||||
<dimen name="bubble_layout_margin_vertical">10dip</dimen>
|
||||
<dimen name="bubble_time_layout_margin_top">18dip</dimen>
|
||||
|
@@ -225,5 +225,6 @@
|
||||
<string name="fts_prefix_hit">前缀匹配高亮检索结果</string>
|
||||
<string name="msg_search">全文检索</string>
|
||||
<string name="msg_search_limit">全文检索显示条数</string>
|
||||
<string name="message_hint">请输入消息</string>
|
||||
|
||||
</resources>
|