how to add multiple widgets in one app?!!

Posted by BarcaDroid on Stack Overflow See other posts from Stack Overflow or by BarcaDroid
Published on 2010-04-03T02:04:19Z Indexed on 2010/04/03 2:13 UTC
Read the original article Hit count: 339

Filed under:
|
|
|

Hello,

I've just finished my Android widget. Now I need to have different sizes of this wiget for the user to choose from. for example I need a medium, small and large size widget. so when the user install the app and hold the the home screen then choose widget, in the widget menu I want him to see three widget with the same app name but with the size. something like this:

helloSmall helloMedium helloLarge

I have the medium one ready but how can I make the small and the large in the same app? knowing that all three sizes contain the same exact data and actions just the size and the background are different.

Thanks.

© Stack Overflow or respective owner

Related posts about widgets

Related posts about size