Advertisement
Guest User

Untitled

a guest
Oct 7th, 2015
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. <android.support.design.widget.CoordinatorLayout
  2. android:layout_width="match_parent"
  3. android:layout_height="match_parent">
  4.  
  5. <RelativeLayout
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent">
  8.  
  9. <android.support.design.widget.FloatingActionButton
  10. android:id="@+id/first"
  11. android:layout_width="wrap_content"
  12. android:layout_height="wrap_content"
  13. android:src="@drawable/directions"
  14. app:backgroundTint="@android:color/holo_blue_light"
  15. app:elevation="6dp"
  16. app:pressedTranslationZ="12dp"
  17. android:layout_above="@+id/uer_position"
  18. android:layout_alignParentRight="true"
  19. android:layout_alignParentEnd="true" />
  20.  
  21. <android.support.design.widget.FloatingActionButton
  22. android:id="@+id/second"
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:src="@drawable/my_location"
  26. app:backgroundTint="@android:color/white"
  27. app:elevation="6dp"
  28. app:pressedTranslationZ="12dp"
  29. android:layout_alignParentBottom="true"
  30. android:layout_alignParentRight="true"
  31. android:layout_alignParentEnd="true" />
  32.  
  33. </RelativeLayout>
  34.  
  35. <dimen name="btn_fab_margins">16dp</dimen>
  36.  
  37. <dimen name="btn_fab_margins">0dp</dimen>
  38.  
  39. android:layout_margin="@dimen/btn_fab_margins"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement