Update master branch with new home screen
This commit is contained in:
parent
b0ff005352
commit
9b57c8e5ff
3 changed files with 12 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue