UPDATE - мое рабочее решение: qaru.site/info/159612/...
Я пытаюсь реализовать макет ниже:
Я думаю, GridLayout подходит для моих нужд, но после 2 часов борьбы я не смог создать даже похожую макет. Макет неправильно изменяет размер, он превышает экран телефона, а также не охватывает указанные строки и столбцы.
Здесь я выбрал кнопку, чтобы вы могли видеть, как она превышает границы:
и вот связанный код xml: https://gist.github.com/2834492
Я достиг такого же макета с вложенными линейными вычислениями, но не удалось правильно изменить размер для разных размеров экрана.
UPDATE - примерная реализация LinearLayout:
Код XML: https://gist.github.com/cdoger/2835887 Тем не менее, проблема заключается в том, что он не изменяет размер изображения здесь несколько скриншотов с различными конфигурациями экрана:
TL;DR: Может ли кто-нибудь показать мне гетерогенную реализацию макета с GridLayout, как на первом рисунке?