Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <fragment xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:map="http://schemas.android.com/apk/res-auto"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/map"
- android:name="com.google.android.gms.maps.SupportMapFragment"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context="com.example.surajnath.taproute.UserLocation" >
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:weightSum="10"
- android:padding="16dp">
- <com.github.glomadrian.materialanimatedswitch.MaterialAnimatedSwitch
- android:layout_width="0dp"
- android:layout_weight="3"
- android:id="@+id/location_switch"
- android:layout_height="wrap_content"
- app:icon_release="@drawable/ic_location_off_black_24dp"
- app:icon_press="@drawable/ic_location_on_black_24dp"
- app:base_release_color="@color/baseReleaseColor"
- app:base_press_color="@color/basePressColor"
- app:ball_release_color="@color/ballReleaseColor"
- app:ball_press_color="@android:color/white"/>
- </LinearLayout>
- </RelativeLayout>
- </fragment>
Add Comment
Please, Sign In to add comment