Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[android] #5004 - Removing Access Tokens from Layout XML
Browse files Browse the repository at this point in the history
  • Loading branch information
bleege committed May 13, 2016
1 parent d67687d commit 29cf427
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:style_url="@string/style_light"
app:access_token="@string/mapbox_access_token"
android:layout_below="@id/toolbar" />

</RelativeLayout>
</RelativeLayout>
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/toolbar"
app:access_token="@string/mapbox_access_token"
app:center_latitude="-1.063510"
app:center_longitude=" 32.895425"
app:style_url="@string/style_satellite_streets"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
android:id="@id/mapView"
android:layout_width="match_parent"
android:layout_height="match_parent"
mapbox:access_token="@string/mapbox_access_token" />
/>

<android.support.design.widget.FloatingActionButton
android:id="@+id/fabLocationToggle"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
android:layout_height="match_parent"
app:my_location_foreground_tint="@color/primary"
app:my_location_accuracy_tint="@color/primary"
app:access_token="@string/mapbox_access_token"
app:style_url="@string/style_mapbox_streets"
app:zoom="15" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
android:layout_width="match_parent"
app:center_latitude="37.176546"
app:center_longitude="-3.599007"
app:access_token="@string/mapbox_access_token"
app:style_url="@string/style_emerald"
app:zoom="15"
android:layout_height="match_parent" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
app:access_token="@string/mapbox_access_token"
app:style_url="@string/style_emerald" />

</LinearLayout>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
<com.mapbox.mapboxsdk.maps.MapView
android:id="@+id/mapView"
android:layout_width="match_parent"
android:layout_height="match_parent"
mapbox:access_token="@string/mapbox_access_token" />
android:layout_height="match_parent"/>

<FrameLayout
android:id="@+id/map_card"
Expand All @@ -22,6 +21,6 @@
android:id="@+id/mini_map"
android:layout_width="100dp"
android:layout_height="100dp"
mapbox:access_token="@string/mapbox_access_token" />
/>
</FrameLayout>
</RelativeLayout>
</RelativeLayout>

0 comments on commit 29cf427

Please sign in to comment.