Made telemetry dialog material (#6726)
* Made telemetry dialog material * cleaned up attribution_main_menu
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<TextView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@android:id/text1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="?android:attr/listPreferredItemHeightSmall"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp"
|
||||
android:textAppearance="?android:attr/textAppearanceListItemSmall"
|
||||
android:textColor="@android:color/white" />
|
||||
android:paddingLeft="24dp"
|
||||
android:paddingRight="24dp"
|
||||
android:textAllCaps="true"
|
||||
android:textAppearance="?android:attr/textAppearanceButton"
|
||||
android:textColor="@color/mapbox_blue"/>
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/attributionTelemetryMessage"
|
||||
android:gravity="center_horizontal"/>
|
||||
|
||||
<ListView
|
||||
android:id="@+id/telemetryOptionsList"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -6,16 +6,6 @@
|
||||
<item>Improve this map</item>
|
||||
<item>Telemetry Settings</item>
|
||||
</array>
|
||||
<array name="attribution_telemetry_options">
|
||||
<item>Tell Me More</item>
|
||||
<item>Don\'t Participate</item>
|
||||
<item>Participate</item>
|
||||
</array>
|
||||
<array name="attribution_telemetry_options_already_participating">
|
||||
<item>Tell Me More</item>
|
||||
<item>Stop Participating</item>
|
||||
<item>Keep Participating</item>
|
||||
</array>
|
||||
<!-- If editing this array update MapView.ATTRIBUTION_INDEX_IMPROVE_THIS_MAP -->
|
||||
<array name="attribution_links" formatted="false" translatable="false">
|
||||
<item>https://www.mapbox.com/about/maps/</item>
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
<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="attributionTelemetryPositive">Agree</string>
|
||||
<string name="attributionTelemetryNegative">Disagree</string>
|
||||
<string name="attributionTelemetryNeutral">More info</string>
|
||||
<string name="mapboxIconContentDescription">The Mapbox logo.</string>
|
||||
<string name="infoWindowTitle">Title</string>
|
||||
<string name="infoWindowDescription">Description</string>
|
||||
|
||||
@@ -6,4 +6,6 @@
|
||||
<item name="android:textColorPrimary">@android:color/white</item>
|
||||
</style>
|
||||
|
||||
<style name="TelemAlertDialogStyle" parent="Theme.AppCompat.Light.Dialog.Alert"/>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user