Help us understand the problem. What is going on with this article?

[自分用メモ]Androidで余った幅いっぱいに広げる時の注意

More than 1 year has passed since last update.
  • 端(上端,下端,右端,左端)のViewを幅いっぱいにする場合はLinearLayoutを使うと楽
  • 真ん中のViewを幅いっぱいにする時はRelativeLayoutを使うと楽

参考: LinearLayoutとRelativeLayoutの使い方をまとめてみた - プログラミング雑記

k-yamada-github
プログラマ Kotlin, Swift, TypeScript, Android, iOS, Vue.js, AWS
sonix
Mobility Tech Company「世界」をリードするイノベータ集団でありたい
https://www.sonix.asia/
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away