0

I use a RemoteView to display some content in the notification area, but I want it's background to be transparent, just like the app Notification Weather.

I try to set the background color to transparent and alpha to 0, but no use...

Notify

How can I do the same effect?

Thanks.

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
Wei-Lun Jhu
  • 1
  • 1
  • 1
  • Try this link - http://stackoverflow.com/questions/19732972/how-to-make-the-navigation-bar-transparent – San Feb 11 '14 at 14:02
  • Whats your minSDKversion ? – San Feb 11 '14 at 14:02
  • minSdkVersion is 16, I try the reference answer, but some error say not found "Theme.Holo.Light.NoActionBar.TranslucentDecor" – Wei-Lun Jhu Feb 11 '14 at 14:14
  • Try increasing the minSDKVersion but be aware that your app would be supported only on higher end OS versions. – San Feb 11 '14 at 14:20
  • May I know the version of Android used in the mobile used to take the above screen shot ? – San Feb 11 '14 at 14:24
  • But I can see the transparent effect of Notification Weather in my mobile phone, its android version is 4.1.2. I think minSDKversion 16 is enough. – Wei-Lun Jhu Feb 11 '14 at 14:25
  • Could you please tell me the error that gets thrown in your manifest file while trying to add the theme ? – San Feb 11 '14 at 14:27
  • I set the – Wei-Lun Jhu Feb 11 '14 at 15:50
  • Try setting your target SDK version to 19. – San Feb 12 '14 at 06:37

0 Answers0