调整礼物弹框文本

This commit is contained in:
zlzw 2022-10-12 13:23:11 +08:00
parent 88107b7ab5
commit 6d4e4f8566
3 changed files with 6 additions and 4 deletions

View File

@ -298,7 +298,7 @@ public class LiveGiftDialogFragment extends AbsDialogFragment implements View.On
if(resId!=-1){ if(resId!=-1){
mVipGoldIcon.setImageResource(resId); mVipGoldIcon.setImageResource(resId);
mVipGoldTitle.setText(user.getString("noble_name")); mVipGoldTitle.setText(user.getString("noble_name"));
mVipGoldDesc.setText("前往貴族中心"); mVipGoldDesc.setText(R.string.live_gift_buy_gold_desc_to);
} }
} }
} }

View File

@ -64,7 +64,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="start" android:layout_gravity="start"
android:textColor="#FFFFFF" android:textColor="#FFFFFF"
android:text="開通貴族" android:text="@string/live_gift_buy_gold"
android:textSize="11.52sp" /> android:textSize="11.52sp" />
<TextView <TextView
android:id="@+id/vipGoldDesc" android:id="@+id/vipGoldDesc"
@ -72,7 +72,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="center" android:layout_gravity="center"
android:textColor="#999999" android:textColor="#999999"
android:text="享受專屬特權!" android:text="@string/live_gift_buy_gold_desc"
android:textSize="7.68sp" /> android:textSize="7.68sp" />
</LinearLayout> </LinearLayout>
@ -246,7 +246,6 @@
android:gravity="center_vertical" android:gravity="center_vertical"
android:textColor="@color/white" android:textColor="@color/white"
android:textSize="12sp" android:textSize="12sp"
android:text="123"
app:dt_left_drawable="@mipmap/diamond" app:dt_left_drawable="@mipmap/diamond"
app:dt_left_height="20dp" app:dt_left_height="20dp"
app:dt_left_width="20dp" app:dt_left_width="20dp"

View File

@ -18,4 +18,7 @@
<string name="live_room_public_des">所有人可觀看</string> <string name="live_room_public_des">所有人可觀看</string>
<string name="live_room_private_des">僅擁有房間密碼的人可觀看</string> <string name="live_room_private_des">僅擁有房間密碼的人可觀看</string>
<string name="live_room_type_submit">確認</string> <string name="live_room_type_submit">確認</string>
<string name="live_gift_buy_gold" translatable="false">開通貴族</string>
<string name="live_gift_buy_gold_desc" translatable="false">享受專屬特權!</string>
<string name="live_gift_buy_gold_desc_to" translatable="false">前往貴族中心</string>
</resources> </resources>