Merge branch 'dev_聊天' into dev_改版主分支
# Conflicts: # common/src/main/java/com/yunbao/common/http/PDLiveApi.java # common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java
This commit is contained in:
63
common/src/main/res/layout/view_message_chat_card.xml
Normal file
63
common/src/main/res/layout/view_message_chat_card.xml
Normal file
@@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="192dp"
|
||||
android:layout_height="299dp"
|
||||
android:background="@drawable/bg_msg_list_search">
|
||||
|
||||
|
||||
<com.yunbao.common.custom.RatioRoundImageView
|
||||
android:id="@+id/cover"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="206dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:riv_corner_radius="15dp"
|
||||
app:ri_ratio="1.2"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:src="@mipmap/screen" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/titleView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="15dp"
|
||||
android:textColor="#333333"
|
||||
android:textSize="13sp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/cover"
|
||||
tools:text="TextView" />
|
||||
|
||||
|
||||
<com.makeramen.roundedimageview.RoundedImageView
|
||||
android:id="@+id/avatar"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@mipmap/chat_head_mo"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/titleView"
|
||||
app:riv_oval="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/user_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:text="TextView"
|
||||
android:textColor="#333333"
|
||||
android:textSize="11sp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/avatar"
|
||||
app:layout_constraintStart_toEndOf="@+id/avatar"
|
||||
app:layout_constraintTop_toTopOf="@+id/avatar" />
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
69
common/src/main/res/layout/view_title_not_color.xml
Normal file
69
common/src/main/res/layout/view_title_not_color.xml
Normal file
@@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="72dp"
|
||||
android:paddingTop="24dp">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/titleView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/btn_back"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:onClick="backClick"
|
||||
android:padding="9dp"
|
||||
android:src="@mipmap/icon_back"
|
||||
android:tint="@color/textColor" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/img_more"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:padding="9dp"
|
||||
android:src="@mipmap/btn_more_black"
|
||||
android:tint="@color/textColor"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/rView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_toLeftOf="@+id/redPacketMain"
|
||||
android:layout_marginRight="10dp"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="13sp"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/not_received"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/redPacketMain"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="15dp"
|
||||
android:visibility="invisible"
|
||||
app:srcCompat="@mipmap/ic_red_packet_record"
|
||||
tools:visibility="visible" />
|
||||
|
||||
</RelativeLayout>
|
||||
</FrameLayout>
|
||||
BIN
common/src/main/res/mipmap-xxhdpi/ic_chat_black.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/ic_chat_black.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_chat_remarks.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/ic_chat_remarks.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_chat_report.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/ic_chat_report.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
@@ -26,6 +26,7 @@
|
||||
<string name="black">Pull black</string>
|
||||
<string name="black_ing">Relieving blackout</string>
|
||||
<string name="chat_remarks">Remarks</string>
|
||||
<string name="chat_report">Report</string>
|
||||
<string name="bonus_sign">Sign in immediately</string>
|
||||
<string name="bonus_sign_1">Continuously signed in</string>
|
||||
<string name="bonus_day">day</string>
|
||||
|
||||
@@ -16,7 +16,8 @@
|
||||
<string name="refresh_footer_nothing">沒有更多數據了</string>
|
||||
<string name="black">拉黑</string>
|
||||
<string name="black_ing">解除拉黑</string>
|
||||
<string name="chat_remarks">備註</string>
|
||||
<string name="chat_remarks">修改備註</string>
|
||||
<string name="chat_report">舉報</string>
|
||||
<string name="bonus_sign">立即簽到</string>
|
||||
<string name="bonus_sign_1">已連續簽到</string>
|
||||
<string name="bonus_day">天</string>
|
||||
|
||||
@@ -16,7 +16,8 @@
|
||||
<string name="refresh_footer_nothing">沒有更多數據了</string>
|
||||
<string name="black">拉黑</string>
|
||||
<string name="black_ing">解除拉黑</string>
|
||||
<string name="chat_remarks">備註</string>
|
||||
<string name="chat_remarks">修改備註</string>
|
||||
<string name="chat_report">舉報</string>
|
||||
<string name="bonus_sign">立即簽到</string>
|
||||
<string name="bonus_sign_1">已連續簽到</string>
|
||||
<string name="bonus_day">天</string>
|
||||
|
||||
@@ -16,7 +16,8 @@
|
||||
<string name="refresh_footer_nothing">沒有更多數據了</string>
|
||||
<string name="black">拉黑</string>
|
||||
<string name="black_ing">解除拉黑</string>
|
||||
<string name="chat_remarks">備註</string>
|
||||
<string name="chat_remarks">修改備註</string>
|
||||
<string name="chat_report">舉報</string>
|
||||
<string name="bonus_sign">立即簽到</string>
|
||||
<string name="bonus_sign_1">已連續簽到</string>
|
||||
<string name="bonus_day">天</string>
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
<string name="black">Pull black</string>
|
||||
<string name="black_ing">Relieving blackout</string>
|
||||
<string name="chat_remarks">Remarks</string>
|
||||
<string name="chat_report">Report</string>
|
||||
<string name="bonus_sign">Sign in immediately</string>
|
||||
<string name="bonus_sign_1">Continuously signed in</string>
|
||||
<string name="bonus_day">day</string>
|
||||
|
||||
@@ -98,6 +98,13 @@
|
||||
<item name="android:paddingRight">15dp</item>
|
||||
<item name="android:background">@color/white</item>
|
||||
</style>
|
||||
<style name="edit_profile_group_not_color" parent="AppTheme">
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">45dp</item>
|
||||
<item name="android:paddingLeft">15dp</item>
|
||||
<item name="android:paddingRight">15dp</item>
|
||||
|
||||
</style>
|
||||
|
||||
<style name="Theme.PayssionTrans" parent="Theme.AppCompat.Light">
|
||||
<item name="android:windowIsTranslucent">true</item>
|
||||
|
||||
Reference in New Issue
Block a user