<分区>
我正在使用 android.support.design.widget.BottomNavigationView。除了未选择时不显示标题外,一切都很好。
<!-- layout -->
<android.support.design.widget.BottomNavigationView
android:id="@+id/bnvBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="@android:color/background_light"
android:theme="@style/BottomNavigationTheme"
app:menu="@menu/bottom_navigation_main" />
<!-- theme -->
<style name="BottomNavigationTheme" parent="Theme.AppCompat.Light">
<item name="colorPrimary">@color/orange</item>
</style>
缺少什么?