[問題] 介面上 button的問題

看板AndroidDev作者 (vivi)時間12年前 (2011/10/14 15:19), 編輯推噓0(002)
留言2則, 1人參與, 最新討論串1/1
我正在實作拍完照能直接用藍芽傳照片的程式 利用的是書上的拍照範例跟Bluetoothchat,目前2個都已經改好 但是整合發生某些問題,就是原本在螢幕上右下的button跑到上面去了 而且還有黑色的一條,有嚐試過要拉到下面但是沒辦法 http://ppt.cc/!Bc; ←這是正確的版本 http://ppt.cc/eWPX ←但是我是這樣 藍芽的程式原本就是沒畫面的,應該不會影響 只有在按meun時會跑出選單而已 請問該如何解。 付上main.xml程式碼 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="match_parent" android:orientation="vertical" android:layout_width="match_parent"> <SurfaceView android:id="@+id/mSurfaceView" android:visibility="visible" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_gravity="center_horizontal" /> <Button android:id="@+id/myButton" android:layout_width="80px" android:layout_height="80px" android:textSize="18sp" android:text="@string/str_take_picture" /> <ListView android:id="@+id/in" android:layout_width="match_parent" android:layout_height="match_parent" android:stackFromBottom="true" android:transcriptMode="alwaysScroll" android:layout_weight="1" /> <LinearLayout android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="wrap_content" > </LinearLayout> </LinearLayout> -- ※ 發信站 :批踢踢實業坊(ptt.cc) ◆ From: 111.254.114.11 ※ 編輯: vivi50218 來自: 111.254.114.11 (10/14 15:54)

10/14 16:44, , 1F
以自行解決..
10/14 16:44, 1F

10/14 16:44, , 2F
10/14 16:44, 2F
文章代碼(AID): #1Eb-9haq (AndroidDev)