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
fd3041b7
Commit
fd3041b7
authored
Jan 18, 2019
by
feihuaduo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增shortcuts
parent
14a69dae
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
42 additions
and
0 deletions
+42
-0
mobile/src/main/AndroidManifest.xml
mobile/src/main/AndroidManifest.xml
+5
-0
mobile/src/main/res/values-ko/strings.xml
mobile/src/main/res/values-ko/strings.xml
+2
-0
mobile/src/main/res/values-zh/strings.xml
mobile/src/main/res/values-zh/strings.xml
+2
-0
mobile/src/main/res/values/strings.xml
mobile/src/main/res/values/strings.xml
+2
-0
mobile/src/main/res/xml/shortcuts.xml
mobile/src/main/res/xml/shortcuts.xml
+31
-0
No files found.
mobile/src/main/AndroidManifest.xml
View file @
fd3041b7
...
...
@@ -44,6 +44,11 @@
<action
android:name=
"android.intent.action.MAIN"
/>
<category
android:name=
"android.intent.category.LAUNCHER"
/>
</intent-filter>
<meta-data
android:name=
"android.app.shortcuts"
android:resource=
"@xml/shortcuts"
/>
</activity>
<activity
...
...
mobile/src/main/res/values-ko/strings.xml
View file @
fd3041b7
...
...
@@ -89,7 +89,9 @@
<string
name=
"server_is_exist"
>
이미 존재하는 서버 입니다.
</string>
<string
name=
"server_info_error"
>
적절하지 않는 서버정보
</string>
<string
name=
"card_search"
>
카드검색
</string>
<string
name=
"card_search_exception"
>
卡片搜索错误
</string>
<string
name=
"deck_manager"
>
덱관리자
</string>
<string
name=
"deck_manager_exception"
>
卡组编辑错误
</string>
<string
name=
"search"
>
검색
</string>
<string
name=
"search_open"
>
카드옵션 선택
</string>
<string
name=
"search_close"
>
닫기
</string>
...
...
mobile/src/main/res/values-zh/strings.xml
View file @
fd3041b7
...
...
@@ -89,7 +89,9 @@
<string
name=
"server_is_exist"
>
服务器信息已经存在!
</string>
<string
name=
"server_info_error"
>
服务器信息填写错误
</string>
<string
name=
"card_search"
>
卡片搜索
</string>
<string
name=
"card_search_exception"
>
卡片搜索错误
</string>
<string
name=
"deck_manager"
>
卡组编辑
</string>
<string
name=
"deck_manager_exception"
>
卡组编辑错误
</string>
<string
name=
"search"
>
搜索
</string>
<string
name=
"search_open"
>
过滤
</string>
<string
name=
"search_close"
>
关闭
</string>
...
...
mobile/src/main/res/values/strings.xml
View file @
fd3041b7
...
...
@@ -97,7 +97,9 @@
<string
name=
"server_is_exist"
>
the server is exist
</string>
<string
name=
"server_info_error"
>
server info is bad.
</string>
<string
name=
"card_search"
>
Card Search
</string>
<string
name=
"card_search_exception"
>
卡片搜索错误
</string>
<string
name=
"deck_manager"
>
Deck Manager
</string>
<string
name=
"deck_manager_exception"
>
卡组编辑错误
</string>
<string
name=
"search"
>
Search
</string>
<string
name=
"search_open"
>
Select
</string>
<string
name=
"search_close"
>
Close
</string>
...
...
mobile/src/main/res/xml/shortcuts.xml
0 → 100644
View file @
fd3041b7
<?xml version="1.0" encoding="utf-8"?>
<shortcuts
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<shortcut
android:shortcutId=
"short_card_query"
android:enabled=
"true"
android:icon=
"@drawable/search"
android:shortcutShortLabel=
"@string/card_search"
android:shortcutLongLabel=
"@string/card_search"
android:shortcutDisabledMessage=
"@string/card_search_exception"
>
<intent
android:action=
"android.intent.action.VIEW"
android:targetPackage=
"cn.garymb.ygomobile"
android:targetClass=
"cn.garymb.ygomobile.ui.cards.CardSearchAcitivity"
/>
<categories
android:name=
"android.shortcut.conversation"
/>
</shortcut>
<shortcut
android:shortcutId=
"short_deck_manager"
android:enabled=
"true"
android:icon=
"@drawable/deck"
android:shortcutShortLabel=
"@string/deck_manager"
android:shortcutLongLabel=
"@string/deck_manager"
android:shortcutDisabledMessage=
"@string/card_search_exception"
>
<intent
android:action=
"android.intent.action.VIEW"
android:targetPackage=
"cn.garymb.ygomobile"
android:targetClass=
"cn.garymb.ygomobile.ui.cards.DeckManagerActivity"
/>
<categories
android:name=
"android.shortcut.conversation"
/>
</shortcut>
</shortcuts>
\ No newline at end of file
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