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
ec82fb22
Commit
ec82fb22
authored
Jul 26, 2022
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化搜索关键词被输入法界面遮挡
parent
7ebe0de5
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
213 additions
and
212 deletions
+213
-212
mobile/src/main/java/cn/garymb/ygomobile/ui/home/HomeFragment.java
...c/main/java/cn/garymb/ygomobile/ui/home/HomeFragment.java
+1
-5
mobile/src/main/res/layout/nav_card_search.xml
mobile/src/main/res/layout/nav_card_search.xml
+212
-207
No files found.
mobile/src/main/java/cn/garymb/ygomobile/ui/home/HomeFragment.java
View file @
ec82fb22
...
@@ -183,10 +183,6 @@ public class HomeFragment extends BaseFragemnt implements OnDuelAssistantListene
...
@@ -183,10 +183,6 @@ public class HomeFragment extends BaseFragemnt implements OnDuelAssistantListene
return true;
return true;
}
}
});*/
});*/
// cv_reset_res = view.findViewById(R.id.action_reset_game_res);
// cv_reset_res.setOnClickListener(this);
// cv_join_QQ = view.findViewById(R.id.action_join_qq_group);
// cv_join_QQ.setOnClickListener(this);
cv_donation
=
view
.
findViewById
(
R
.
id
.
nav_webpage
);
cv_donation
=
view
.
findViewById
(
R
.
id
.
nav_webpage
);
cv_donation
.
setOnClickListener
(
this
);
cv_donation
.
setOnClickListener
(
this
);
cv_help
=
view
.
findViewById
(
R
.
id
.
action_help
);
cv_help
=
view
.
findViewById
(
R
.
id
.
action_help
);
...
@@ -204,7 +200,7 @@ public class HomeFragment extends BaseFragemnt implements OnDuelAssistantListene
...
@@ -204,7 +200,7 @@ public class HomeFragment extends BaseFragemnt implements OnDuelAssistantListene
//轮播图
//轮播图
public
void
initBanner
(
View
view
,
Bundle
saveBundle
)
{
public
void
initBanner
(
View
view
,
Bundle
saveBundle
)
{
xb_banner
=
view
.
findViewById
(
R
.
id
.
xb_banner
);
xb_banner
=
view
.
findViewById
(
R
.
id
.
xb_banner
);
cv_banner
=
(
CardView
)
view
.
findViewById
(
R
.
id
.
cv_banner
);
cv_banner
=
view
.
findViewById
(
R
.
id
.
cv_banner
);
cv_banner
.
post
(()
->
{
cv_banner
.
post
(()
->
{
ViewGroup
.
LayoutParams
layoutParams
=
cv_banner
.
getLayoutParams
();
ViewGroup
.
LayoutParams
layoutParams
=
cv_banner
.
getLayoutParams
();
layoutParams
.
width
=
cv_banner
.
getWidth
();
layoutParams
.
width
=
cv_banner
.
getWidth
();
...
...
mobile/src/main/res/layout/nav_card_search.xml
View file @
ec82fb22
This diff is collapsed.
Click to expand it.
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