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
83caa266
Commit
83caa266
authored
May 25, 2019
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整卡组编辑布局
parent
233b637f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
86 additions
and
43 deletions
+86
-43
mobile/src/main/res/layout/activity_deck_cards.xml
mobile/src/main/res/layout/activity_deck_cards.xml
+83
-43
mobile/src/main/res/values-ko/strings.xml
mobile/src/main/res/values-ko/strings.xml
+1
-0
mobile/src/main/res/values-zh/strings.xml
mobile/src/main/res/values-zh/strings.xml
+1
-0
mobile/src/main/res/values/strings.xml
mobile/src/main/res/values/strings.xml
+1
-0
No files found.
mobile/src/main/res/layout/activity_deck_cards.xml
View file @
83caa266
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
<android.support.design.widget.CoordinatorLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -17,8 +16,7 @@
...
@@ -17,8 +16,7 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"#80000000"
android:background=
"#80000000"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
></LinearLayout>
</LinearLayout>
<FrameLayout
<FrameLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -27,14 +25,14 @@
...
@@ -27,14 +25,14 @@
<android.support.v7.widget.RecyclerView
<android.support.v7.widget.RecyclerView
android:id=
"@+id/grid_cards"
android:id=
"@+id/grid_cards"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
/>
android:layout_height=
"match_parent"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"
wrap_content
"
android:layout_height=
"
68dp
"
android:layout_gravity=
"bottom"
android:layout_gravity=
"bottom"
android:layout_marginBottom=
"2dp"
android:layout_marginLeft=
"10dp"
android:layout_marginLeft=
"10dp"
android:layout_marginBottom=
"2dp"
android:orientation=
"horizontal"
android:orientation=
"horizontal"
android:weightSum=
"1"
>
android:weightSum=
"1"
>
...
@@ -50,43 +48,84 @@
...
@@ -50,43 +48,84 @@
android:layout_height=
"@dimen/item_height"
android:layout_height=
"@dimen/item_height"
android:layout_weight=
"1"
/>
android:layout_weight=
"1"
/>
<ImageView
<LinearLayout
android:id=
"@+id/btn_nav_list"
android:layout_width=
"48dp"
android:layout_width=
"42dp"
android:layout_height=
"match_parent"
android:layout_height=
"42dp"
android:layout_marginLeft=
"2dp"
android:layout_marginLeft=
"2dp"
android:layout_marginRight=
"2dp"
android:layout_marginRight=
"2dp"
android:layout_gravity=
"center_vertical"
android:orientation=
"vertical"
>
android:src=
"@drawable/listicon"
/>
<ImageView
<ImageView
android:id=
"@+id/btn_nav_search"
android:id=
"@+id/btn_nav_list"
android:layout_width=
"42dp"
android:layout_width=
"48dp"
android:layout_height=
"42dp"
android:layout_height=
"48dp"
android:layout_gravity=
"center_vertical"
android:src=
"@drawable/listicon"
/>
<TextView
android:layout_width=
"48dp"
android:layout_height=
"20dp"
android:gravity=
"bottom|center_horizontal"
android:text=
"@string/searchresult"
android:textSize=
"10sp"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"48dp"
android:layout_height=
"match_parent"
android:layout_marginLeft=
"2dp"
android:layout_marginLeft=
"2dp"
android:layout_marginRight=
"2dp"
android:layout_marginRight=
"2dp"
android:layout_gravity=
"center_vertical"
android:orientation=
"vertical"
>
android:src=
"@drawable/search"
/>
<com.nightonke.boommenu.BoomMenuButton
android:id=
"@+id/bmb"
android:layout_width=
"60dp"
android:layout_height=
"48dp"
android:layout_gravity=
"center_vertical"
android:background=
"@drawable/buttonfunction"
app:bmb_buttonEnum=
"textOutsideCircle"
app:bmb_buttonPlaceEnum=
"buttonPlace_sc_9_1"
app:bmb_dimColor=
"#80000000"
app:bmb_normalColor=
"@android:color/transparent"
app:bmb_piecePlaceEnum=
"piecePlace_dot_9_1"
>
<ImageView
<ImageView
android:id=
"@+id/cube2"
android:id=
"@+id/btn_nav_search"
android:layout_width=
"35dp"
android:layout_width=
"48dp"
android:layout_height=
"35dp"
android:layout_height=
"48dp"
android:layout_gravity=
"center"
android:layout_gravity=
"center_vertical"
app:srcCompat=
"@drawable/cube"
/>
android:src=
"@drawable/search"
/>
</com.nightonke.boommenu.BoomMenuButton>
<TextView
android:layout_width=
"48dp"
android:layout_height=
"20dp"
android:gravity=
"bottom|center_horizontal"
android:text=
"@string/card_search"
android:textSize=
"10sp"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"60dp"
android:layout_height=
"match_parent"
android:layout_marginLeft=
"2dp"
android:layout_marginRight=
"2dp"
android:orientation=
"vertical"
>
<com.nightonke.boommenu.BoomMenuButton
android:id=
"@+id/bmb"
android:layout_width=
"wrap_content"
android:layout_height=
"48dp"
android:layout_gravity=
"center_vertical"
android:background=
"@drawable/buttonfunction"
app:bmb_buttonEnum=
"textOutsideCircle"
app:bmb_buttonPlaceEnum=
"buttonPlace_sc_9_1"
app:bmb_dimColor=
"#80000000"
app:bmb_normalColor=
"@android:color/transparent"
app:bmb_piecePlaceEnum=
"piecePlace_dot_9_1"
>
<ImageView
android:id=
"@+id/cube2"
android:layout_width=
"35dp"
android:layout_height=
"35dp"
android:layout_gravity=
"center"
app:srcCompat=
"@drawable/cube"
/>
</com.nightonke.boommenu.BoomMenuButton>
<TextView
android:layout_width=
"60dp"
android:layout_height=
"20dp"
android:gravity=
"bottom|center_horizontal"
android:text=
"@string/Function_Menu"
android:textSize=
"10sp"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</FrameLayout>
</FrameLayout>
...
@@ -97,15 +136,15 @@
...
@@ -97,15 +136,15 @@
android:background=
"@drawable/left"
android:background=
"@drawable/left"
android:orientation=
"vertical"
android:orientation=
"vertical"
android:paddingLeft=
"4dp"
android:paddingLeft=
"4dp"
android:padding
Right=
"4
dp"
android:padding
Top=
"2
dp"
android:padding
Top=
"2
dp"
>
android:padding
Right=
"4
dp"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"4dp"
android:layout_marginRight=
"30dp"
android:layout_marginTop=
"10dp"
android:layout_marginTop=
"10dp"
android:layout_marginRight=
"30dp"
android:layout_marginBottom=
"4dp"
android:orientation=
"horizontal"
android:orientation=
"horizontal"
android:paddingLeft=
"20dp"
>
android:paddingLeft=
"20dp"
>
...
@@ -114,7 +153,8 @@
...
@@ -114,7 +153,8 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_vertical"
android:layout_gravity=
"center_vertical"
android:text=
"@string/label_limitlist"
android:text=
"@string/label_limitlist"
android:textColor=
"@color/holo_blue_light"
/>
android:textColor=
"@color/holo_blue_light"
/>
<android.support.v7.widget.AppCompatSpinner
<android.support.v7.widget.AppCompatSpinner
android:id=
"@+id/sp_limit_list"
android:id=
"@+id/sp_limit_list"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -140,7 +180,7 @@
...
@@ -140,7 +180,7 @@
<include
<include
android:id=
"@+id/nav_view_list"
android:id=
"@+id/nav_view_list"
layout=
"@layout/nav_card_search"
/>
layout=
"@layout/nav_card_search"
/>
</LinearLayout>
</LinearLayout>
</android.support.v4.widget.DrawerLayout>
</android.support.v4.widget.DrawerLayout>
...
...
mobile/src/main/res/values-ko/strings.xml
View file @
83caa266
...
@@ -252,4 +252,5 @@
...
@@ -252,4 +252,5 @@
<string
name=
"save_failed_bcos"
>
다음 이유로 인해 저장에 실패했습니다:
</string>
<string
name=
"save_failed_bcos"
>
다음 이유로 인해 저장에 실패했습니다:
</string>
<string
name=
"deck_text_copyed"
>
덱 공유 코드를 클립보드에 복사했습니다
</string>
<string
name=
"deck_text_copyed"
>
덱 공유 코드를 클립보드에 복사했습니다
</string>
<string
name=
"save_n_open"
>
저장후 열기
</string>
<string
name=
"save_n_open"
>
저장후 열기
</string>
<string
name=
"searchresult"
>
결과
</string>
</resources>
</resources>
mobile/src/main/res/values-zh/strings.xml
View file @
83caa266
...
@@ -251,4 +251,5 @@
...
@@ -251,4 +251,5 @@
<string
name=
"save_failed_bcos"
>
保存失败,原因为
</string>
<string
name=
"save_failed_bcos"
>
保存失败,原因为
</string>
<string
name=
"deck_text_copyed"
>
已复制卡组文本到剪贴板
</string>
<string
name=
"deck_text_copyed"
>
已复制卡组文本到剪贴板
</string>
<string
name=
"save_n_open"
>
保存并打开
</string>
<string
name=
"save_n_open"
>
保存并打开
</string>
<string
name=
"searchresult"
>
搜索结果
</string>
</resources>
</resources>
mobile/src/main/res/values/strings.xml
View file @
83caa266
...
@@ -251,4 +251,5 @@
...
@@ -251,4 +251,5 @@
<string
name=
"save_failed_bcos"
>
save failed bcos of
</string>
<string
name=
"save_failed_bcos"
>
save failed bcos of
</string>
<string
name=
"deck_text_copyed"
>
Deck Text copyed
</string>
<string
name=
"deck_text_copyed"
>
Deck Text copyed
</string>
<string
name=
"save_n_open"
>
Save and Open
</string>
<string
name=
"save_n_open"
>
Save and Open
</string>
<string
name=
"searchresult"
>
Results
</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