feat: 优化代码

pull/159/head
kunfei 5 years ago
parent 3e7fb6193e
commit 81492a19a2
  1. 3
      app/src/main/res/layout/activity_main.xml
  2. 4
      app/src/main/res/values/dimens.xml

@ -10,8 +10,7 @@
android:layout_height="wrap_content"
android:elevation="10dp"
android:background="@color/background"
app:labelVisibilityMode="labeled"
app:itemIconSize="26dp"
app:labelVisibilityMode="unlabeled"
app:menu="@menu/main_bnv"
app:layout_constraintBottom_toBottomOf="parent" />

@ -1,12 +1,10 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
<dimen name="nav_header_vertical_spacing">8dp</dimen>
<dimen name="nav_header_height">176dp</dimen>
<dimen name="fab_margin">16dp</dimen>
<dimen name="design_bottom_navigation_active_text_size" tools:override="true">12sp</dimen>
<dimen name="design_bottom_navigation_text_size" tools:override="true">12sp</dimen>
<dimen name="font_size_normal">14sp</dimen>
<dimen name="font_size_middle">16sp</dimen>

Loading…
Cancel
Save