Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- android:scaleType="fitXY"
- android:scaleType="centerCrop"
- android:adjustViewBounds="true"
- <GridLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_centerInParent="true"
- android:layout_margin="0dp"
- android:padding="0dp">
- <Button
- android:id="@+id/homer"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_row="0"
- android:layout_rowWeight="1"
- android:layout_column="0"
- android:layout_columnWeight="1"
- android:layout_gravity="fill"
- android:layout_margin="0dp"
- android:padding="0dp"
- android:text="Homer"
- android:onClick="click"/>
- <Button
- android:id="@+id/bart"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_row="0"
- android:layout_rowWeight="1"
- android:layout_column="1"
- android:layout_columnWeight="1"
- android:layout_gravity="fill"
- android:layout_margin="0dp"
- android:padding="0dp"
- android:text="Bart"
- android:onClick="click"/>
- <ImageView
- android:id="@+id/imageView"
- android:layout_row="1"
- android:layout_gravity="fill"
- android:layout_column="1"
- android:layout_columnWeight="1"
- android:layout_rowWeight="1" />
- </GridLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement