0
我的應用程序有一個奇怪的問題,我的應用程序的工具欄比我的其他活動更暗,我不確定爲什麼會發生這種情況,是否有人幫助我解決這個問題,也許我已經在工具欄代碼中做了一些錯誤,它不是一個問題,它只是它的外觀很醜。任何專家指導將受到高度讚賞。請讓我知道,如果我錯誤地格式化了這個問題,我想在這方面做得更好。activity_main的狀態欄比我的應用程序中的其他活動更暗
activity_main.xml中
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
android:id="@+id/coordinatorLayout"
tools:context="com.fayaz.uniabex.MainActivity">
<android.support.design.widget.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:popupTheme="@style/AppTheme.PopupOverlay" />
</android.support.design.widget.AppBarLayout>
<include layout="@layout/content_main" />
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="@dimen/fab_margin"
android:src="@mipmap/ic_add_white_18dp"
app:backgroundTint="@color/colorFab"/>
嗨@ 6londe,感謝您的快速反應,現在我在工作,我會更新你,一旦我到家並解決這個問題。 –
非常感謝你,這和你提到的完全一樣! –
@FayazAralikatti不客氣:) – 6londe