いつもお世話になります。
android studioで画面の一番下に5列のボタンを作りました。
その上に3列のボタンを作りたいのですが、どのように書けばよろしいのでしょうか?
素人の質問で申し訳ありませんが宜しくお願い致します。
↓現在書いたソースです
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal" android:gravity="bottom">
</LinearLayout><Button android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:text="@string/hello_world" /> <Button android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:text="@string/hello_world" /> <Button android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:text="@string/hello_world" /> <Button android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:text="@string/hello_world" /> <Button android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:text="@string/hello_world" />
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2015/08/02 13:42