[androd] #3119 - use resourcePrefix for library resources

This commit is contained in:
Tobrun
2016-02-17 09:21:31 +01:00
parent 94c5c2e203
commit a331e94b1b
18 changed files with 39 additions and 36 deletions

View File

@@ -9,7 +9,7 @@
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/attributionTelemetryMessage"
android:text="@string/mapbox_attributionTelemetryMessage"
android:gravity="center_horizontal"/>
<ListView

View File

@@ -18,7 +18,7 @@
android:layout_height="wrap_content"
android:layout_marginBottom="2dp"
android:maxEms="17"
android:text="@string/infoWindowTitle"
android:text="@string/mapbox_infoWindowTitle"
android:textColor="@color/black"
android:textSize="18sp"
android:textStyle="bold" />
@@ -31,7 +31,7 @@
android:layout_marginTop="2dp"
android:lineSpacingExtra="1dp"
android:maxEms="17"
android:text="@string/infoWindowDescription"
android:text="@string/mapbox_infoWindowDescription"
android:textColor="@color/gray"
android:textSize="14sp" />
@@ -40,7 +40,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxEms="17"
android:text="@string/infoWindowAddress"
android:text="@string/mapbox_infoWindowAddress"
android:textColor="@color/black"
android:textSize="12sp"
android:visibility="gone" />

View File

@@ -15,7 +15,7 @@
android:id="@+id/logoView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/mapboxIconContentDescription"
android:contentDescription="@string/mapbox_mapboxIconContentDescription"
android:src="@drawable/attribution_logo" />
<ImageView
@@ -24,7 +24,7 @@
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:clickable="true"
android:contentDescription="@string/attributionsIconContentDescription"
android:contentDescription="@string/mapbox_attributionsIconContentDescription"
android:padding="7dp"
android:src="@drawable/ic_info_outline_24dp_selector"
android:background="@drawable/bg_default_selector"/>

View File

@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="compassContentDescription">Map compass. Click to reset the map rotation to North.</string>
<string name="attributionsIconContentDescription">Attribution icon. Click to show attribution dialog.</string>
<string name="attributionsDialogTitle">Mapbox Android SDK</string>
<string name="attributionTelemetryTitle">Make Mapbox Maps Better</string>
<string name="attributionTelemetryMessage">You are helping to make OpenStreetMap and Mapbox maps better by contributing anonymous usage data.</string>
<string name="mapboxIconContentDescription">The Mapbox logo.</string>
<string name="infoWindowTitle">Title</string>
<string name="infoWindowDescription">Description</string>
<string name="infoWindowAddress">Address</string>
<string name="mapbox_compassContentDescription">Map compass. Click to reset the map rotation to North.</string>
<string name="mapbox_attributionsIconContentDescription">Attribution icon. Click to show attribution dialog.</string>
<string name="mapbox_attributionsDialogTitle">Mapbox Android SDK</string>
<string name="mapbox_attributionTelemetryTitle">Make Mapbox Maps Better</string>
<string name="mapbox_attributionTelemetryMessage">You are helping to make OpenStreetMap and Mapbox maps better by contributing anonymous usage data.</string>
<string name="mapbox_mapboxIconContentDescription">The Mapbox logo.</string>
<string name="mapbox_infoWindowTitle">Title</string>
<string name="mapbox_infoWindowDescription">Description</string>
<string name="mapbox_infoWindowAddress">Address</string>
<!-- these are public -->
<string name="style_mapbox_streets">mapbox://styles/mapbox/streets-v8</string>
<string name="style_emerald">mapbox://styles/mapbox/emerald-v8</string>
<string name="style_light">mapbox://styles/mapbox/light-v8</string>
<string name="style_dark">mapbox://styles/mapbox/dark-v8</string>
<string name="style_satellite">mapbox://styles/mapbox/satellite-v8</string>
<string name="style_satellite_streets">mapbox://styles/mapbox/satellite-hybrid-v8</string>
<string name="mapbox_style_mapbox_streets">mapbox://styles/mapbox/streets-v8</string>
<string name="mapbox_style_emerald">mapbox://styles/mapbox/emerald-v8</string>
<string name="mapbox_style_light">mapbox://styles/mapbox/light-v8</string>
<string name="mapbox_style_dark">mapbox://styles/mapbox/dark-v8</string>
<string name="mapbox_style_satellite">mapbox://styles/mapbox/satellite-v8</string>
<string name="mapbox_style_satellite_streets">mapbox://styles/mapbox/satellite-hybrid-v8</string>
</resources>