-1

I need to create an activity where the screen is a keypad. At the top the PIN is displayed and below this are large buttons with the numbers 0 to 9 arranged in 4 rows and 3 columns (a delete key and OK button are included). The keypad needs to resize its buttons with different screen sizes. What is the preferred way of doing this? Should it be done (can it be done) using only Relative layouts or with Linear layouts or with both?

Johann
  • 27,536
  • 39
  • 165
  • 279

1 Answers1

0

Linear layouts and weighting should do the trick.

See this question for more information

Community
  • 1
  • 1
Hein Andre Grønnestad
  • 6,885
  • 2
  • 31
  • 43