UI微调
This commit is contained in:
BIN
app/src/main/res/drawable-xhdpi/shape_room_title_bg.png
Normal file
BIN
app/src/main/res/drawable-xhdpi/shape_room_title_bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
@@ -1,13 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:shape="rectangle">
|
|
||||||
<gradient
|
|
||||||
android:angle="45"
|
|
||||||
android:endColor="#00000000"
|
|
||||||
android:startColor="#4d000000"
|
|
||||||
android:type="linear"
|
|
||||||
android:useLevel="true" />
|
|
||||||
<corners
|
|
||||||
android:bottomLeftRadius="12dp"
|
|
||||||
android:bottomRightRadius="12dp" />
|
|
||||||
</shape>
|
|
@@ -18,7 +18,9 @@
|
|||||||
android:id="@+id/main_tab_layout"
|
android:id="@+id/main_tab_layout"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="3dp"
|
android:background="@color/white"
|
||||||
|
android:paddingTop="3dp"
|
||||||
|
android:paddingBottom="3dp"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent" />
|
app:layout_constraintStart_toStartOf="parent" />
|
||||||
|
@@ -5,9 +5,9 @@
|
|||||||
android:id="@+id/ll_container"
|
android:id="@+id/ll_container"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_marginStart="4dp"
|
android:layout_marginStart="4dp"
|
||||||
android:layout_marginEnd="4dp"
|
android:layout_marginEnd="4dp"
|
||||||
|
android:orientation="vertical"
|
||||||
tools:layout_width="100dp">
|
tools:layout_width="100dp">
|
||||||
|
|
||||||
<com.mango.moshen.ui.widget.SquareLayout
|
<com.mango.moshen.ui.widget.SquareLayout
|
||||||
@@ -85,14 +85,15 @@
|
|||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
</com.mango.moshen.ui.widget.SquareLayout>
|
</com.mango.moshen.ui.widget.SquareLayout>
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
android:layout_height="0dp"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
android:background="@drawable/shape_room_title_bg"
|
android:background="@drawable/shape_room_title_bg"
|
||||||
android:layout_height="26dp"/>
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintDimensionRatio="200:68"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tv_title"
|
android:id="@+id/tv_title"
|
||||||
@@ -100,16 +101,16 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="@dimen/dp_8"
|
android:layout_marginStart="@dimen/dp_8"
|
||||||
android:layout_marginEnd="@dimen/dp_8"
|
android:layout_marginEnd="@dimen/dp_8"
|
||||||
|
android:layout_marginBottom="4dp"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center"
|
||||||
android:includeFontPadding="false"
|
android:includeFontPadding="false"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
android:textSize="12dp"
|
android:textSize="12dp"
|
||||||
android:layout_marginBottom="6dp"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintBottom_toBottomOf="@id/square_layout"
|
|
||||||
tools:text="房间名称房间名称房间名称" />
|
tools:text="房间名称房间名称房间名称" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
@@ -25,5 +25,5 @@ only_arm64=true
|
|||||||
|
|
||||||
channel_file=channel.txt
|
channel_file=channel.txt
|
||||||
|
|
||||||
version_name=5.3.0
|
version_name=5.4.0
|
||||||
version_code=530
|
version_code=540
|
Reference in New Issue
Block a user