2016-07-07 88 views
1

我開始喜歡這個我可以自定義本機android活動的操作欄嗎?

  Intent intent = new Intent(ContactsContract.Intents.Insert.ACTION); 
      intent.setType(ContactsContract.RawContacts.CONTENT_TYPE); 
      startActivity(intent); 

已開始活動的目的有其動作條的藍色背景。

我可以更改/自定義操作欄或其bg顏色嗎?

對於大多數我的活動我有自定義操作欄

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 
    android:background="@color/action_bar_background" 
... 
</RelativeLayout> 
+1

不可以。就像其他開發人員無法更改您的操作欄顏色一樣,您無法更改它們。 – Budius

回答

相關問題