Merge remote-tracking branch 'origin/dev_改版主分支-升级融云SDK&AGP8' into dev_改版主分支-升级融云SDK&AGP8

This commit is contained in:
zlzw 2024-03-29 14:52:03 +08:00
commit 91217e6bda
8 changed files with 10 additions and 11 deletions

View File

@ -86,7 +86,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:padding="10dp" android:padding="10dp"
android:text="回复" android:text="@string/reply"
android:textColor="#777777" android:textColor="#777777"
android:textSize="11dp" /> android:textSize="11dp" />

View File

@ -1471,7 +1471,7 @@
<string name="cancel_back">取消黑名单</string> <string name="cancel_back">取消黑名单</string>
<string name="user_home_img_del_dialog">確定刪除圖片?</string> <string name="user_home_img_del_dialog">確定刪除圖片?</string>
<string name="upload_success">上传成功</string> <string name="upload_success">上传成功</string>
<string name="upload_failed">删除成功</string> <string name="upload_failed">上傳成功</string>
<string name="_9">最多添加9張圖片</string> <string name="_9">最多添加9張圖片</string>
<string name="not_interested">不感興趣</string> <string name="not_interested">不感興趣</string>
<string name="person_like">人覺得很讚</string> <string name="person_like">人覺得很讚</string>

View File

@ -1471,7 +1471,7 @@
<string name="cancel_back">取消黑名单</string> <string name="cancel_back">取消黑名单</string>
<string name="user_home_img_del_dialog">確定刪除圖片?</string> <string name="user_home_img_del_dialog">確定刪除圖片?</string>
<string name="upload_success">上传成功</string> <string name="upload_success">上传成功</string>
<string name="upload_failed">删除成功</string> <string name="upload_failed">上傳成功</string>
<string name="_9">最多添加9張圖片</string> <string name="_9">最多添加9張圖片</string>
<string name="not_interested">不感興趣</string> <string name="not_interested">不感興趣</string>
<string name="person_like">人覺得很讚</string> <string name="person_like">人覺得很讚</string>

View File

@ -1469,7 +1469,7 @@
<string name="cancel_back">取消黑名單</string> <string name="cancel_back">取消黑名單</string>
<string name="user_home_img_del_dialog">確定刪除圖片?</string> <string name="user_home_img_del_dialog">確定刪除圖片?</string>
<string name="upload_success">上传成功</string> <string name="upload_success">上传成功</string>
<string name="upload_failed">删除成功</string> <string name="upload_failed">上傳成功</string>
<string name="_9">最多添加9張圖片</string> <string name="_9">最多添加9張圖片</string>
<string name="not_interested">不感興趣</string> <string name="not_interested">不感興趣</string>
<string name="person_like">人覺得很讚</string> <string name="person_like">人覺得很讚</string>

View File

@ -1491,7 +1491,7 @@ Limited ride And limited avatar frame</string>
<string name="cancel_back">取消黑名单</string> <string name="cancel_back">取消黑名单</string>
<string name="user_home_img_del_dialog">確定刪除圖片?</string> <string name="user_home_img_del_dialog">確定刪除圖片?</string>
<string name="upload_success">上传成功</string> <string name="upload_success">上传成功</string>
<string name="upload_failed">删除成功</string> <string name="upload_failed">上傳成功</string>
<string name="_9">最多添加9張圖片</string> <string name="_9">最多添加9張圖片</string>
<string name="not_interested">不感興趣</string> <string name="not_interested">不感興趣</string>
<string name="person_like">人覺得很讚</string> <string name="person_like">人覺得很讚</string>

View File

@ -4,7 +4,6 @@ import android.content.Context;
import android.content.DialogInterface; import android.content.DialogInterface;
import android.os.Build; import android.os.Build;
import android.util.Log; import android.util.Log;
import android.view.LayoutInflater;
import android.view.View; import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
import android.widget.TextView; import android.widget.TextView;

View File

@ -62,8 +62,8 @@ public class ConversationPopuwWindow implements View.OnClickListener {
int popupWidth = popupView.getMeasuredWidth(); int popupWidth = popupView.getMeasuredWidth();
int popupHeight = popupView.getMeasuredHeight(); int popupHeight = popupView.getMeasuredHeight();
popupWindow.showAtLocation(view, Gravity.NO_GRAVITY, (location[0]+view.getWidth()/2)-popupWidth/2, popupWindow.showAtLocation(view, Gravity.NO_GRAVITY, (location[0] + view.getWidth() / 2) - popupWidth / 2,
location[1]-popupHeight); location[1] - popupHeight);
} }
@Override @Override
@ -75,7 +75,7 @@ public class ConversationPopuwWindow implements View.OnClickListener {
IMCenter.getInstance().removeConversation(conversationType, userId, new RongIMClient.ResultCallback<Boolean>() { IMCenter.getInstance().removeConversation(conversationType, userId, new RongIMClient.ResultCallback<Boolean>() {
@Override @Override
public void onSuccess(Boolean aBoolean) { public void onSuccess(Boolean aBoolean) {
ToastUtil.show("删除成功"); ToastUtil.show(mContext.getResources().getString(R.string.del_suc));
} }
@Override @Override

View File

@ -439,7 +439,7 @@ public class ConversationIMListManager {
IMCenter.getInstance().removeConversation(Conversation.ConversationType.PRIVATE, userId, new RongIMClient.ResultCallback<Boolean>() { IMCenter.getInstance().removeConversation(Conversation.ConversationType.PRIVATE, userId, new RongIMClient.ResultCallback<Boolean>() {
@Override @Override
public void onSuccess(Boolean aBoolean) { public void onSuccess(Boolean aBoolean) {
ToastUtil.show("删除成功"); ToastUtil.show(mContext.getResources().getString(R.string.del_suc));
} }
@Override @Override