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
b00993a8
Commit
b00993a8
authored
Nov 10, 2018
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善多语言
完善布局
parent
e2a55759
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
31 deletions
+39
-31
mobile/src/main/res/layout/notification_view_duel_assistant.xml
.../src/main/res/layout/notification_view_duel_assistant.xml
+35
-31
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
No files found.
mobile/src/main/res/layout/notification_view_duel_assistant.xml
View file @
b00993a8
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:id=
"@+id/notification_view_duel_assistant"
android:id=
"@+id/notification_view_duel_assistant"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
>
<ImageView
<ImageView
android:id=
"@+id/imageViewIcon"
android:id=
"@+id/imageViewIcon"
android:layout_width=
"40dp"
android:layout_width=
"45dp"
android:layout_height=
"40dp"
android:layout_height=
"45dp"
android:layout_alignParentStart=
"true"
android:layout_marginLeft=
"5dp"
android:layout_alignParentLeft=
"true"
android:layout_marginRight=
"2dp"
android:layout_centerVertical=
"true"
android:src=
"@drawable/ic_icon"
/>
android:src=
"@drawable/ic_icon"
/>
<Button
<LinearLayout
android:id=
"@+id/buttonStopService"
android:layout_width=
"match_parent"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentEnd=
"true"
android:orientation=
"vertical"
android:layout_alignParentRight=
"true"
android:layout_marginTop=
"5dp"
android:layout_centerVertical=
"true"
android:layout_marginBottom=
"5dp"
>
android:padding=
"15dp"
android:textColor=
"@color/colorAccent"
android:text=
"关闭"
/>
<TextView
<TextView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_toEndOf=
"@id/imageViewIcon"
android:text=
"@string/DuelAssistant"
android:layout_toRightOf=
"@id/imageViewIcon"
android:textColor=
"@color/black"
android:layout_toStartOf=
"@id/buttonStopService"
android:textSize=
"15sp"
/>
android:layout_toLeftOf=
"@id/buttonStopService"
android:layout_marginStart=
"5dp"
<TextView
android:layout_marginEnd=
"5dp"
android:layout_width=
"wrap_content"
android:layout_centerVertical=
"true"
android:layout_height=
"wrap_content"
android:textSize=
"18sp"
android:layout_marginTop=
"5dp"
android:text=
"决斗助手运行中"
/>
android:text=
"@string/About_DuelAssistant"
android:textColor=
"@color/black"
android:textSize=
"10sp"
/>
</LinearLayout>
</RelativeLayout>
<Button
android:id=
"@+id/buttonStopService"
android:layout_width=
"40dp"
android:layout_height=
"40dp"
android:text=
"@string/search_close"
android:textColor=
"@color/colorAccent"
/>
</LinearLayout>
mobile/src/main/res/values-zh/strings.xml
View file @
b00993a8
...
@@ -230,4 +230,6 @@
...
@@ -230,4 +230,6 @@
<string
name=
"Checking_Update"
>
检查更新中,请稍候
</string>
<string
name=
"Checking_Update"
>
检查更新中,请稍候
</string>
<string
name=
"Checking_Update_Failed"
>
检查更新失败
</string>
<string
name=
"Checking_Update_Failed"
>
检查更新失败
</string>
<string
name=
"Ask_to_Change_Other_Way"
>
,是否跳转到备用下载方式?
</string>
<string
name=
"Ask_to_Change_Other_Way"
>
,是否跳转到备用下载方式?
</string>
<string
name=
"DuelAssistant"
>
决斗助手启用中
</string>
<string
name=
"About_DuelAssistant"
>
用于快速查卡与约战加房的服务
</string>
</resources>
</resources>
mobile/src/main/res/values/strings.xml
View file @
b00993a8
...
@@ -233,4 +233,6 @@
...
@@ -233,4 +233,6 @@
<string
name=
"Checking_Update"
>
Now Checking Update
</string>
<string
name=
"Checking_Update"
>
Now Checking Update
</string>
<string
name=
"Checking_Update_Failed"
>
Checking Update Failed
</string>
<string
name=
"Checking_Update_Failed"
>
Checking Update Failed
</string>
<string
name=
"Ask_to_Change_Other_Way"
>
\, would you like to change other way
</string>
<string
name=
"Ask_to_Change_Other_Way"
>
\, would you like to change other way
</string>
<string
name=
"DuelAssistant"
>
DuelAssiatant is On
</string>
<string
name=
"About_DuelAssistant"
>
Service for getting Keywords from Clipboard
</string>
</resources>
</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