-2
A
回答
1
是的,當然你可以做到。 xml佈局:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:text="Back" />
<Button
android:id="@+id/button2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/button1"
android:layout_marginLeft="26dp"
android:layout_marginTop="23dp"
android:layout_toRightOf="@+id/button1"
android:text="Next" />
<Button
android:id="@+id/button3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/button2"
android:layout_marginLeft="16dp"
android:layout_marginTop="17dp"
android:layout_toRightOf="@+id/button2"
android:text="Button" />
<Button
android:id="@+id/button4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:text="Button" />
</RelativeLayout>
相關問題
- 1. 我可以動態更改Android菜單的顏色嗎?
- 2. 我可以移動UIAlertView嗎?
- 3. SVG標記 - 我可以設置長度和角度嗎?
- 4. 我可以通過移動網站獲取Android設備ID嗎?
- 5. 計算移動的角度
- 6. 我可以在Android的GridManagerLayout中設置動態列寬度嗎?
- 7. 我可以鏈接角度指令嗎?
- 8. 我可以將我的網站鏈接到Android菜單上的菜單項嗎?
- 9. PyEphem:我可以從方位角計算太陽的高度嗎
- 10. 可以使用棱角材料設計的角度 - ui網格嗎?
- 11. 我無法爲移動版本設置我的wordpress菜單
- 12. 我們可以使用角度爲4的節點js計時器對象嗎?
- 13. Android在設置活動中,菜單應該可用嗎?
- 14. 我可以在角度2中動態更改templateUrl嗎?
- 15. 我可以動畫一個圓弧的結束角度嗎?
- 16. 我可以設置UIFont高度嗎?
- 17. 我可以設置UIWebBrowserView的寬度嗎?
- 18. 我可以爲角度材料啓用硬件加速嗎?
- 19. 在gridview上的角度菜單在android
- 20. 材料設計lite菜單不能在角度2中工作
- 21. 我可以記錄鼠標移動嗎?
- 22. 我可以移動UIKeyboard的框架嗎?
- 23. 角度材質菜單觸發移動設備中的點擊事件2次
- 24. 我們可以添加我們的應用程序設置菜單到Android設備設置菜單
- 25. 我可以關閉VS2010中的上下文菜單滾動嗎?
- 26. 我可以自動選擇下拉菜單嗎?
- 27. Android設備移動速度
- 28. 計算鼠標移動角度變化
- 29. 移動(Android)jquery onclick設計
- 30. 我可以更改Android設備的LED亮度嗎?
看看這個github的android項目。 https://github.com/daCapricorn/ArcMenu –