2016-07-07 73 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

回答

相关问题