Merge pull request #6486 from osmandapp/kolomiets_branch
Kolomiets branch
This commit is contained in:
commit
d2defcf498
4 changed files with 1 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
|
||||||
|
|
|
@ -299,6 +299,7 @@ public class IncrementalChangesManager {
|
||||||
XmlPullParserException {
|
XmlPullParserException {
|
||||||
String url = URL + "?aosmc=true×tamp=" + timestamp + "&file=" + URLEncoder.encode(file);
|
String url = URL + "?aosmc=true×tamp=" + timestamp + "&file=" + URLEncoder.encode(file);
|
||||||
HttpURLConnection conn = NetworkUtils.getHttpURLConnection(url);
|
HttpURLConnection conn = NetworkUtils.getHttpURLConnection(url);
|
||||||
|
conn.setUseCaches(false);
|
||||||
XmlPullParser parser = PlatformUtil.newXMLPullParser();
|
XmlPullParser parser = PlatformUtil.newXMLPullParser();
|
||||||
parser.setInput(conn.getInputStream(), "UTF-8");
|
parser.setInput(conn.getInputStream(), "UTF-8");
|
||||||
List<IncrementalUpdate> lst = new ArrayList<IncrementalUpdate>();
|
List<IncrementalUpdate> lst = new ArrayList<IncrementalUpdate>();
|
||||||
|
|
|
@ -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