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
f04ddf6d
Commit
f04ddf6d
authored
Dec 30, 2018
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
缩短菜单动画速度
parent
ac4fb2d5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mobile/src/main/java/cn/garymb/ygomobile/ui/home/HomeActivity.java
...c/main/java/cn/garymb/ygomobile/ui/home/HomeActivity.java
+1
-1
No files found.
mobile/src/main/java/cn/garymb/ygomobile/ui/home/HomeActivity.java
View file @
f04ddf6d
...
@@ -518,7 +518,7 @@ public abstract class HomeActivity extends BaseActivity implements NavigationVie
...
@@ -518,7 +518,7 @@ public abstract class HomeActivity extends BaseActivity implements NavigationVie
addMenuButton
(
mMenuIds
,
menu
,
R
.
id
.
nav_donation
,
R
.
string
.
donation
,
R
.
drawable
.
about
);
addMenuButton
(
mMenuIds
,
menu
,
R
.
id
.
nav_donation
,
R
.
string
.
donation
,
R
.
drawable
.
about
);
//设置展开或隐藏的延时。 默认值为 800ms。
//设置展开或隐藏的延时。 默认值为 800ms。
menu
.
setDuration
(
22
0
);
menu
.
setDuration
(
10
0
);
//设置每两个子按钮之间动画的延时(ms为单位)。 比如,如果延时设为0,那么所有子按钮都会同时展开或隐藏,默认值为100ms。
//设置每两个子按钮之间动画的延时(ms为单位)。 比如,如果延时设为0,那么所有子按钮都会同时展开或隐藏,默认值为100ms。
menu
.
setDelay
(
20
);
menu
.
setDelay
(
20
);
...
...
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