Update settins
This commit is contained in:
parent
6263a4cfa1
commit
92560f268b
4 changed files with 10 additions and 3 deletions
1
OsmAnd/.gitignore
vendored
1
OsmAnd/.gitignore
vendored
|
@ -12,3 +12,4 @@ out/
|
||||||
use/
|
use/
|
||||||
osmand.properties
|
osmand.properties
|
||||||
osmand.xml
|
osmand.xml
|
||||||
|
src/help
|
||||||
|
|
|
@ -34,6 +34,12 @@
|
||||||
<include name="*.xml"/>
|
<include name="*.xml"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
|
<copy todir="${src.absolute.dir}/help/">
|
||||||
|
<fileset dir="../../help/" >
|
||||||
|
<include name="*.html"/>
|
||||||
|
<include name="screens/**/*.png"/>
|
||||||
|
</fileset>
|
||||||
|
</copy>
|
||||||
<copy todir="${src.absolute.dir}/net/osmand/render/">
|
<copy todir="${src.absolute.dir}/net/osmand/render/">
|
||||||
<fileset dir="../../resources/rendering_styles/" >
|
<fileset dir="../../resources/rendering_styles/" >
|
||||||
<include name="*.xml"/>
|
<include name="*.xml"/>
|
||||||
|
|
|
@ -170,7 +170,7 @@ public class OsMoPlugin extends OsmandPlugin implements MonitoringInfoControlSer
|
||||||
MapInfoLayer layer = activity.getMapLayers().getMapInfoLayer();
|
MapInfoLayer layer = activity.getMapLayers().getMapInfoLayer();
|
||||||
osmoControl = createOsMoControl(activity, layer.getPaintText(), layer.getPaintSubText());
|
osmoControl = createOsMoControl(activity, layer.getPaintText(), layer.getPaintSubText());
|
||||||
layer.getMapInfoControls().registerSideWidget(osmoControl,
|
layer.getMapInfoControls().registerSideWidget(osmoControl,
|
||||||
R.drawable.mon_osmo_conn_big, R.string.osmo_control, "osmo_control", false, 18);
|
R.drawable.mon_osmo_signal_inactive, R.string.osmo_control, "osmo_control", false, 18);
|
||||||
layer.recreateControls();
|
layer.recreateControls();
|
||||||
|
|
||||||
if(olayer != null) {
|
if(olayer != null) {
|
||||||
|
|
|
@ -107,7 +107,7 @@ public class AppearanceWidgetsFactory {
|
||||||
visibleNames[j] = Algorithms.capitalizeFirstLetterAndLowercase(items[j].replace('_', ' ').replace(
|
visibleNames[j] = Algorithms.capitalizeFirstLetterAndLowercase(items[j].replace('_', ' ').replace(
|
||||||
'-', ' '));
|
'-', ' '));
|
||||||
}
|
}
|
||||||
bld.setSingleChoiceItems(items, selected, new DialogInterface.OnClickListener() {
|
bld.setSingleChoiceItems(visibleNames, selected, new DialogInterface.OnClickListener() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onClick(DialogInterface dialog, int which) {
|
public void onClick(DialogInterface dialog, int which) {
|
||||||
|
|
Loading…
Reference in a new issue