佈局
This commit is contained in:
parent
59f0fa4acb
commit
93db808f8b
@ -167,42 +167,43 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/topLayout"
|
android:id="@+id/topLayout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
android:layout_marginEnd="10dp"
|
android:layout_marginEnd="10dp"
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:gravity="bottom"
|
android:gravity="bottom"
|
||||||
|
android:orientation="horizontal"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/imageView7">
|
app:layout_constraintTop_toBottomOf="@+id/imageView7">
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<RelativeLayout
|
||||||
android:id="@+id/two_layout"
|
android:id="@+id/two_layout"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:layout_height="wrap_content">
|
android:gravity="bottom">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/imageView17"
|
android:id="@+id/imageView17"
|
||||||
android:layout_width="0dp"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
android:scaleType="centerCrop"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
app:srcCompat="@mipmap/gift_wall_tab2_classic_info_bg_two" />
|
app:srcCompat="@mipmap/gift_wall_tab2_classic_info_bg_two" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
|
android:layout_marginEnd="10dp"
|
||||||
|
android:gravity="center_horizontal"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:id="@+id/userAvatar2Layout"
|
android:id="@+id/userAvatar2Layout"
|
||||||
android:layout_width="58dp"
|
android:layout_width="58dp"
|
||||||
android:layout_height="58dp"
|
android:layout_height="58dp"
|
||||||
android:layout_marginTop="41dp"
|
android:layout_marginTop="41dp"
|
||||||
android:layout_marginEnd="10dp"
|
android:background="@mipmap/gift_wall_tab2_classic_info_avatar1">
|
||||||
android:layout_marginBottom="10dp"
|
|
||||||
android:background="@mipmap/gift_wall_tab2_classic_info_avatar1"
|
|
||||||
app:layout_constraintBottom_toTopOf="@+id/imageView12"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent">
|
|
||||||
|
|
||||||
<com.makeramen.roundedimageview.RoundedImageView
|
<com.makeramen.roundedimageview.RoundedImageView
|
||||||
android:id="@+id/user_avatar_2"
|
android:id="@+id/user_avatar_2"
|
||||||
@ -222,46 +223,40 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="5dp"
|
android:layout_marginBottom="5dp"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/user_name_2"
|
|
||||||
app:layout_constraintEnd_toEndOf="@+id/userAvatar2Layout"
|
|
||||||
app:layout_constraintStart_toStartOf="@+id/userAvatar2Layout"
|
|
||||||
app:srcCompat="@mipmap/gift_wall_tab2_classic_info_twwo" />
|
app:srcCompat="@mipmap/gift_wall_tab2_classic_info_twwo" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/user_name_2"
|
android:id="@+id/user_name_2"
|
||||||
android:layout_width="0dp"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="10dp"
|
android:layout_above="@+id/user_value_2"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:text="TextView"
|
android:text="TextView"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#FFFFFF"
|
||||||
android:textSize="14sp"
|
android:textSize="14sp" />
|
||||||
app:layout_constraintBottom_toTopOf="@+id/user_value_2"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintStart_toStartOf="parent" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/user_value_2"
|
android:id="@+id/user_value_2"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="0dp"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
android:layout_marginBottom="5dp"
|
android:layout_marginBottom="5dp"
|
||||||
android:text="TextView"
|
android:text="TextView"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#FFFFFF"
|
||||||
android:textSize="20sp"
|
android:textSize="20sp" />
|
||||||
app:layout_constraintBottom_toBottomOf="@+id/imageView17"
|
|
||||||
app:layout_constraintEnd_toEndOf="@+id/user_name_2"
|
|
||||||
app:layout_constraintStart_toStartOf="@+id/user_name_2" />
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:id="@+id/one_layout"
|
android:id="@+id/one_layout"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_weight="1"
|
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="18dp">
|
android:layout_marginTop="18dp"
|
||||||
|
android:layout_weight="1">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/imageView9"
|
android:id="@+id/imageView9"
|
||||||
@ -277,7 +272,6 @@
|
|||||||
android:id="@+id/userAvatar1Layout"
|
android:id="@+id/userAvatar1Layout"
|
||||||
android:layout_width="70dp"
|
android:layout_width="70dp"
|
||||||
android:layout_height="70dp"
|
android:layout_height="70dp"
|
||||||
android:layout_marginBottom="10dp"
|
|
||||||
android:background="@mipmap/gift_wall_tab2_classic_info_avatar1"
|
android:background="@mipmap/gift_wall_tab2_classic_info_avatar1"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/imageView11"
|
app:layout_constraintBottom_toTopOf="@+id/imageView11"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
@ -335,36 +329,36 @@
|
|||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<RelativeLayout
|
||||||
android:id="@+id/three_layout"
|
android:id="@+id/three_layout"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_weight="1"
|
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="5dp">
|
android:layout_marginEnd="5dp"
|
||||||
|
android:layout_weight="1">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/imageView16"
|
android:id="@+id/imageView16"
|
||||||
android:layout_width="0dp"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
android:scaleType="centerCrop"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
app:srcCompat="@mipmap/gift_wall_tab2_classic_info_bg_three" />
|
app:srcCompat="@mipmap/gift_wall_tab2_classic_info_bg_three" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:paddingStart="10dp"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
|
android:gravity="center_horizontal"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:id="@+id/userAvatar3Layout"
|
android:id="@+id/userAvatar3Layout"
|
||||||
android:layout_width="44dp"
|
android:layout_width="44dp"
|
||||||
android:layout_height="44dp"
|
android:layout_height="44dp"
|
||||||
android:layout_marginStart="10dp"
|
|
||||||
android:layout_marginTop="39dp"
|
android:layout_marginTop="39dp"
|
||||||
android:layout_marginBottom="10dp"
|
android:background="@mipmap/gift_wall_tab2_classic_info_avatar1">
|
||||||
android:background="@mipmap/gift_wall_tab2_classic_info_avatar1"
|
|
||||||
app:layout_constraintBottom_toTopOf="@+id/imageView13"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent">
|
|
||||||
|
|
||||||
<com.makeramen.roundedimageview.RoundedImageView
|
<com.makeramen.roundedimageview.RoundedImageView
|
||||||
android:id="@+id/user_avatar_3"
|
android:id="@+id/user_avatar_3"
|
||||||
@ -383,38 +377,30 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="3dp"
|
android:layout_marginBottom="3dp"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/user_name_3"
|
|
||||||
app:layout_constraintEnd_toEndOf="@+id/userAvatar3Layout"
|
|
||||||
app:layout_constraintStart_toStartOf="@+id/userAvatar3Layout"
|
|
||||||
app:srcCompat="@mipmap/gift_wall_tab2_classic_info_three" />
|
app:srcCompat="@mipmap/gift_wall_tab2_classic_info_three" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/user_name_3"
|
android:id="@+id/user_name_3"
|
||||||
android:layout_width="0dp"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="10dp"
|
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:text="TextView"
|
android:text="TextView"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#FFFFFF"
|
||||||
android:textSize="14sp"
|
android:textSize="14sp" />
|
||||||
app:layout_constraintBottom_toTopOf="@+id/user_value_3"
|
|
||||||
app:layout_constraintEnd_toEndOf="@+id/imageView16"
|
|
||||||
app:layout_constraintStart_toStartOf="@+id/imageView16" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/user_value_3"
|
android:id="@+id/user_value_3"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="0dp"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="5dp"
|
android:layout_marginBottom="5dp"
|
||||||
android:text="TextView"
|
android:text="TextView"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#FFFFFF"
|
||||||
android:textSize="20sp"
|
android:textSize="20sp" />
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
</LinearLayout>
|
||||||
app:layout_constraintEnd_toEndOf="@+id/user_name_3"
|
|
||||||
app:layout_constraintStart_toStartOf="@+id/user_name_3" />
|
</RelativeLayout>
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user