d
This commit is contained in:
6
app/src/main/res/drawable/shape_left_kuang_item_bg.xml
Normal file
6
app/src/main/res/drawable/shape_left_kuang_item_bg.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape android:shape="rectangle"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#ffffffff" />
|
||||
<corners android:topLeftRadius="0dp" android:topRightRadius="5dp" android:bottomLeftRadius="5dp" android:bottomRightRadius="5dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/shape_right_kuang_item_bg.xml
Normal file
6
app/src/main/res/drawable/shape_right_kuang_item_bg.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape android:shape="rectangle"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#ff67abfc" />
|
||||
<corners android:topLeftRadius="10dp" android:topRightRadius="0dp" android:bottomLeftRadius="10dp" android:bottomRightRadius="10dp" />
|
||||
</shape>
|
||||
@@ -15,7 +15,7 @@
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/chat_left_bg"
|
||||
android:background="@drawable/shape_left_kuang_item_bg"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="10dp"
|
||||
android:paddingLeft="15dp"
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/tv_nickname"
|
||||
android:layout_toRightOf="@id/iv_avatar"
|
||||
android:background="@drawable/chat_right_bg"
|
||||
android:background="@drawable/shape_right_kuang_item_bg"
|
||||
android:gravity="center|left"
|
||||
android:maxWidth="220dp"
|
||||
android:minHeight="40dp"
|
||||
|
||||
Reference in New Issue
Block a user