[add] 顶部标题栏UI调整
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<shape>
|
||||
<solid android:color="@color/check_info_position_line_color" />
|
||||
</shape>
|
||||
</item>
|
||||
<item
|
||||
android:left="@dimen/dp_3"
|
||||
android:right="0px"
|
||||
android:top="@dimen/dp_3"
|
||||
android:bottom="@dimen/dp_1">
|
||||
<shape>
|
||||
<solid android:color="@color/check_info_title_back" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
</layer-list>
|
||||
@@ -8,7 +8,8 @@
|
||||
<item
|
||||
android:left="@dimen/dp_3"
|
||||
android:right="@dimen/dp_3"
|
||||
android:top="@dimen/dp_3"><!--设置只有顶部和左右边有边框-->
|
||||
android:top="@dimen/dp_3"
|
||||
android:bottom="@dimen/dp_1">
|
||||
<shape>
|
||||
<solid android:color="@color/check_info_title_back" />
|
||||
</shape>
|
||||
@@ -7,5 +7,5 @@
|
||||
android:bottom="2px"
|
||||
android:left="2px"
|
||||
android:right="2px"
|
||||
android:top="2px" />
|
||||
android:top="0px" />
|
||||
</shape>
|
||||
@@ -3,13 +3,13 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="@dimen/check_width"
|
||||
android:layout_height="@dimen/dp_127"
|
||||
android:background="@drawable/check_title_item_shape"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_one"
|
||||
android:layout_width="0px"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/check_item_left_shape"
|
||||
android:gravity="center"
|
||||
android:text="模块名称"
|
||||
android:textSize="@dimen/dp_38"
|
||||
@@ -23,6 +23,7 @@
|
||||
android:id="@+id/title_two"
|
||||
android:layout_width="0px"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/check_item_left_shape"
|
||||
android:gravity="center"
|
||||
android:text="运行状态"
|
||||
android:textSize="@dimen/dp_38"
|
||||
@@ -36,19 +37,21 @@
|
||||
android:id="@+id/title_thr"
|
||||
android:layout_width="0px"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/check_item_left_shape"
|
||||
android:gravity="center"
|
||||
android:text="模块名称"
|
||||
android:textSize="@dimen/dp_38"
|
||||
app:layout_constraintHorizontal_chainStyle="spread"
|
||||
app:layout_constraintHorizontal_weight="1"
|
||||
app:layout_constraintRight_toLeftOf="@+id/title_for"
|
||||
app:layout_constraintLeft_toRightOf="@+id/title_two"
|
||||
app:layout_constraintRight_toLeftOf="@+id/title_for"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_for"
|
||||
android:layout_width="0px"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/check_item_right_shape"
|
||||
android:gravity="center"
|
||||
android:text="运行状态"
|
||||
android:textSize="@dimen/dp_38"
|
||||
|
||||
@@ -6,6 +6,6 @@
|
||||
@android:drawable/progress_indeterminate_horizontal
|
||||
</item>
|
||||
<item name="android:progressDrawable">@drawable/check_progress</item>
|
||||
<item name="android:listDivider">@drawable/check_title_item_shape</item>
|
||||
<item name="android:listDivider">@drawable/check_item_left_shape</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user