CircleLayout实现圆环Android布局

jopen 11年前

CircleLayout实现圆环Android布局。
normal.jpg

用法:
  <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 pie
innerCircle - color or drawable that will be drawn in center of pie
dividerWidth - width of divider between slices

项目主页:http://www.open-open.com/lib/view/home/1392023703332