update 補充翻譯
This commit is contained in:
@@ -53,10 +53,10 @@ public class MenuPopuwWindow implements View.OnClickListener {
|
||||
public void onSuccess(RongIMClient.BlacklistStatus blacklistStatus) {
|
||||
if (blacklistStatus == RongIMClient.BlacklistStatus.IN_BLACK_LIST) {
|
||||
tvBlack.setTag("1");
|
||||
tvBlack.setText(R.string.black_ing);
|
||||
tvBlack.setText(R.string.black_more);
|
||||
} else {
|
||||
tvBlack.setTag(null);
|
||||
tvBlack.setText(R.string.black);
|
||||
tvBlack.setText(R.string.black_add);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ public class MenuPopuwWindow implements View.OnClickListener {
|
||||
* @return
|
||||
*/
|
||||
public void show(View view) {
|
||||
popupWindow = new PopupWindow(popupView, DpUtil.dp2px(97), ViewGroup.LayoutParams.WRAP_CONTENT, true);
|
||||
popupWindow = new PopupWindow(popupView, ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT, true);
|
||||
popupWindow.showAsDropDown(view);
|
||||
WindowManager.LayoutParams lp = mContext.getWindow().getAttributes();
|
||||
lp.alpha = 0.8f;
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="97dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/background_d5_white"
|
||||
android:gravity="center"
|
||||
android:gravity="start"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/lt_remarks"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/lt_report"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
@@ -75,7 +75,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/lt_black"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
@@ -93,7 +93,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="40dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/black"
|
||||
android:text="@string/black_add"
|
||||
android:textColor="@color/black1"
|
||||
android:textSize="13sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
Reference in New Issue
Block a user