課程
/移動(dòng)開發(fā)
/Android
/快速實(shí)現(xiàn)不一樣的移動(dòng)拼圖
我想知道怎么把原圖放在拼圖的下面
2017-06-11
源自:快速實(shí)現(xiàn)不一樣的移動(dòng)拼圖 3-1
正在回答
<?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>
舉報(bào)
實(shí)現(xiàn)一個(gè)支持手勢(shì)的移動(dòng)拼圖小游戲,手把手帶你開發(fā)小游戲
3 回答滑動(dòng)拼圖,點(diǎn)擊可滑動(dòng)的拼圖,那個(gè)拼圖就消失了
1 回答圖片縮放的方法應(yīng)該加入
1 回答圖片的問(wèn)題
3 回答在判斷圖片是否與空?qǐng)D片相鄰這,為什么我點(diǎn)擊任何方塊都顯示false?
2 回答在判斷圖片是否與空?qǐng)D片相鄰這,為什么我點(diǎn)擊任何方塊都顯示false?
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2017-09-06