0

I want to show my AppIcon and some text on Top Left Corner at Home Screen. Please look at the picture you will get an idea

Screen Shot

Pir Fahim Shah
  • 10,505
  • 1
  • 82
  • 81

2 Answers2

1

You might use drawing over apps. Here a link: How to draw a view on top of everything?

Maybe that helps.

Community
  • 1
  • 1
Alex
  • 459
  • 3
  • 14
  • what exactly this code do, is it showing app icon and text on home screen top? – Pir Fahim Shah Feb 03 '16 at 09:24
  • This code draws over the whole home screen. You can put a view on top of the statusbar. Its similar to what Facebook messenger is doing. – Alex Feb 03 '16 at 09:26
  • this link might be a better example:http://stackoverflow.com/questions/9815901/display-view-above-status-bar – Alex Feb 03 '16 at 09:28
1

for R.Video enable you are already using ongoing notification.


for SpyVideo Enable text showing at bottom centre of screen. you can use chat head like Facebook! download this samplecode. instead of ImageView you have to use TextView.

Dhaval Parmar
  • 18,812
  • 8
  • 82
  • 177
  • yes, but i need to show the text with app icon like in OnGoingNotification, is it not possible in OnGoingNotification – Pir Fahim Shah Feb 03 '16 at 09:40
  • Can you help me in recording video in background and when i click on the app then video recording stop, and video save in gallery path? plz – Pir Fahim Shah Feb 03 '16 at 09:42
  • @PirFahimShah: check this answers http://stackoverflow.com/a/14952081/1168654 and http://stackoverflow.com/a/16552892/1168654 and http://www.codeproject.com/Questions/845710/Android-Record-video-in-background-and-simultaneou – Dhaval Parmar Feb 03 '16 at 09:45
  • you are really a star. Glad to help you in brightness your future, Once again Thanks – Pir Fahim Shah Feb 03 '16 at 10:37
  • you have to fix some error in different android version http://stackoverflow.com/q/26305107/1168654 – Dhaval Parmar Feb 03 '16 at 11:22
  • i solved it, i am releasing the camera parameter if it is not null, now its working. Thank you – Pir Fahim Shah Feb 03 '16 at 11:28