Update
This commit is contained in:
parent
407500211d
commit
ce1a2f4ccd
1 changed files with 1 additions and 0 deletions
|
@ -142,6 +142,7 @@ public class MapControlsLayer extends OsmandMapLayer {
|
||||||
// }
|
// }
|
||||||
compassHud = createHudButton((ImageView) compass, R.drawable.map_compass).setIconColorId(0)
|
compassHud = createHudButton((ImageView) compass, R.drawable.map_compass).setIconColorId(0)
|
||||||
.setBg(R.drawable.btn_inset_circle, R.drawable.btn_inset_circle_night);
|
.setBg(R.drawable.btn_inset_circle, R.drawable.btn_inset_circle_night);
|
||||||
|
compassHud.compass = true;
|
||||||
controls.add(compassHud);
|
controls.add(compassHud);
|
||||||
compass.setOnClickListener(new View.OnClickListener() {
|
compass.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue