Add compass for #644

This commit is contained in:
Leith Bade
2014-11-28 00:58:48 +11:00
parent 65424a374e
commit 014ebd2f13
3 changed files with 37 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@@ -30,7 +30,16 @@
tools:context="${packageName}.${activityClass}"
tools:layout="@layout/fragment_main" />
<TextView
<ImageView
android:id="@+id/view_compass"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right|top"
android:padding="10dp"
android:contentDescription="Map compass. Click to reset the map rotation to North."
android:src="@drawable/compass"/>
<TextView
android:id="@+id/view_fps"
android:layout_width="wrap_content"
android:layout_height="wrap_content"