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:layout_width="0dp"
|
||||
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_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
@@ -5,9 +5,9 @@
|
||||
android:id="@+id/ll_container"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginStart="4dp"
|
||||
android:layout_marginEnd="4dp"
|
||||
android:orientation="vertical"
|
||||
tools:layout_width="100dp">
|
||||
|
||||
<com.mango.moshen.ui.widget.SquareLayout
|
||||
@@ -88,11 +88,12 @@
|
||||
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:layout_height="0dp"
|
||||
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
|
||||
android:id="@+id/tv_title"
|
||||
@@ -100,16 +101,16 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_8"
|
||||
android:layout_marginEnd="@dimen/dp_8"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center_vertical"
|
||||
android:gravity="center"
|
||||
android:includeFontPadding="false"
|
||||
android:maxLines="1"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="12dp"
|
||||
android:layout_marginBottom="6dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="@id/square_layout"
|
||||
tools:text="房间名称房间名称房间名称" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
@@ -25,5 +25,5 @@ only_arm64=true
|
||||
|
||||
channel_file=channel.txt
|
||||
|
||||
version_name=5.3.0
|
||||
version_code=530
|
||||
version_name=5.4.0
|
||||
version_code=540
|
Reference in New Issue
Block a user