Basic functional settings screen
This commit is contained in:
@@ -7,4 +7,24 @@
|
||||
android:padding="24dp"
|
||||
android:background="@android:color/background_dark">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/mapRendererLabel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Map Renderer:"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="@id/mapRendererSelector"/>
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/mapRendererSelector"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="12dp"
|
||||
app:layout_constraintStart_toEndOf="@id/mapRendererLabel"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"/>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -3,4 +3,9 @@
|
||||
<string name="settings_title">Settings</string>
|
||||
<string name="attribution_title"> Attribution </string>
|
||||
<string name="shipped_attribution">Earth map data Included;\n - © OpenStreetMap Contributors\nMap Rendering libraries Included;\n - MapLibre developed by MapLibre Organization\n - Vtm developed by Mapsforge\nStrike Maps made with <3 by konggdev</string>
|
||||
<string-array name="map_renderers">
|
||||
<item>MapLibre Native</item>
|
||||
<item>MapLibre GL JS</item>
|
||||
<item>VTM</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user