Commit 130de6d8 authored by fallenstardust's avatar fallenstardust

完善反馈方式

parent 0f9fccc7
......@@ -500,6 +500,7 @@
!system 1624 Die landed on:
#tips
!system 1700 You can right-click on %ls
!system 1800 FeedBack
#victory reason
!victory 0x0 Surrendered
!victory 0x1 LP reached 0
......
......@@ -497,6 +497,7 @@
!system 1624 주사위 결과:
#tips
!system 1700 %ls에 대해 마우스 오른쪽 버튼으로 확인할 수 있습니다.
!system 1800 피드백
#victory reason
!victory 0x0 항복했어요
!victory 0x1 라이프가 0이 되었어요
......
......@@ -212,10 +212,6 @@ class LocalGameHost extends GameHost {
showDialog(activity, config);
});
dlg.setRightButtonListener((d, id) -> {
Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
intent.setData(Uri.parse("https://ygo233.com/bugs"));
context.startActivity(intent);
dlg.dismiss();
});
dlg.show();
......@@ -243,7 +239,15 @@ class LocalGameHost extends GameHost {
((TextView) dlg.findViewById(R.id.tv_screen_size)).setText(String.format("r:%dx%d,a=%dx%d,k=%s, g=%dx%d,c=%dx%d",
size.getFullW(), size.getFullH(), size.getActW(), size.getActH(), config.isKeepScale()?"Y":"N", size.getWidth(), size.getHeight(), size.getTouchX(), size.getTouchY()));
dlg.findViewById(R.id.btn_ok).setOnClickListener((v) -> {
dlg.findViewById(R.id.btn_report).setOnClickListener((v) -> {
Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.setData(Uri.parse("https://ygo233.com/bugs"));
context.startActivity(intent);
dlg.dismiss();
});
dlg.findViewById(R.id.btn_cancel).setOnClickListener((v) -> {
dlg.dismiss();
});
dlg.show();
......
......@@ -43,7 +43,7 @@
android:text="@string/loading"
android:layout_marginBottom="5dp"
android:textSize="14sp"
android:textColor="@color/holo_yellow" />
android:textColor="@color/white" />
<com.daimajia.numberprogressbar.NumberProgressBar
android:id="@+id/number_progress_bar"
......
......@@ -5,6 +5,7 @@
android:layout_height="wrap_content"
android:background="#88000000"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
......@@ -15,8 +16,8 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textColor="@color/white"
android:text="@string/lb_version"
android:textColor="@color/white"
android:textSize="12sp" />
<TextView
......@@ -28,6 +29,7 @@
android:textSize="12sp"
tools:text="xxxx" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
......@@ -38,8 +40,8 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textColor="@color/white"
android:text="@string/lb_model"
android:textColor="@color/white"
android:textSize="12sp" />
<TextView
......@@ -70,8 +72,8 @@
android:id="@+id/tv_android"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textColor="@color/white"
android:layout_weight="2"
android:textColor="@color/white"
android:textSize="12sp"
tools:text="9.0.0" />
</LinearLayout>
......@@ -86,8 +88,8 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textColor="@color/white"
android:text="@string/lb_rom"
android:textColor="@color/white"
android:textSize="12sp" />
<TextView
......@@ -110,8 +112,8 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textColor="@color/white"
android:text="@string/lb_cut_screen"
android:textColor="@color/white"
android:textSize="12sp" />
<TextView
......@@ -134,8 +136,8 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textColor="@color/white"
android:text="@string/lb_nav_bar"
android:textColor="@color/white"
android:textSize="12sp" />
<TextView
......@@ -143,8 +145,8 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="2"
android:textSize="12sp"
android:textColor="@color/white"
android:textSize="12sp"
tools:text="9.0.0" />
</LinearLayout>
......@@ -153,15 +155,39 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:textColor="@color/white"
android:padding="5dp"
android:textColor="@color/white"
tools:text="120x450" />
<Button
android:layout_width="wrap_content"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:id="@+id/btn_ok"
android:text="@android:string/ok"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:padding="8dp">
<FrameLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1">
<Button
android:id="@+id/btn_report"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/Feedback" />
</FrameLayout>
<FrameLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1">
<Button
android:id="@+id/btn_cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@android:string/cancel" />
</FrameLayout>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
......@@ -235,6 +235,7 @@
<string name="Update_Found">새로운 버전</string>
<string name="OK">확인</string>
<string name="Cancel">취소</string>
<string name="Feedback">피드백</string>
<string name="Checking_Update">업데이트 확인중</string>
<string name="Checking_Update_Failed">업데이트 확인 실패</string>
<string name="Ask_to_Change_Other_Way">\, 다른 방법으로 변경을 원하십니까</string>
......@@ -281,5 +282,5 @@
<string name="lb_version">Version:</string>
<string name="lb_model">Model:</string>
<string name="lb_cut_screen">Notch/height</string>
<string name="user_notice">At once you think you find a BUG(s).pls screenshooting immediately.after Dueling end,click [Report] then [OK] to screenshoot the inform then touch [WEB Report] to commit BUG detail and upload the 2(or more) screenshootings</string>
<string name="user_notice">At once you think you find a BUG(s).pls screenshooting immediately.after Dueling end,re-click [Feedback] then [OK] to screenshoot the inform then touch [Feedback] to commit BUG detail and upload the 2(or more) screenshootings</string>
</resources>
......@@ -236,6 +236,7 @@
<string name="Update_Found">发现新版本</string>
<string name="OK">确定</string>
<string name="Cancel">取消</string>
<string name="Feedback">反馈</string>
<string name="Checking_Update">检查更新中,请稍候</string>
<string name="Checking_Update_Failed">检查更新失败</string>
<string name="Ask_to_Change_Other_Way">,是否跳转到备用下载方式?</string>
......@@ -280,5 +281,5 @@
<string name="lb_version">版本:</string>
<string name="lb_model">手机型号</string>
<string name="lb_cut_screen">有无刘海/高度</string>
<string name="user_notice">遇到认为BUG的情景请即时截图,再按[确定]显示系统信息后截图。等决斗结束后,重新点击下方[反馈]开启反馈网页,在撰写评论中具体描述BUG内容,并在添加照片中将包含这两张的截图上传</string>
<string name="user_notice">遇到认为BUG的情景请即时截图。等决斗结束后,重新点击此[问题反馈]并点击[确定]显示系统信息后截图并点击[反馈]打开反馈网页,在撰写评论中具体描述BUG内容,并在添加照片中将包含这两张的截图上传</string>
</resources>
......@@ -237,6 +237,7 @@
<string name="Update_Found">Found New Version</string>
<string name="OK">OK</string>
<string name="Cancel">Cancel</string>
<string name="Feedback">Feedback</string>
<string name="Checking_Update">Now Checking Update</string>
<string name="Checking_Update_Failed">Checking Update Failed</string>
<string name="Ask_to_Change_Other_Way">\, would you like to change other way</string>
......@@ -283,5 +284,5 @@
<string name="lb_version">Version:</string>
<string name="lb_model">Model:</string>
<string name="lb_cut_screen">Notch/height</string>
<string name="user_notice">At once you think you find a BUG(s).pls screenshooting immediately.after Dueling end,click [Report] then [OK] to screenshoot the inform then touch [WEB Report] to commit BUG detail and upload the 2(or more) screenshootings</string>
<string name="user_notice">At once you think you find a BUG(s).pls screenshooting immediately.after Dueling end,re-click [Feedback] then [OK] to screenshoot the inform then touch [Feedback] to commit BUG detail and upload the 2(or more) screenshootings</string>
</resources>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment