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
8a9d5d8c
Commit
8a9d5d8c
authored
May 22, 2025
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整卡组广场item
parent
de0c2ecf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
25 deletions
+53
-25
mobile/src/main/res/drawable-xhdpi/box.9.png
mobile/src/main/res/drawable-xhdpi/box.9.png
+0
-0
mobile/src/main/res/layout/item_deck_info.xml
mobile/src/main/res/layout/item_deck_info.xml
+53
-25
No files found.
mobile/src/main/res/drawable-xhdpi/box.9.png
0 → 100644
View file @
8a9d5d8c
16 KB
mobile/src/main/res/layout/item_deck_info.xml
View file @
8a9d5d8c
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:
orientation=
"vertical
"
>
android:
padding=
"16dp
"
>
<!-- 封面卡片图片 -->
<ImageView
<ImageView
android:id=
"@+id/deck_info_image"
android:id=
"@+id/deck_info_image"
android:layout_width=
"@dimen/card_width_middle"
android:layout_width=
"279dp"
android:layout_height=
"@dimen/card_height_middle"
/>
android:layout_height=
"465dp"
android:layout_marginStart=
"76dp"
android:adjustViewBounds=
"true"
android:scaleType=
"centerInside"
app:layout_constraintBottom_toBottomOf=
"@id/deck_background"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"@id/deck_background"
app:layout_constraintVertical_bias=
"0.701"
/>
<TextView
<!-- 背景图片 -->
android:id=
"@+id/deck_id"
<ImageView
android:layout_width=
"match_parent"
android:id=
"@+id/deck_background"
android:layout_height=
"wrap_content"
/>
<TextView
android:id=
"@+id/deck_info_name"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
android:layout_height=
"wrap_content"
android:adjustViewBounds=
"true"
<!-- <TextView
android:scaleType=
"centerCrop"
android:id="@+id/deck_contributor
"
android:src=
"@drawable/box
"
android:layout_width="match_
parent"
app:layout_constraintEnd_toEndOf=
"
parent"
android:layout_height="wrap_content" />-->
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<LinearLayout
<!--TextView
android:layout_width=
"match_parent"
android:id="@+id/deck_id"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="wrap_content"
android:orientation=
"horizontal"
>
android:text="ID: 12345"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toEndOf="@id/deck_info_image"
android:layout_marginStart="16dp"/-->
<LinearLayout
android:layout_width=
"216dp"
android:layout_height=
"110dp"
android:orientation=
"vertical"
tools:layout_editor_absoluteX=
"109dp"
tools:layout_editor_absoluteY=
"353dp"
>
<!-- 卡组名称 -->
<TextView
android:id=
"@+id/deck_info_name"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
<!-- 贡献者 -->
<TextView
<TextView
android:id=
"@+id/deck_contributor"
android:id=
"@+id/deck_contributor"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
/>
android:layout_weight=
"1"
app:layout_constraintBottom_toTopOf=
"@+id/deck_background"
app:layout_constraintStart_toStartOf=
"@+id/deck_background"
/>
<!-- 最后修改时间 -->
<TextView
<TextView
android:id=
"@+id/deck_last_date"
android:id=
"@+id/deck_last_date"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
/>
android:layout_weight=
"1"
tools:layout_editor_absoluteX=
"130dp"
tools:layout_editor_absoluteY=
"372dp"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
</androidx.constraintlayout.widget.ConstraintLayout>
\ 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