Update master branch with new home screen

This commit is contained in:
Victor Shcherb 2014-11-27 17:39:38 +01:00
parent b0ff005352
commit 9b57c8e5ff
3 changed files with 12 additions and 4 deletions

View file

@ -53,8 +53,8 @@
android:text="@string/coordinates" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_width="1dp"
android:layout_height="match_parent"
android:background="@color/dashboard_divider" />
<Button

View file

@ -9,7 +9,7 @@
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="6dp" >
<include android:id="@layout/dashboard_search"/>
<include layout="@layout/dashboard_search"/>
<LinearLayout
android:layout_width="fill_parent"

View file

@ -86,6 +86,13 @@ public class DashboardActivity extends SherlockFragmentActivity implements IMapD
private ProgressDialog startProgressDialog;
private OsmandMapTileView osmandMapTileView;
@Override
public void onDestroy() {
super.onDestroy();
getMyApplication().getResourceManager().getMapTileDownloader().removeDownloaderCallback(this);
}
@Override
protected void onCreate(Bundle savedInstanceState) {
getMyApplication().applyTheme(this);
@ -112,6 +119,7 @@ public class DashboardActivity extends SherlockFragmentActivity implements IMapD
setupMapView();
setupButtons();
setupFonts();
getMyApplication().getResourceManager().getMapTileDownloader().addDownloaderCallback(this);
}
@Override