问答详情
源自:3-1 问题整理

在拼图下面放原图

我想知道怎么把原图放在拼图的下面

提问者:方天画戟 2017-06-11 22:36

个回答

  • 慕标600203
    2017-09-06 16:19:17

    <?xml version="1.0" encoding="utf-8"?>
    <RelativeLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
        android:id="@+id/activity_main"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        tools:context="com.baiyun.pitu.MainActivity"
        android:background="#f79b11">
        <GridLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:id="@+id/gl_main_game"
            android:columnCount="5"
            android:rowCount="3"></GridLayout>
        <ImageView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:src="@drawable/ic_game_tu"
            android:layout_marginRight="10dp"
            android:layout_marginLeft="10dp"
            android:layout_marginTop="200dp"/>
    </RelativeLayout>