1

How can I control widget's space in Android Studio when developing a widget layout? Let's say I want to build 3×1 (3 squares width and 1 square height) widget - so how can I visually control that my widget's content fits into this given size?

Horizontal and vertical rulers help little, really((.

Is it possible? What is the best strategy?

Thank you!

Andreas Gelever
  • 1,736
  • 3
  • 19
  • 25
  • you can Programmatically set the size of a widget layout like this - http://stackoverflow.com/a/6798938/2960945 – Farya May 14 '17 at 13:08
  • Nope, I want to see what is happening on the screen when putting controls on my widget and watch them not to go beyond the borders (3×1 size) – Andreas Gelever May 14 '17 at 13:28
  • This could help you http://stackoverflow.com/questions/2570004/how-to-add-multiple-widgets-in-one-app – TetianaDev May 14 '17 at 14:57

0 Answers0