28 lines
902 B
XML
28 lines
902 B
XML
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
tools:context="com.example.hw4.GalleryActivity"
|
|
tools:ignore="MergeRootFrame" >
|
|
|
|
<GridView
|
|
android:id="@+id/gallery"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_margin="5dp"
|
|
android:layout_weight="1"
|
|
android:columnWidth="50dp"
|
|
android:numColumns="4" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonExit"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:text="@string/exit_button_text" />
|
|
|
|
</LinearLayout>
|
|
|