调整离线地图UI,任务列表UI,个人中心UI
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 498 B |
BIN
app/src/main/res/drawable-xxhdpi/main_sign_moreinfo_bg.9.png
Normal file
BIN
app/src/main/res/drawable-xxhdpi/main_sign_moreinfo_bg.9.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.1 KiB |
@@ -3,10 +3,10 @@
|
||||
android:shape="rectangle">
|
||||
|
||||
<corners
|
||||
android:bottomLeftRadius="4dp"
|
||||
android:bottomRightRadius="4dp"
|
||||
android:topLeftRadius="4dp"
|
||||
android:topRightRadius="4dp" />
|
||||
android:bottomLeftRadius="8dp"
|
||||
android:bottomRightRadius="8dp"
|
||||
android:topLeftRadius="8dp"
|
||||
android:topRightRadius="8dp" />
|
||||
|
||||
<solid android:color="#C42E303B" />
|
||||
|
||||
|
||||
@@ -63,6 +63,61 @@
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/main_activity_sign_more_info_bg"
|
||||
android:layout_width="240dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="260dp"
|
||||
android:layout_marginTop="40dp"
|
||||
android:background="@drawable/main_sign_moreinfo_bg"
|
||||
android:minHeight="140dp"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/main_activity_top_sign_recyclerview" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/main_activity_sign_more_info_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:drawableLeft="@drawable/icon_main_moreinfo_text_left"
|
||||
android:drawablePadding="4dp"
|
||||
android:text="条件点限速"
|
||||
android:textColor="@color/orange"
|
||||
app:layout_constraintLeft_toLeftOf="@id/main_activity_sign_more_info_bg"
|
||||
app:layout_constraintTop_toTopOf="@id/main_activity_sign_more_info_bg" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/main_activity_sign_more_info_text1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="10dp"
|
||||
android:text="条件点限速"
|
||||
android:textColor="@color/white"
|
||||
app:layout_constraintRight_toRightOf="@id/main_activity_sign_more_info_bg"
|
||||
app:layout_constraintTop_toBottomOf="@id/main_activity_sign_more_info_title" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/main_activity_sign_more_info_text2"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:singleLine="false"
|
||||
android:text="条件点限速"
|
||||
android:textColor="@color/white"
|
||||
app:layout_constraintLeft_toLeftOf="@id/main_activity_sign_more_info_bg"
|
||||
app:layout_constraintRight_toRightOf="@id/main_activity_sign_more_info_bg"
|
||||
app:layout_constraintTop_toBottomOf="@id/main_activity_sign_more_info_text1" />
|
||||
|
||||
<androidx.constraintlayout.widget.Group
|
||||
android:id="@+id/main_activity_sign_more_info_group"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone"
|
||||
app:constraint_referenced_ids="main_activity_sign_more_info_bg,main_activity_sign_more_info_text2,main_activity_sign_more_info_text1,main_activity_sign_more_info_title" />
|
||||
|
||||
<androidx.constraintlayout.helper.widget.Flow
|
||||
android:id="@+id/main_activity_flow"
|
||||
android:layout_width="0dp"
|
||||
@@ -341,8 +396,8 @@
|
||||
<ImageView
|
||||
android:id="@+id/main_bottom_offline_map"
|
||||
style="@style/main_activity_bottom_sheet_icon"
|
||||
android:onClick="@{()->mainActivity.onClickOfflineMapFragment()}"
|
||||
android:background="@drawable/icon_main_bottom_offline_map"
|
||||
android:onClick="@{()->mainActivity.onClickOfflineMapFragment()}"
|
||||
app:layout_constraintBottom_toTopOf="@id/main_bottom_offline_map_text"
|
||||
app:layout_constraintLeft_toRightOf="@id/main_bottom_home"
|
||||
app:layout_constraintRight_toLeftOf="@id/main_bottom_route"
|
||||
@@ -353,10 +408,10 @@
|
||||
android:id="@+id/main_bottom_offline_map_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:onClick="@{()->mainActivity.onClickOfflineMapFragment()}"
|
||||
android:text="离线地图"
|
||||
android:textColor="@color/blue"
|
||||
android:textSize="10sp"
|
||||
android:onClick="@{()->mainActivity.onClickOfflineMapFragment()}"
|
||||
app:layout_constraintBottom_toBottomOf="@id/main_activity_bottom_sheet_bg"
|
||||
app:layout_constraintLeft_toLeftOf="@id/main_bottom_offline_map"
|
||||
app:layout_constraintRight_toRightOf="@id/main_bottom_offline_map"
|
||||
@@ -388,7 +443,7 @@
|
||||
android:id="@+id/main_activity_bottom_sheet_group"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="visible"
|
||||
android:visibility="gone"
|
||||
app:constraint_referenced_ids="
|
||||
main_bottom_route_text,
|
||||
main_bottom_offline_map_text,
|
||||
@@ -409,5 +464,4 @@
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</layout>
|
||||
@@ -46,10 +46,10 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignTop="@id/sign_bottom_text"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="15dp"
|
||||
android:gravity="center"
|
||||
android:text="其他信息"
|
||||
android:layout_alignRight="@id/sign_main_bg"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
||||
@@ -97,7 +97,6 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/task_progress_text"
|
||||
style="?android:attr/progressBarStyleHorizontal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignTop="@id/task_download_btn"
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
android:id="@+id/console_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/console_bg"
|
||||
tools:context=".ui.fragment.console.ConsoleFragment">
|
||||
|
||||
<androidx.constraintlayout.widget.Guideline
|
||||
|
||||
@@ -46,8 +46,8 @@
|
||||
app:tabGravity="center"
|
||||
app:tabIndicator="@null"
|
||||
app:tabIndicatorHeight="0dp"
|
||||
app:tabMaxWidth="150dp"
|
||||
app:tabMinWidth="150dp"
|
||||
app:tabMaxWidth="110dp"
|
||||
app:tabMinWidth="110dp"
|
||||
app:tabMode="scrollable"
|
||||
app:tabPaddingEnd="6dp"
|
||||
app:tabPaddingStart="6dp"
|
||||
|
||||
@@ -45,8 +45,8 @@
|
||||
app:tabGravity="center"
|
||||
app:tabIndicator="@null"
|
||||
app:tabIndicatorHeight="0dp"
|
||||
app:tabMaxWidth="150dp"
|
||||
app:tabMinWidth="150dp"
|
||||
app:tabMaxWidth="110dp"
|
||||
app:tabMinWidth="110dp"
|
||||
app:tabMode="scrollable"
|
||||
app:tabPaddingEnd="6dp"
|
||||
app:tabPaddingStart="6dp"
|
||||
|
||||
@@ -29,18 +29,18 @@
|
||||
<group android:checkableBehavior="single">
|
||||
<item android:title="小标题">
|
||||
<menu>
|
||||
<item
|
||||
android:id="@+id/personal_center_menu_task_list"
|
||||
android:icon="@drawable/ic_baseline_format_list_bulleted_24"
|
||||
android:title="任务列表" />
|
||||
<item
|
||||
android:id="@+id/personal_center_menu_qs_record_list"
|
||||
android:icon="@drawable/ic_baseline_playlist_add_check_24"
|
||||
android:title="测评结果" />
|
||||
<item
|
||||
android:id="@+id/personal_center_menu_layer_manager"
|
||||
android:icon="@drawable/ic_baseline_layers_24"
|
||||
android:title="图层管理" />
|
||||
<!-- <item-->
|
||||
<!-- android:id="@+id/personal_center_menu_task_list"-->
|
||||
<!-- android:icon="@drawable/ic_baseline_format_list_bulleted_24"-->
|
||||
<!-- android:title="任务列表" />-->
|
||||
<!-- <item-->
|
||||
<!-- android:id="@+id/personal_center_menu_qs_record_list"-->
|
||||
<!-- android:icon="@drawable/ic_baseline_playlist_add_check_24"-->
|
||||
<!-- android:title="测评结果" />-->
|
||||
<!-- <item-->
|
||||
<!-- android:id="@+id/personal_center_menu_layer_manager"-->
|
||||
<!-- android:icon="@drawable/ic_baseline_layers_24"-->
|
||||
<!-- android:title="图层管理" />-->
|
||||
|
||||
<item
|
||||
android:id="@+id/personal_center_menu_test"
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
<!--金色 -->
|
||||
<!--粉红色 -->
|
||||
<!--亮粉红色 -->
|
||||
<color name="orange">#FFA500</color> <!--橙色 -->
|
||||
<color name="orange">#FFBC6E</color> <!--橙色 -->
|
||||
<!--亮肉色 -->
|
||||
<!--暗桔黄色 -->
|
||||
<!--珊瑚色 -->
|
||||
|
||||
Reference in New Issue
Block a user