答案 0 :(得分:0)
实际上,这是导航活动的布局,我们可以在XML文件中对其进行编辑。
<com.google.android.material.navigation.NavigationView
android:id="@+id/nav_view"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="start"
android:background="@color/motivationQuoteColor" HERE IS THE CHANGE I NEED TO DO
android:fitsSystemWindows="true"
app:headerLayout="@layout/nav_header_front_navigation"
app:itemTextColor="#000000"
app:menu="@menu/activity_front_navigation_drawer">
</com.google.android.material.navigation.NavigationView>
摘要,转到该活动,我们从左向右滑动,然后打开抽屉,然后打开布局文件,然后您必须转到上面的代码,然后在此处更改代码。