user808066
user808066

Reputation:

How to set widget layouts in Android?

I know how to set the widget when it is a fixed size, such as 2x2; but how do I set it to resize or set orientation automatically? Do I just dump all the frame backgrounds in all the drawable folders and hope for the best?

Upvotes: 0

Views: 140

Answers (1)

omermuhammed
omermuhammed

Reputation: 7385

Look at use of 9-patch images for backgrounds, explained here.

Upvotes: 1

Related Questions