Can anyone tell me how to make a flexible AppWidgets in Android according to the screen size?
I want to make a full screen widget, but when the screen size changes, I want to make it flexible.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You cannot make a full-screen app widget.
You can create an app widget that takes up a certain number of cells, by following the instructions, which show you how to provide dimensions in
dipthat equate to a certain number of cells. Exactly how many cells a given home screen application will support is up to the home screen author.In general, you want your app widget to be as small as possible, not as large as possible. A user may not have room anywhere for a large app widget.