Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fallenstardust
YGOMobile
Commits
b1c7a618
Commit
b1c7a618
authored
May 26, 2018
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
引导打开悬浮窗
parent
b448f8a8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
6 deletions
+16
-6
mobile/src/main/java/cn/garymb/ygomobile/ui/adapters/ServerListAdapter.java
...va/cn/garymb/ygomobile/ui/adapters/ServerListAdapter.java
+7
-0
mobile/src/main/java/cn/garymb/ygomobile/ui/plus/ServiceDuelAssistant.java
...ava/cn/garymb/ygomobile/ui/plus/ServiceDuelAssistant.java
+1
-1
mobile/src/main/res/values-ko/strings.xml
mobile/src/main/res/values-ko/strings.xml
+1
-0
mobile/src/main/res/values-zh/strings.xml
mobile/src/main/res/values-zh/strings.xml
+3
-2
mobile/src/main/res/values/strings.xml
mobile/src/main/res/values/strings.xml
+4
-3
No files found.
mobile/src/main/java/cn/garymb/ygomobile/ui/adapters/ServerListAdapter.java
View file @
b1c7a618
package
cn.garymb.ygomobile.ui.adapters
;
package
cn.garymb.ygomobile.ui.adapters
;
import
android.content.Context
;
import
android.content.Context
;
import
android.content.Intent
;
import
android.provider.Settings
;
import
android.view.View
;
import
android.view.View
;
import
android.view.ViewGroup
;
import
android.view.ViewGroup
;
...
@@ -33,6 +35,11 @@ public class ServerListAdapter extends BaseRecyclerAdapterPlus<ServerInfo, Serve
...
@@ -33,6 +35,11 @@ public class ServerListAdapter extends BaseRecyclerAdapterPlus<ServerInfo, Serve
DialogPlus
builder
=
new
DialogPlus
(
getContext
());
DialogPlus
builder
=
new
DialogPlus
(
getContext
());
builder
.
setTitle
(
R
.
string
.
OpenTIP
);
builder
.
setTitle
(
R
.
string
.
OpenTIP
);
builder
.
setMessage
(
R
.
string
.
join_helper_tip
);
builder
.
setMessage
(
R
.
string
.
join_helper_tip
);
builder
.
setLeftButtonText
(
R
.
string
.
Open_Alert_Window
);
builder
.
setLeftButtonListener
((
dlg
,
s
)
->
{
getContext
().
startActivity
(
new
Intent
(
Settings
.
ACTION_MANAGE_OVERLAY_PERMISSION
));
dlg
.
dismiss
();
});
builder
.
show
();
builder
.
show
();
});
});
if
(
position
==
0
){
if
(
position
==
0
){
...
...
mobile/src/main/java/cn/garymb/ygomobile/ui/plus/ServiceDuelAssistant.java
View file @
b1c7a618
...
@@ -96,7 +96,7 @@ public class ServiceDuelAssistant extends Service
...
@@ -96,7 +96,7 @@ public class ServiceDuelAssistant extends Service
private
void
joinRoom
(
String
ss
,
int
start
)
{
private
void
joinRoom
(
String
ss
,
int
start
)
{
final
String
password
=
ss
.
substring
(
start
,
ss
.
length
());
final
String
password
=
ss
.
substring
(
start
,
ss
.
length
());
ds_text
.
setText
(
"加入房间\""
+
password
+
"\""
);
ds_text
.
setText
(
getString
(
R
.
string
.
quick_join
)
+
password
+
"\""
);
ds_join
.
setText
(
R
.
string
.
join
);
ds_join
.
setText
(
R
.
string
.
join
);
ds_qx
.
setText
(
R
.
string
.
search_close
);
ds_qx
.
setText
(
R
.
string
.
search_close
);
disJoinDialog
();
disJoinDialog
();
...
...
mobile/src/main/res/values-ko/strings.xml
View file @
b1c7a618
...
@@ -208,4 +208,5 @@
...
@@ -208,4 +208,5 @@
\n이 기능을 사용하여 소프트웨어 일시 중지 창을 엽니다.
\n이 기능을 사용하여 소프트웨어 일시 중지 창을 엽니다.
\n그후 소프트웨어가 백그라운드로 구동되고 있는지 확인하십시오.
</string>
\n그후 소프트웨어가 백그라운드로 구동되고 있는지 확인하십시오.
</string>
<string
name=
"OpenTIP"
>
빠른 사용법
</string>
<string
name=
"OpenTIP"
>
빠른 사용법
</string>
<string
name=
"Open_Alert_Window"
>
열기 정지된창
</string>
</resources>
</resources>
mobile/src/main/res/values-zh/strings.xml
View file @
b1c7a618
...
@@ -202,9 +202,10 @@
...
@@ -202,9 +202,10 @@
<string
name=
"deck_name"
>
卡组
</string>
<string
name=
"deck_name"
>
卡组
</string>
<string
name=
"save_quit"
>
保存并退出
</string>
<string
name=
"save_quit"
>
保存并退出
</string>
<string
name=
"tip_reset_game_res"
>
游戏数据检查完成
</string>
<string
name=
"tip_reset_game_res"
>
游戏数据检查完成
</string>
<string
name=
"join_helper_tip"
>
你可以把
偏好的服务器拖到置顶
<string
name=
"join_helper_tip"
>
你可以把
常约战的服务器拖到第一位
\n
那么快捷加房时候
就会加入置顶的服务器
\n
之后快捷加房时
就会加入置顶的服务器
\n使用此功能须开启本软件悬浮窗
\n使用此功能须开启本软件悬浮窗
\n并确保本软件后台运行中
</string>
\n并确保本软件后台运行中
</string>
<string
name=
"OpenTIP"
>
快捷加房使用方法
</string>
<string
name=
"OpenTIP"
>
快捷加房使用方法
</string>
<string
name=
"Open_Alert_Window"
>
去打开悬浮窗
</string>
</resources>
</resources>
mobile/src/main/res/values/strings.xml
View file @
b1c7a618
...
@@ -206,8 +206,9 @@
...
@@ -206,8 +206,9 @@
<string
name=
"save_quit"
>
Save and quit
</string>
<string
name=
"save_quit"
>
Save and quit
</string>
<string
name=
"tip_reset_game_res"
>
Reset game resources completed
</string>
<string
name=
"tip_reset_game_res"
>
Reset game resources completed
</string>
<string
name=
"join_helper_tip"
>
you can move your favourite sever on top
<string
name=
"join_helper_tip"
>
you can move your favourite sever on top
\n
then join helper will acquiescently start in it
\nthen join helper will acquiescently start in it
\n
pls open the "SYSTEM ALERT WINDOW" permission
\n
pls click to APP permission to find me and open the "Pop-ups"
\n
and keep the soft run in the background
</string>
\nand keep the soft run in the background
</string>
<string
name=
"OpenTIP"
>
about Quick Join in Game
</string>
<string
name=
"OpenTIP"
>
about Quick Join in Game
</string>
<string
name=
"Open_Alert_Window"
>
To Open Pop-ups
</string>
</resources>
</resources>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment