diff --git a/app/src/main/res/color/selector_default_text_color_black_enable_white.xml b/app/src/main/res/color/selector_default_text_color_black_enable_white.xml new file mode 100644 index 00000000..9efaa342 --- /dev/null +++ b/app/src/main/res/color/selector_default_text_color_black_enable_white.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/ripple_btn_checked.xml b/app/src/main/res/drawable/ripple_btn_checked.xml new file mode 100644 index 00000000..3d9ab431 --- /dev/null +++ b/app/src/main/res/drawable/ripple_btn_checked.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/selector_bg_gradient_checkbox.xml b/app/src/main/res/drawable/selector_bg_gradient_checkbox.xml new file mode 100644 index 00000000..0025cfcd --- /dev/null +++ b/app/src/main/res/drawable/selector_bg_gradient_checkbox.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/app/src/main/res/drawable/shape_btn_check.xml b/app/src/main/res/drawable/shape_btn_check.xml new file mode 100644 index 00000000..172be798 --- /dev/null +++ b/app/src/main/res/drawable/shape_btn_check.xml @@ -0,0 +1,8 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_offline_map.xml b/app/src/main/res/layout/fragment_offline_map.xml index 424a8307..3fa91d0a 100644 --- a/app/src/main/res/layout/fragment_offline_map.xml +++ b/app/src/main/res/layout/fragment_offline_map.xml @@ -4,46 +4,88 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/design_default_color_background" + android:background="@color/bg_left_pannel" tools:context=".ui.fragment.offlinemap.OfflineMapFragment"> - - - + + app:layout_constraintLeft_toLeftOf="parent" + app:layout_constraintTop_toTopOf="parent" + android:layout_marginTop="5dp" + app:layout_constraintBottom_toBottomOf="parent" + android:background="@drawable/selector_bg_round_button" + android:foreground="@drawable/ripple_btn_press" + style="@style/btn_round" + android:src="@drawable/ic_baseline_keyboard_arrow_left_24"> - - + android:textSize="@dimen/left_pannel_title_font" + android:textStyle="bold" + android:text="离线地图" + app:layout_constraintLeft_toLeftOf="parent" + app:layout_constraintRight_toRightOf="parent" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent"> - - + + style="@style/default_card_view"> + + - + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index a3eca443..cfdcea11 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -115,6 +115,15 @@ 1dp + +