Update settins

This commit is contained in:
Victor Shcherb 2014-07-12 01:08:20 +02:00
parent 6263a4cfa1
commit 92560f268b
4 changed files with 10 additions and 3 deletions

3
OsmAnd/.gitignore vendored
View file

@ -11,4 +11,5 @@ jni/Local.mk
out/
use/
osmand.properties
osmand.xml
osmand.xml
src/help

View file

@ -34,6 +34,12 @@
<include name="*.xml"/>
</fileset>
</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/">
<fileset dir="../../resources/rendering_styles/" >
<include name="*.xml"/>

View file

@ -170,7 +170,7 @@ public class OsMoPlugin extends OsmandPlugin implements MonitoringInfoControlSer
MapInfoLayer layer = activity.getMapLayers().getMapInfoLayer();
osmoControl = createOsMoControl(activity, layer.getPaintText(), layer.getPaintSubText());
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();
if(olayer != null) {

View file

@ -107,7 +107,7 @@ public class AppearanceWidgetsFactory {
visibleNames[j] = Algorithms.capitalizeFirstLetterAndLowercase(items[j].replace('_', ' ').replace(
'-', ' '));
}
bld.setSingleChoiceItems(items, selected, new DialogInterface.OnClickListener() {
bld.setSingleChoiceItems(visibleNames, selected, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {