QNA > H > How To Make Action Bar Transparent In Android Studio

How to make action bar transparent in Android studio

Try this :

Styles.xml

  1. ... 
  2.  
  3.  
  4. @null 
  5. true 
  6. @android:color/transparent 
  7.  
  8.  
  9. false 
  10. @color/default_yellow 
  11.  

Use these themes in your AndroidManifest.xml to specify which activities will have a transparent or colored ActionBar

  1. android:name=".MyTransparentActionbarActivity" 
  2. android:theme="@style/AppTheme.ActionBar.Transparent"/> 
  3.  
  4. android:name=".MyColoredActionbarActivity" 
  5. android:theme="@style/AppTheme.ActionBar"/> 

Di Mendel Mohl

Una moglie ha diritto alla proprietà del marito? :: Cosa fa la funzione 'I'm Feeling Lucky' di Google?
Link utili