Bugfix - Remove the close button for the layer transparency seekbar #6485 - fixed
This commit is contained in:
parent
c70f763dc2
commit
90e14cc691
3 changed files with 0 additions and 25 deletions
|
@ -183,14 +183,6 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center"/>
|
android:layout_gravity="center"/>
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/map_transparency_hide"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:background="@drawable/btn_circle_transparent"
|
|
||||||
android:contentDescription="@string/shared_string_hide"
|
|
||||||
android:src="@drawable/headliner_close"/>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<ProgressBar
|
<ProgressBar
|
||||||
|
|
|
@ -103,14 +103,6 @@
|
||||||
android:paddingLeft="6dp"
|
android:paddingLeft="6dp"
|
||||||
android:paddingRight="6dp"/>
|
android:paddingRight="6dp"/>
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/map_transparency_hide"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:background="@drawable/btn_circle_transparent"
|
|
||||||
android:contentDescription="@string/shared_string_hide"
|
|
||||||
android:src="@drawable/headliner_close"/>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
|
|
@ -925,15 +925,6 @@ public class MapControlsLayer extends OsmandMapLayer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
ImageButton imageButton = (ImageButton) mapActivity.findViewById(R.id.map_transparency_hide);
|
|
||||||
imageButton.setOnClickListener(new OnClickListener() {
|
|
||||||
@Override
|
|
||||||
public void onClick(View v) {
|
|
||||||
transparencyBarLayout.setVisibility(View.GONE);
|
|
||||||
settings.LAYER_TRANSPARENCY_SEEKBAR_MODE.set(LayerTransparencySeekbarMode.OFF);
|
|
||||||
hideTransparencyBar(transparencySetting);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
LayerTransparencySeekbarMode seekbarMode = settings.LAYER_TRANSPARENCY_SEEKBAR_MODE.get();
|
LayerTransparencySeekbarMode seekbarMode = settings.LAYER_TRANSPARENCY_SEEKBAR_MODE.get();
|
||||||
if (OsmandPlugin.getEnabledPlugin(OsmandRasterMapsPlugin.class) != null) {
|
if (OsmandPlugin.getEnabledPlugin(OsmandRasterMapsPlugin.class) != null) {
|
||||||
|
|
Loading…
Reference in a new issue