move alarmControl to the left

This commit is contained in:
sonora 2014-09-11 14:35:31 +02:00
parent 852a9e338a
commit 70d8338b45
2 changed files with 4 additions and 4 deletions

View file

@ -289,8 +289,8 @@ public class MapInfoLayer extends OsmandMapLayer {
statusBar.setLayoutParams(flp);
flp = new FrameLayout.LayoutParams((int)(78 * scaleCoefficient),
(int)(78 * scaleCoefficient), Gravity.RIGHT | Gravity.BOTTOM);
flp.rightMargin = (int) (10*scaleCoefficient);
(int)(78 * scaleCoefficient), Gravity.LEFT | Gravity.BOTTOM);
flp.leftMargin = (int) (10*scaleCoefficient);
flp.bottomMargin = (int) (85*scaleCoefficient);
alarmControl.setLayoutParams(flp);

View file

@ -687,8 +687,8 @@ public class RouteInfoWidgetsFactory {
locimgId = R.drawable.warnings_speed_bump;
text = "";
} else if(alarm.getType() == AlarmInfoType.STOP) {
// text = "STOP";
text = "";
text = "STOP";
//text = "";
}
visible = (text != null && text.length() > 0) || locimgId != 0;
if (visible) {