Skip to content

Commit 57a7ca0

Browse files
authored
Update README.md
1 parent bbe7cea commit 57a7ca0

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

README.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,26 @@ dependencies {
2828
Step 3. use it in xml
2929
~~~
3030
<?xml version="1.0" encoding="utf-8"?>
31-
<com.example.administrator.mycircleimgview.views.DragImageView
32-
xmlns:android="http://schemas.android.com/apk/res/android"
31+
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
3332
xmlns:app="http://schemas.android.com/apk/res-auto"
34-
android:id="@+id/my_image_view"
33+
xmlns:tools="http://schemas.android.com/tools"
3534
android:layout_width="match_parent"
36-
android:layout_height="match_parent"
37-
app:circleImgBorderColor="@color/colorAccent"
38-
app:circleImgRadius="110"
39-
app:circleImgBorder="3"
40-
app:topMargin="200"
41-
app:circleViewsCount="5">
42-
35+
android:layout_height="match_parent">
36+
37+
<com.example.administrator.animatecircleimageview.views.DragImageView xmlns:android="http://schemas.android.com/apk/res/android"
38+
xmlns:app="http://schemas.android.com/apk/res-auto"
39+
android:id="@+id/my_image_view"
40+
android:layout_width="match_parent"
41+
android:layout_height="match_parent"
42+
app:circleImgBorder="3"
43+
app:circleImgBorderColor="@color/colorAccent"
44+
app:circleImgRadius="110"
45+
app:circleViewsCount="5"
46+
app:topMargin="200">
47+
48+
</com.example.administrator.animatecircleimageview.views.DragImageView>
4349
44-
</com.example.administrator.mycircleimgview.views.DragImageView>
50+
</android.support.constraint.ConstraintLayout>
4551
~~~
4652

4753
Step 4. in xxx.class

0 commit comments

Comments
 (0)