SuruDeveloper

mylayout

Nov 25th, 2017
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1.  
  2. <fragment xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:map="http://schemas.android.com/apk/res-auto"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. xmlns:tools="http://schemas.android.com/tools"
  6. android:id="@+id/map"
  7. android:name="com.google.android.gms.maps.SupportMapFragment"
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. tools:context="com.example.surajnath.taproute.UserLocation" >
  11.  
  12.  
  13.  
  14. <RelativeLayout
  15.  
  16. android:layout_width="match_parent"
  17. android:layout_height="match_parent"
  18. >
  19. <LinearLayout
  20. android:layout_width="match_parent"
  21. android:layout_height="wrap_content"
  22. android:orientation="horizontal"
  23. android:weightSum="10"
  24. android:padding="16dp">
  25.  
  26. <com.github.glomadrian.materialanimatedswitch.MaterialAnimatedSwitch
  27. android:layout_width="0dp"
  28. android:layout_weight="3"
  29. android:id="@+id/location_switch"
  30. android:layout_height="wrap_content"
  31. app:icon_release="@drawable/ic_location_off_black_24dp"
  32. app:icon_press="@drawable/ic_location_on_black_24dp"
  33. app:base_release_color="@color/baseReleaseColor"
  34. app:base_press_color="@color/basePressColor"
  35. app:ball_release_color="@color/ballReleaseColor"
  36. app:ball_press_color="@android:color/white"/>
  37. </LinearLayout>
  38.  
  39. </RelativeLayout>
  40. </fragment>
Add Comment
Please, Sign In to add comment