0
A
回答
2
你可以使用這個庫創建圓形佈局:https://github.com/dmitry-zaitsev/CircleLayout
簡單的代碼(使用庫):
<ru.biovamp.widget.CircleLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@android:color/white"
app:angleOffset="90.0"
app:layoutMode="pie"
app:divider="#112233"
app:innerRadius="40dp"
app:innerCircle="#119922"
app:dividerWidth="10dp"
>
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="one"
android:id="@+id/w"
/>
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="two"
android:id="@+id/w1"
/>
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="three"
android:id="@+id/w2"
/>
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="four"
android:id="@+id/w3"
/>
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="five"
android:id="@+id/w4"
/>
</ru.biovamp.widget.CircleLayout>
注意:你可以使用任何視圖類型(txtviews,buttons,imageviews ..)
+0
按下按鈕,如果你可以和我的回答是有幫助的 – Smile2Life
相關問題
- 1. 的ImageView在RelativeLayout的
- 2. ImageView到RelativeLayout的中間 - Android
- 3. Android,如何在relativelayout中設置帶有百分比的imageview
- 4. Android:在RelativeLayout上放置4個按鈕
- 5. Android RelativeLayout將對象放置在角落
- 6. 使用ImageView和標題縮放RelativeLayout
- 7. 如何在Android上顯示RelativeLayout和ImageView?
- 8. 在android的webview中將imageview放在android
- 9. 的Android ImageView的縮放confict
- 10. android-在RelativeLayout的
- 11. 在Android中設置ImageView中的ImageView
- 12. 如何在relativelayout android中同等設置imageview間距?
- 13. 如何將TextView放置在另一個RelativeLayout的RelativeLayout中?
- 14. 如何將RelativeLayout放置在RelativeLayout的底部?
- 15. 在android和檢測位置拖放imageview
- 16. 在RelativeLayout中垂直TextView的中心ImageView
- 17. 在RelativeLayout ImageView不需要的邊框
- 18. 變化的ImageView重力的RelativeLayout代碼
- 19. 捏縮放android的imageview?
- 20. 放置在X的ImageView的和Y cordinates
- 21. 在Relativelayout中的ImageViews是重疊的。我想將較低的imageView放在頂部
- 22. 在RelativeLayout中動畫ImageView
- 23. 簡單的Android界面 - RelativeLayout中的圈子(兒童視圖)
- 24. 在RelativeLayout中移動ImageView
- 25. Android - ImageView縮放
- 26. 的Android,RelativeLayout的
- 27. RelativeLayout與ImageView和TextView
- 28. 如何使的ImageView內的RelativeLayout
- 29. 定位ImageView的x處,小的RelativeLayout
- 30. 如何programmaticaly把ImageView的到的RelativeLayout
我發現一個很好的實現,但無法獲得代碼:http://www.youtube.com/watch?v=QMbP8-zC-K0 – Smile2Life
@ Smile2Life你有沒有發現任何線索? – rupinderjeet