views:

10

answers:

1

Hi,..

Is there any way we can make a resizable widget in android according to the space in home screen? For example if the home screen empty, i can make my large widget. If there other icon, i want to resize my widget become smaller according to the space left in home screen.

Thanks.

A: 

Common practice I have seen so far is to make several widgets in different sizes and let the user decide, which size he/she prefers. I am not sure, that there is an automated way to achieve this behavior!

froeschli
Can you give some example, how to make several layout in widget? I'm new in android. Thanks.
Check out the [design guidelines][1] and the [widget basics][2] in the Android Developers Guide. [1]: http://developer.android.com/guide/practices/ui_guidelines/widget_design.html [2]: http://developer.android.com/guide/topics/appwidgets/index.html
froeschli