<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:gravity="top" 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="com.example.sprout.Roomlist"> <TextView android:id="@+id/roomlist_textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="20dp" android:text="ルーム一覧画面" android:textSize="20sp" /> <TextView android:id="@+id/roomlist_textView2" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="150dp" android:layout_marginTop="75dp" android:padding="16dp" android:text="部屋がありません" android:textSize="20sp" /> <Button android:id="@+id/roomlist_button1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="75dp" android:minHeight="100dp" android:minWidth="100dp" android:text="戻る" /> <Button android:id="@+id/roomlist_button2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignRight="@+id/roomlist_button3" android:layout_marginTop="195dp" android:minHeight="100dp" android:minWidth="100dp" android:text="ルームを作る" /> <Button android:id="@+id/roomlist_button3" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="315dp" android:minHeight="100dp" android:minWidth="100dp" android:text="更新" /> <Button android:id="@+id/roomlist_button4" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="750dp" android:layout_marginTop="0dp" android:minHeight="50dp" android:minWidth="100dp" android:text="設定" /> <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="vertical"> <ListView android:id="@+id/roomlist_listView1" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="150dp" android:layout_marginTop="75dp" /> </LinearLayout> </RelativeLayout>