Android Studioでのレイアウト学習する動画です。
GUIで作成せずTextタブ(XML)でボタンを配置することでXMLの理解を深めます。
この動画は「アプリ新規作成」を済ませた状態でご覧ください。
編集の流れ
![3分で学ぶ Android Studio【 ボタンの配置 】 Textタブを開く](http://hakoniwadesign.com/wp-content/uploads/2015/06/f93a6b8f72d019f885e5bdc578d35a4b-1024x551.jpg)
![3分で学ぶ Android Studio【 ボタンの配置 】 XML解説](http://hakoniwadesign.com/wp-content/uploads/2015/06/7d0eb2f17de5015128bcfea82564f5a8-1024x555.jpg)
![3分で学ぶ Android Studio【 ボタンの配置 】 XML解説2](http://hakoniwadesign.com/wp-content/uploads/2015/06/07d1d4de5d597da96bcea2720f06029a.jpg)
activity_main.xml(完成)
<RelativeLayout 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:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" tools:context=".MainActivity"> <Button android:layout_width="match_parent" android:layout_height="wrap_content" android:text="ぼたん" android:layout_alignParentBottom="true" /> </RelativeLayout>