CircleLayout實現圓環Android布局
CircleLayout實現圓環Android布局。
用法: <ru.biovamp.widget.CircleLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/white"
app:angleOffset="90.0">
<!-- Add here any views you want -->
</ru.biovamp.widget.CircleLayout>
<ru.biovamp.widget.CircleLayout android:layout_width="match_parent" android:layout_height="match_parent" android:background="@android:color/white" app:angleOffset="90.0"> <!-- Add here any views you want --> </ru.biovamp.widget.CircleLayout>
To arrange views in nice looking pie provide this property:
app:layoutMode="pie"
In pie mode some additional options available:
sliceDivider - color of divider between slices of pieinnerCircle - color or drawable that will be drawn in center of pie
dividerWidth - width of divider between slices
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!