【Android】レイアウトについて
画面いっぱいなど、親レイアのサイズに合わせる場合には
android:layout_width="match_parent" android:layout_height="match_parent"
中のコンテンツのサイズに合わせる場合には
android:layout_width="wrap_content" android:layout_height="wrap_content"
画面いっぱいなど、親レイアのサイズに合わせる場合には
android:layout_width="match_parent" android:layout_height="match_parent"
中のコンテンツのサイズに合わせる場合には
android:layout_width="wrap_content" android:layout_height="wrap_content"