Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile-Cn-Ko-En
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-Cn-Ko-En
Commits
eb08b6ff
Commit
eb08b6ff
authored
Feb 21, 2020
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
交换加入和取消按钮
parent
30e76b1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
mobile/src/main/java/cn/garymb/ygomobile/ui/home/HomeActivity.java
...c/main/java/cn/garymb/ygomobile/ui/home/HomeActivity.java
+5
-5
No files found.
mobile/src/main/java/cn/garymb/ygomobile/ui/home/HomeActivity.java
View file @
eb08b6ff
...
...
@@ -630,14 +630,11 @@ public abstract class HomeActivity extends BaseActivity implements NavigationVie
dialog
.
setTitle
(
R
.
string
.
question
);
dialog
.
setMessage
(
getString
(
R
.
string
.
quick_join
)
+
password
+
"\""
);
dialog
.
setMessageGravity
(
Gravity
.
CENTER_HORIZONTAL
);
dialog
.
set
Righ
tButtonText
(
R
.
string
.
Cancel
);
dialog
.
set
Lef
tButtonText
(
R
.
string
.
join
);
dialog
.
set
Lef
tButtonText
(
R
.
string
.
Cancel
);
dialog
.
set
Righ
tButtonText
(
R
.
string
.
join
);
dialog
.
show
();
dialog
.
setRightButtonListener
((
dlg
,
s
)
->
{
dialog
.
dismiss
();
});
dialog
.
setLeftButtonListener
((
dlg
,
s
)
->
{
dialog
.
dismiss
();
ServerListAdapter
mServerListAdapter
=
new
ServerListAdapter
(
this
);
ServerListManager
mServerListManager
=
new
ServerListManager
(
this
,
mServerListAdapter
);
mServerListManager
.
syncLoadData
();
...
...
@@ -660,5 +657,8 @@ public abstract class HomeActivity extends BaseActivity implements NavigationVie
}
});
});
dialog
.
setLeftButtonListener
((
dlg
,
s
)
->
{
dialog
.
dismiss
();
});
}
}
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