Android Question Dont display activity screen at all - no layout

scottie

Member
Licensed User
Longtime User
Maybe I'm not wording it right in searches.
I have an app that i dont need/want, the activity screen to ever show up.
I assume the options are in the manifest somehow.
No layout is ever created
Everything is a service
Nothing is ever displayed. Just copy a file and close
but the all black, full screen, activity screen shows up even though i'm not loading a layout
How do I make my app(service) start up, do it's thing and user never see's anything?

Thanks,
Scott
 

Joanna

Member
Have you tried adding this to manifest:
SetActivityAttribute(main, android:theme, @android:style/Theme.Translucent.NoTitleBar)
and add to main:
Activity.Color = Colors.Transparent

JoAnna
 
Upvote 0

scottie

Member
Licensed User
Longtime User
Have you tried adding this to manifest:
SetActivityAttribute(main, android:theme, @android:style/Theme.Translucent.NoTitleBar)
and add to main:
Activity.Color = Colors.Transparent

JoAnna


that worked great.
thanks sweetie
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…