[android] add font array attribute configuration for local ideograph font, add enable flag attribute configuration
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="?android:attr/actionBarSize"
|
||||
app:mapbox_localIdeographFontFamilies="@array/array_local_ideograph_family_test"
|
||||
app:mapbox_uiAttributionTintColor="@color/redAccent"/>
|
||||
|
||||
<android.support.design.widget.FloatingActionButton
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
android:id="@id/mapView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:mapbox_localIdeographEnabled="false"
|
||||
app:mapbox_cameraTargetLat="51.50325"
|
||||
app:mapbox_cameraTargetLng="-0.11968"
|
||||
app:mapbox_cameraZoom="15" />
|
||||
|
||||
@@ -7,4 +7,9 @@
|
||||
<item>1000</item>
|
||||
<item>10000</item>
|
||||
</string-array>
|
||||
<string-array name="array_local_ideograph_family_test">
|
||||
<item>foo</item>
|
||||
<item>monospace</item>
|
||||
<item>bar</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user