-3

I'm coding an Android app that fetches Sun image from NASA site. I wanted to change ActionBar color in each intent. For example to have AIA094 wavelength intent's ActionBar color green and AIA211 intent's ActionBar color as pink. Is it possible in Android Studio?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
  • 2
    http://stackoverflow.com/questions/11930587/change-action-bar-color-in-android. http://stackoverflow.com/questions/2091465/how-do-i-pass-data-between-activities-on-android – Mike M. Sep 17 '16 at 11:50

1 Answers1

2

Use custom style in AndroidManifest.xml in each activity

for example

<activity android:theme="@android:style/Theme.Dialog">
<activity android:theme="@style/CustomTheme">
Sabish.M
  • 2,022
  • 16
  • 34