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
9b0eda67
Commit
9b0eda67
authored
Feb 25, 2021
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update menu guide
parent
0192fa7d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
178 additions
and
6 deletions
+178
-6
mobile/src/main/java/cn/garymb/ygomobile/ui/home/HomeActivity.java
...c/main/java/cn/garymb/ygomobile/ui/home/HomeActivity.java
+2
-3
mobile/src/main/res/layout/view_guide_home.xml
mobile/src/main/res/layout/view_guide_home.xml
+155
-3
mobile/src/main/res/values-ko/strings.xml
mobile/src/main/res/values-ko/strings.xml
+7
-0
mobile/src/main/res/values-zh/strings.xml
mobile/src/main/res/values-zh/strings.xml
+7
-0
mobile/src/main/res/values/strings.xml
mobile/src/main/res/values/strings.xml
+7
-0
No files found.
mobile/src/main/java/cn/garymb/ygomobile/ui/home/HomeActivity.java
View file @
9b0eda67
...
...
@@ -722,9 +722,8 @@ public abstract class HomeActivity extends BaseActivity implements NavigationVie
@Override
public
void
onLayoutInflated
(
View
view
,
Controller
controller
)
{
//可对同一个layout布局使用不同的文字图案和布局更改,不必重复创建许多类似的布局
TextView
tv
=
view
.
findViewById
(
R
.
id
.
text_about
);
tv
.
setText
(
"功能菜单:\n软件主要功能如教程,单人游戏,卡组编辑,设置等"
);
//可只创建一个引导layout并把相关内容都放在其中并GONE,获得ID并初始化相应为显示
view
.
findViewById
(
R
.
id
.
view_abt_menu
).
setVisibility
(
View
.
VISIBLE
);
}
})
...
...
mobile/src/main/res/layout/view_guide_home.xml
View file @
9b0eda67
...
...
@@ -3,18 +3,170 @@
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<LinearLayout
android:id=
"@+id/view_abt_menu"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_margin=
"20dp"
android:orientation=
"vertical"
android:visibility=
"gone"
>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:shadowColor=
"#000000"
android:shadowDy=
"2"
android:shadowRadius=
"2"
android:text=
"@string/guide_menu"
android:textColor=
"@color/white"
android:textSize=
"15sp"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
>
<ImageView
android:layout_width=
"30dp"
android:layout_height=
"30dp"
android:layout_gravity=
"center"
android:src=
"@drawable/start"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:shadowColor=
"#000000"
android:shadowDy=
"2"
android:shadowRadius=
"2"
android:text=
"@string/action_game"
android:textColor=
"@color/white"
android:textSize=
"15sp"
/>
<ImageView
android:layout_width=
"30dp"
android:layout_height=
"30dp"
android:layout_gravity=
"center"
android:src=
"@drawable/deck"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:shadowColor=
"#000000"
android:shadowDy=
"2"
android:shadowRadius=
"2"
android:text=
"@string/deck_manager"
android:textColor=
"@color/white"
android:textSize=
"15sp"
/>
<ImageView
android:layout_width=
"30dp"
android:layout_height=
"30dp"
android:layout_gravity=
"center"
android:src=
"@drawable/search"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:shadowColor=
"#000000"
android:shadowDy=
"2"
android:shadowRadius=
"2"
android:text=
"@string/card_search"
android:textColor=
"@color/white"
android:textSize=
"15sp"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"100dp"
android:orientation=
"horizontal"
>
<ImageView
android:layout_width=
"30dp"
android:layout_height=
"30dp"
android:src=
"@drawable/help"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_marginLeft=
"20dp"
android:shadowColor=
"#000000"
android:shadowDy=
"2"
android:shadowRadius=
"2"
android:text=
"@string/guide_help"
android:textColor=
"@color/white"
android:textSize=
"12sp"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"10dp"
android:orientation=
"horizontal"
>
<ImageView
android:layout_width=
"30dp"
android:layout_height=
"30dp"
android:src=
"@drawable/setting"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_marginLeft=
"20dp"
android:shadowColor=
"#000000"
android:shadowDy=
"2"
android:shadowRadius=
"2"
android:text=
"@string/guide_settings"
android:textColor=
"@color/white"
android:textSize=
"12sp"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"10dp"
android:orientation=
"horizontal"
>
<ImageView
android:layout_width=
"30dp"
android:layout_height=
"30dp"
android:src=
"@drawable/downloadimages"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_marginLeft=
"20dp"
android:shadowColor=
"#000000"
android:shadowDy=
"2"
android:shadowRadius=
"2"
android:text=
"@string/guide_reset"
android:textColor=
"@color/white"
android:textSize=
"12sp"
/>
</LinearLayout>
</LinearLayout>
<TextView
android:id=
"@+id/text_about"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_margin=
"20dp"
android:text=
"about"
android:textColor=
"@color/white"
android:shadowColor=
"#000000"
android:shadowDy=
"2"
android:shadowRadius=
"2"
android:textSize=
"20sp"
/>
android:text=
"about"
android:textColor=
"@color/white"
android:textSize=
"20sp"
android:visibility=
"gone"
/>
<ImageView
android:id=
"@+id/abt_rename"
...
...
mobile/src/main/res/values-ko/strings.xml
View file @
9b0eda67
...
...
@@ -290,4 +290,11 @@
<string
name=
"explain_permission"
>
앱을 실행하는데 있어서 다음과 같은 권한의 허용이 필요합니다. \(비활성화시 앱이 종료 됨\)
\n저장 권한\: 덱 저장 및 백업 사용자 지정 아바타\, 배경 화면등을 설정하는데 필요합니다\.
</string>
<string
name=
"guide_menu"
>
Menu\:\nincluding most of functions like
</string>
<string
name=
"guide_single_game"
>
Single Game\: start YGOPro.play bot duel\, deck builder\, etc.
</string>
<string
name=
"guide_deckmanager"
>
Deck Manager\: create, edit, share and backup Decks. search Cards and addto Deck
</string>
<string
name=
"guide_cardSearch"
>
Card Search\: search cards, add cards to myfavorites
</string>
<string
name=
"guide_help"
>
Help\: specifically guide How to use YGOMobile and learn Master Rules
</string>
<string
name=
"guide_settings"
>
Settings\: turn on Expansions and DuelAssistant.set game avatars, background, cardback.
</string>
<string
name=
"guide_reset"
>
Reset Resources\: click to reset when pictures or any files are mistaken deleted
</string>
</resources>
mobile/src/main/res/values-zh/strings.xml
View file @
9b0eda67
...
...
@@ -290,4 +290,11 @@
使用本软件此类功能将申请以下必要权限:
\n安装未知应用权限:安装更新包,备份、还原卡组必需
\n存储权限:备份、还原卡组,自定义背景、头像、卡背必需
</string>
<string
name=
"guide_menu"
>
功能菜单:软件主要功能如"
</string>
<string
name=
"guide_single_game"
>
单人游戏:启动YGOPro,可玩离线人机,横屏卡组编辑等
</string>
<string
name=
"guide_deckmanager"
>
卡组编辑:创建、修改、分享、备份卡组,搜索卡片加入卡组等
</string>
<string
name=
"guide_cardSearch"
>
卡片搜索:搜索卡片,收藏单卡等
</string>
<string
name=
"guide_help"
>
教程:包含软件具体使用方法和大师规则学习(划重点)
</string>
<string
name=
"guide_settings"
>
设置:启动决斗助手,使用先行卡(如果有),更改游戏头像,背景,卡背等
</string>
<string
name=
"guide_reset"
>
重置资源:发现缺图等文件误删情况时点击重置
</string>
</resources>
mobile/src/main/res/values/strings.xml
View file @
9b0eda67
...
...
@@ -293,4 +293,11 @@
Very necessary permissions will be applied\:
\nInstall unknow apps\: Install upgrade and Change Settings
\nStorage Access\:backup\/restore deck\,set custom background\/avatars\/cardback
</string>
<string
name=
"guide_menu"
>
Menu\: including most of functions like
</string>
<string
name=
"guide_single_game"
>
Single Game\: start YGOPro.play bot duel\, deck builder\, etc.
</string>
<string
name=
"guide_deckmanager"
>
Deck Manager\: create, edit, share and backup Decks. search Cards and addto Deck
</string>
<string
name=
"guide_cardSearch"
>
Card Search\: search cards, add cards to myfavorites
</string>
<string
name=
"guide_help"
>
Help\: specifically guide How to use YGOMobile and learn Master Rules
</string>
<string
name=
"guide_settings"
>
Settings\: turn on Expansions and DuelAssistant.set game avatars, background, cardback.
</string>
<string
name=
"guide_reset"
>
Reset Resources\: click to reset when pictures or any files are mistaken deleted
</string>
</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