根据产品需求修改英文翻译

根据产品需求修改UI样式
This commit is contained in:
zlzw 2023-07-11 10:51:03 +08:00
parent e786ae16c2
commit 0a02b39c12
5 changed files with 20 additions and 18 deletions

View File

@ -504,7 +504,7 @@
<string name="red_pack_3">Red envelopes</string> <string name="red_pack_3">Red envelopes</string>
<string name="red_pack_4">Average red envelope</string> <string name="red_pack_4">Average red envelope</string>
<string name="red_pack_5">Congratulations on making a fortune</string> <string name="red_pack_5">Congratulations on making a fortune</string>
<string name="red_pack_6">Hand out red envelopes</string> <string name="red_pack_6">Hand out</string>
<string name="red_pack_7">Please enter the amount</string> <string name="red_pack_7">Please enter the amount</string>
<string name="red_pack_8">Please enter quantity</string> <string name="red_pack_8">Please enter quantity</string>
<string name="red_pack_9">%1$s red packets in total</string> <string name="red_pack_9">%1$s red packets in total</string>
@ -1214,11 +1214,11 @@ Limited ride And limited avatar frame</string>
<string name="main_tabs_red_packet">Red packets</string> <string name="main_tabs_red_packet">Red packets</string>
<string name="save_popular_red_packets">Popular red packets</string> <string name="save_popular_red_packets">Popular red packets</string>
<string name="amount">amount</string> <string name="amount">amount</string>
<string name="drill">drill</string> <string name="drill">Diamonds</string>
<string name="conditions">Conditions</string> <string name="conditions">Conditions</string>
<string name="there_is_no">no</string> <string name="there_is_no">no</string>
<string name="following_anchor">Following anchor</string> <string name="following_anchor">Subscribing</string>
<string name="red_envelope_rill">Red packet%s diamonds/piece</string> <string name="red_envelope_rill">%s diamonds/piece</string>
<string name="total_consumption_of_drill">Total %s drill</string> <string name="total_consumption_of_drill">Total %s drill</string>
<string name="top_up_now">Go top up ></string> <string name="top_up_now">Go top up ></string>
<string name="range_range_is">Range Range is [%s]</string> <string name="range_range_is">Range Range is [%s]</string>

View File

@ -504,7 +504,7 @@
<string name="red_pack_3">Red envelopes</string> <string name="red_pack_3">Red envelopes</string>
<string name="red_pack_4">Average red envelope</string> <string name="red_pack_4">Average red envelope</string>
<string name="red_pack_5">Congratulations on making a fortune</string> <string name="red_pack_5">Congratulations on making a fortune</string>
<string name="red_pack_6">Hand out red envelopes</string> <string name="red_pack_6">Hand out</string>
<string name="red_pack_7">Please enter the amount</string> <string name="red_pack_7">Please enter the amount</string>
<string name="red_pack_8">Please enter quantity</string> <string name="red_pack_8">Please enter quantity</string>
<string name="red_pack_9">%1$s red packets in total</string> <string name="red_pack_9">%1$s red packets in total</string>
@ -1215,11 +1215,11 @@ Limited ride And limited avatar frame</string>
<string name="main_tabs_red_packet">Red packets</string> <string name="main_tabs_red_packet">Red packets</string>
<string name="save_popular_red_packets">Popular red packets</string> <string name="save_popular_red_packets">Popular red packets</string>
<string name="amount">amount</string> <string name="amount">amount</string>
<string name="drill">drill</string> <string name="drill">Diamonds</string>
<string name="conditions">Conditions</string> <string name="conditions">Conditions</string>
<string name="there_is_no">no</string> <string name="there_is_no">no</string>
<string name="following_anchor">Following anchor</string> <string name="following_anchor">Subscribing</string>
<string name="red_envelope_rill">Red packet%s diamonds/piece</string> <string name="red_envelope_rill">%s diamonds/piece</string>
<string name="total_consumption_of_drill">Total %s drill</string> <string name="total_consumption_of_drill">Total %s drill</string>
<string name="top_up_now">Go top up ></string> <string name="top_up_now">Go top up ></string>
<string name="range_range_is">Range Range is [%s]</string> <string name="range_range_is">Range Range is [%s]</string>

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:animateLayoutChanges="true" android:animateLayoutChanges="true"
@ -96,9 +97,10 @@
android:background="@drawable/background_open_red_packet" android:background="@drawable/background_open_red_packet"
android:text="@string/red_packet_open" android:text="@string/red_packet_open"
android:textColor="#FFE9BF" android:textColor="#FFE9BF"
android:textSize="32sp" android:textSize="26sp"
android:textStyle="bold" android:textStyle="bold"
android:visibility="invisible" /> android:visibility="invisible"
tools:visibility="visible" />
<FrameLayout <FrameLayout
android:id="@+id/red_packet_time_layout" android:id="@+id/red_packet_time_layout"

View File

@ -25,8 +25,8 @@
<ImageView <ImageView
android:id="@+id/gift_image" android:id="@+id/gift_image"
android:layout_width="20dp" android:layout_width="16dp"
android:layout_height="20dp" android:layout_height="16dp"
tools:srcCompat="@mipmap/beauty_jingbai" /> tools:srcCompat="@mipmap/beauty_jingbai" />
<TextView <TextView
@ -39,6 +39,6 @@
android:text="10000" android:text="10000"
android:textColor="@color/white" android:textColor="@color/white"
android:textSize="16sp" android:textSize="16sp"
android:textStyle="bold" /> />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>

View File

@ -69,10 +69,10 @@ public class RedPacketInfoActivity extends AbsActivity implements View.OnClickLi
} }
if (bean.getRedPacketStatus() == 2 && bean.getAmountRefund() == 0) { if (bean.getRedPacketStatus() == 2 && bean.getAmountRefund() == 0) {
gold.setImageResource(R.mipmap.diamond); gold.setImageResource(R.mipmap.diamond);
backAccountText.setText(mContext.getString(R.string.red_packet_info_residue_back) + " +" + bean.getAmountDiamond()); backAccountText.setText(" +" + bean.getAmountDiamond()+"\n" + mContext.getString(R.string.red_packet_info_residue_back));
} else if (bean.getRedPacketStatus() == 2 && bean.getAmountRefund() > 0) { } else if (bean.getRedPacketStatus() == 2 && bean.getAmountRefund() > 0) {
gold.setImageResource(R.mipmap.gold_coin); gold.setImageResource(R.mipmap.gold_coin);
backAccountText.setText(mContext.getString(R.string.red_packet_info_residue_back) + " +" + bean.getAmountRefund()); backAccountText.setText(" +" + bean.getAmountRefund() +"\n"+ mContext.getString(R.string.red_packet_info_residue_back));
} }
} }