Skip to content

Commit ed2c705

Browse files
authored
Update README.md
1 parent c9fd718 commit ed2c705

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,29 @@ step2:
3939
}
4040
4141
}
42+
43+
step3:
44+
-------
45+
46+
<?xml version="1.0" encoding="utf-8"?>
47+
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
48+
xmlns:tools="http://schemas.android.com/tools"
49+
android:layout_width="match_parent"
50+
android:layout_height="match_parent"
51+
tools:context=".MainActivity">
52+
53+
<com.barnettwong.dragfloatactionbuttonlibrary.view.DragFloatActionButton
54+
android:id="@+id/circle_button"
55+
android:layout_width="48dp"
56+
android:layout_height="48dp"
57+
android:layout_alignParentBottom="true"
58+
android:layout_alignParentRight="true"
59+
android:layout_marginBottom="20dp"
60+
android:layout_marginRight="20dp"
61+
android:clickable="true"
62+
android:src="@mipmap/tianjia" />
63+
64+
</RelativeLayout>
4265

4366
MIT License
4467
===================================

0 commit comments

Comments
 (0)