altosdroid: Split out AltosMapView into separate file
authorKeith Packard <keithp@keithp.com>
Fri, 29 May 2015 05:13:39 +0000 (22:13 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 29 May 2015 05:14:39 +0000 (22:14 -0700)
commit50e709a4088f3d6846fd66cbe9b8c437b3f9c88b
tree5f7e469a626055c7379234b108115e257f93af84
parent2e424f8dc2886aa475e6ddb21457eba08f768b16
altosdroid: Split out AltosMapView into separate file

This lets us use the regular layout configuration bits in the .xml
file instead of needing to patch the map object into the display. That
was causing problems when re-entering the map tab as the map view
would somehow end up with a zero width.

Signed-off-by: Keith Packard <keithp@keithp.com>
altosdroid/res/layout/tab_map_offline.xml [new file with mode: 0644]
altosdroid/src/org/altusmetrum/AltosDroid/AltosMapView.java [new file with mode: 0644]
altosdroid/src/org/altusmetrum/AltosDroid/TabMapOffline.java