update chat background
This commit is contained in:
parent
8dd82436bb
commit
c91f28ea31
8 changed files with 14 additions and 5 deletions
BIN
src/main/res/drawable/bg_dark_blue.png
Normal file
BIN
src/main/res/drawable/bg_dark_blue.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
BIN
src/main/res/drawable/bg_dark_orange.png
Normal file
BIN
src/main/res/drawable/bg_dark_orange.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
BIN
src/main/res/drawable/bg_light_blue.png
Normal file
BIN
src/main/res/drawable/bg_light_blue.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
BIN
src/main/res/drawable/bg_light_orange.png
Normal file
BIN
src/main/res/drawable/bg_light_orange.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.9 KiB |
4
src/main/res/drawable/chatbg.xml
Normal file
4
src/main/res/drawable/chatbg.xml
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:src="?attr/chat_bg"
|
||||
android:tileMode="repeat" />
|
|
@ -5,7 +5,7 @@
|
|||
<RelativeLayout xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="?attr/color_background_tertiary"
|
||||
android:background="@drawable/chatbg"
|
||||
android:clickable="false">
|
||||
|
||||
<ListView
|
||||
|
@ -16,7 +16,6 @@
|
|||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:background="?attr/color_background_tertiary"
|
||||
android:divider="@null"
|
||||
android:dividerHeight="0dp"
|
||||
android:listSelector="@android:color/transparent"
|
||||
|
@ -66,7 +65,6 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:background="?attr/color_background_tertiary"
|
||||
android:clickable="true"
|
||||
android:paddingStart="2dp"
|
||||
android:paddingLeft="2dp"
|
||||
|
@ -80,7 +78,7 @@
|
|||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="?attr/color_background_tertiary"
|
||||
android:background="?attr/selectableItemBackgroundBorderless"
|
||||
android:contentDescription="@string/attach_record_voice"
|
||||
android:src="@drawable/ic_send_voice_offline"
|
||||
android:visibility="gone" />
|
||||
|
@ -149,7 +147,7 @@
|
|||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="?attr/color_background_tertiary"
|
||||
android:background="?attr/selectableItemBackgroundBorderless"
|
||||
android:contentDescription="@string/send_message"
|
||||
android:src="@drawable/ic_send_text_offline" />
|
||||
</RelativeLayout>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
<attr name="edit_text_color" format="reference|color" />
|
||||
<attr name="color_warning" format="reference|color" />
|
||||
<attr name="EmojiColor" format="reference|color" />
|
||||
<attr name="chat_bg" format="reference|color" />
|
||||
|
||||
<attr name="activity_background_search" format="reference" />
|
||||
<attr name="activity_background_no_results" format="reference" />
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
<item name="colorControlActivated">@color/accent</item>
|
||||
<item name="text_Color_Main">@color/realblack</item>
|
||||
<item name="button_text_color_disabled">@color/grey500</item>
|
||||
<item name="chat_bg">@drawable/bg_light_blue</item>
|
||||
|
||||
<item name="color_background_primary">@color/grey50</item>
|
||||
<item name="color_background_secondary">@color/grey200</item>
|
||||
|
@ -170,6 +171,7 @@
|
|||
<item name="text_Color_Main">@color/realwhite</item>
|
||||
<item name="button_text_color_disabled">@color/grey500</item>
|
||||
<item name="android:navigationBarColor" tools:targetApi="21">@color/black</item>
|
||||
<item name="chat_bg">@drawable/bg_dark_blue</item>
|
||||
|
||||
<item name="color_background_primary">@color/grey700</item>
|
||||
<item name="color_background_secondary">@color/grey800</item>
|
||||
|
@ -332,6 +334,8 @@
|
|||
<item name="color_bubble_dark">@color/lightorange2</item>
|
||||
<item name="color_bubble_date">@color/lightgreen</item>
|
||||
<item name="color_bubble_warning">@color/lightred</item>
|
||||
|
||||
<item name="chat_bg">@drawable/bg_light_orange</item>
|
||||
</style>
|
||||
|
||||
<style name="ConversationsTheme.Orange.Dark" parent="ConversationsTheme.Dark">
|
||||
|
@ -345,6 +349,8 @@
|
|||
<item name="color_bubble_dark">@color/darkorange</item>
|
||||
<item name="color_bubble_date">@color/darkgreen</item>
|
||||
<item name="color_bubble_warning">@color/darkred</item>
|
||||
|
||||
<item name="chat_bg">@drawable/bg_dark_orange</item>
|
||||
</style>
|
||||
|
||||
<style name="ConversationsTheme.Dialog" parent="Theme.MaterialComponents.Light.Dialog">
|
||||
|
|
Reference in a new issue