Hamstersztyk Hamstersztyk - 6 months ago 26
Android Question

Is it possible to change theme in each intent in Android Studio?

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? Thanks in advance!


Use custom style in AndroidManifest.xml in each activity

for example

<activity android:theme="@android:style/Theme.Dialog">
<activity android:theme="@style/CustomTheme">