Logical string correction

This commit is contained in:
sonora 2016-02-07 10:35:01 +01:00
parent fe8f3f5e88
commit 69ccde4bdb
2 changed files with 4 additions and 2 deletions

View file

@ -10,7 +10,7 @@
PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy
-->
<string name="show_polygons">Show polygons</string>
<string name="underlay_transparency">Underlay transparency</string>
<!-- string name="underlay_transparency">Underlay transparency</string -->
<string name="find_parking">Find a parking</string>
<string name="shared_string_status">Status</string>
<string name="shared_string_save_changes">Save changes</string>

View file

@ -67,7 +67,9 @@ public class RasterMapMenu {
}
};
// android:max="255" in layout is expected
adapter.item(R.string.underlay_transparency).layout(R.layout.progress_list_item)
//adapter.item(R.string.underlay_transparency).layout(R.layout.progress_list_item)
// Please note this does not modify the transparency of the underlay map, but of the base map, of course!
adapter.item(R.string.map_transparency).layout(R.layout.progress_list_item)
.progress(mapTransparencyPreference.get()).listenInteger(integerListener).reg();
adapter.item(R.string.map_underlay).layout(R.layout.two_line_list_item).listen(l).reg();
adapter.item(R.string.show_polygons).listen(l).reg();