Commit 8a9d5d8c authored by fallenstardust's avatar fallenstardust

调整卡组广场item

parent de0c2ecf
<?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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment