fix:调整UI

This commit is contained in:
zlzw 2022-08-31 18:07:13 +08:00
parent 2acba510f7
commit a454841ba5
4 changed files with 12 additions and 12 deletions

View File

@ -63,6 +63,7 @@
android:text="@string/buy_guard_info"
android:textColor="#020202"
android:textSize="16sp"
android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
@ -73,6 +74,7 @@
android:layout_height="110dp"
android:layout_marginStart="6dp"
android:layout_marginTop="16dp"
android:gravity="center"
android:layout_marginEnd="6dp"
android:orientation="vertical"
android:overScrollMode="never"
@ -104,8 +106,8 @@
android:id="@+id/guard_rights"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_marginStart="5dp"
android:layout_marginBottom="10dp"
android:overScrollMode="never"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
@ -132,7 +134,7 @@
android:layout_marginTop="25dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
tools:visibility="visible">
tools:visibility="gone">
<TextView
@ -179,11 +181,11 @@
android:orientation="vertical"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
tools:visibility="gone">
tools:visibility="visible">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="25dp"
android:layout_marginTop="6dp"
android:gravity="center"
android:orientation="horizontal">
@ -215,7 +217,7 @@
<Button
android:id="@+id/guard_submit"
android:layout_width="267dp"
android:layout_height="42dp"
android:layout_height="35dp"
android:layout_marginTop="2dp"
android:background="@drawable/bg_new_guard_but"
android:text="繼續守護"
@ -227,7 +229,7 @@
</androidx.constraintlayout.widget.ConstraintLayout>
<RelativeLayout
android:layout_width="243dp"
android:layout_width="268dp"
android:layout_height="117dp"
android:layout_above="@id/guard_rootView"
android:layout_centerHorizontal="true"
@ -245,7 +247,7 @@
android:layout_width="0dp"
android:layout_height="58dp"
android:layout_marginTop="30dp"
android:layout_marginStart="125dp"
android:layout_marginStart="136dp"
android:scaleType="centerCrop"
android:src="@drawable/guardian_img_wings"
android:visibility="invisible"

View File

@ -3,8 +3,6 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="44dp"
android:paddingLeft="20dp"
android:paddingRight="20dp"
>
<ImageView

View File

@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/live_user_root_layout"
android:layout_width="38dp"
android:layout_marginEnd="5dp"
android:layout_marginEnd="3dp"
android:layout_height="38dp">
<!-- <ImageView-->

View File

@ -88,7 +88,7 @@
<LinearLayout
android:id="@+id/group_1"
android:layout_width="142dp"
android:layout_width="138dp"
android:layout_height="34dp"
android:layout_marginLeft="8dp"
android:layout_marginTop="4dp"