Samples for Shadow and Overpass (#670)

This commit is contained in:
Gustl22
2019-02-21 00:41:35 +01:00
committed by Emux
parent 8e685b7ebb
commit 31077cb637
9 changed files with 222 additions and 2 deletions

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<org.oscim.android.MapView
android:id="@+id/mapView"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#cc000000"
android:orientation="horizontal">
<SeekBar
android:id="@+id/seekBarShadow"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:max="2000"
android:padding="10dp"
android:progress="400" />
<ToggleButton
android:id="@+id/toggleCurrentSun"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical|center_horizontal"
android:onClick="onToggleCurrentSun"
android:textOn="@string/now" />
</LinearLayout>
</RelativeLayout>