I want to achieve the positioning of the views. Floating action button on top of two views wherein half of the button overlaps each of the view. Can someone please help me with the xml?
Asked
Active
Viewed 6,763 times
2
-
It is answered here. http://stackoverflow.com/questions/24459352/how-can-i-add-the-new-floating-action-button-between-two-widgets-layouts – NiharG15 Nov 26 '14 at 09:51
-
You need to post more info about your layout. The solution will vary depending on your layout type. – Daniel Dec 17 '15 at 01:50
1 Answers
1
helpful positioning properties:
android:layout_alignParentRight="true"
app:layout_anchorGravity="bottom|right|end"
android:layout_gravity="bottom|right|end"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
android:layout_margin="4dp"

Ashnet
- 404
- 5
- 5