How to create a widget on the Android home screen?

So, I'm looking to create a widget that sits on the desktop and takes up as much screen as possible for the widget to get the largest screen space. I have experience creating ordinary applications and am already starting to create this application as a non-widget. How difficult would it be for me to rebuild or change it into a widget?

Is it possible to use the same base code from my original application with changes so that it can function as a widget on the main screen?

+4
source share
1 answer

Read this article about Application Widget Design Guide . It will be useful for you.

+1
source

Source: https://habr.com/ru/post/1386899/


All Articles