-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathactivity_main.xml
27 lines (24 loc) · 1.08 KB
/
activity_main.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
tools:context="com.sababado.circularview.sample.MainActivity">
<com.sababado.circularview.CircularView
android:id="@+id/circular_view"
android:background="#ccc"
android:layout_width="wrap_content"
android:layout_height="match_parent"
app:textSize="24sp"
app:centerBackgroundColor="#33b5e5"
app:text="Hello, MyView"
app:centerDrawable="@drawable/center_bg"
app:markerStartingPoint="bottom"
app:editMode_markerCount="15"
app:fitToCircle="true"
android:layout_centerInParent="true"/>
</RelativeLayout>