Update icons
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 558 B After Width: | Height: | Size: 1.2 KiB |
BIN
OsmAnd/res/drawable-hdpi/mon_osmo_inactive.png
Normal file
After Width: | Height: | Size: 823 B |
BIN
OsmAnd/res/drawable-hdpi/mon_osmo_signal_inactive.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 558 B After Width: | Height: | Size: 1.2 KiB |
BIN
OsmAnd/res/drawable-large/mon_osmo_inactive.png
Normal file
After Width: | Height: | Size: 823 B |
BIN
OsmAnd/res/drawable-large/mon_osmo_signal_inactive.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
OsmAnd/res/drawable-mdpi/mon_osmo_conn_big.png
Normal file
After Width: | Height: | Size: 662 B |
BIN
OsmAnd/res/drawable-mdpi/mon_osmo_conn_signal_big.png
Normal file
After Width: | Height: | Size: 868 B |
BIN
OsmAnd/res/drawable-mdpi/mon_osmo_conn_signal_small.png
Normal file
After Width: | Height: | Size: 903 B |
BIN
OsmAnd/res/drawable-mdpi/mon_osmo_conn_small.png
Normal file
After Width: | Height: | Size: 746 B |
BIN
OsmAnd/res/drawable-mdpi/mon_osmo_inactive.png
Normal file
After Width: | Height: | Size: 513 B |
BIN
OsmAnd/res/drawable-mdpi/mon_osmo_signal_inactive.png
Normal file
After Width: | Height: | Size: 782 B |
BIN
OsmAnd/res/drawable-xhdpi/mon_osmo_conn_big.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
OsmAnd/res/drawable-xhdpi/mon_osmo_conn_signal_big.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
OsmAnd/res/drawable-xhdpi/mon_osmo_conn_signal_small.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
OsmAnd/res/drawable-xhdpi/mon_osmo_conn_small.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
OsmAnd/res/drawable-xhdpi/mon_osmo_inactive.png
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
OsmAnd/res/drawable-xhdpi/mon_osmo_signal_inactive.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
OsmAnd/res/drawable-xxhdpi/mon_osmo_conn_big.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
OsmAnd/res/drawable-xxhdpi/mon_osmo_conn_signal_big.png
Normal file
After Width: | Height: | Size: 3 KiB |
BIN
OsmAnd/res/drawable-xxhdpi/mon_osmo_conn_signal_small.png
Normal file
After Width: | Height: | Size: 3 KiB |
BIN
OsmAnd/res/drawable-xxhdpi/mon_osmo_conn_small.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
OsmAnd/res/drawable-xxhdpi/mon_osmo_inactive.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
OsmAnd/res/drawable-xxhdpi/mon_osmo_signal_inactive.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
|
@ -251,11 +251,12 @@ public class OsMoGroupsActivity extends OsmandExpandableListActivity implements
|
||||||
final Drawable srcSignalSmall = getResources().getDrawable(R.drawable.mon_osmo_conn_signal_small);
|
final Drawable srcSignalSmall = getResources().getDrawable(R.drawable.mon_osmo_conn_signal_small);
|
||||||
final Drawable srcBig = getResources().getDrawable(R.drawable.mon_osmo_conn_big);
|
final Drawable srcBig = getResources().getDrawable(R.drawable.mon_osmo_conn_big);
|
||||||
final Drawable srcSignalBig = getResources().getDrawable(R.drawable.mon_osmo_conn_signal_big);
|
final Drawable srcSignalBig = getResources().getDrawable(R.drawable.mon_osmo_conn_signal_big);
|
||||||
final Drawable srcinactive = getResources().getDrawable(R.drawable.monitoring_rec_inactive);
|
// final Drawable srcinactive = getResources().getDrawable(R.drawable.mon_osmo_inactive);
|
||||||
Drawable small = srcinactive;
|
final Drawable srcSignalinactive = getResources().getDrawable(R.drawable.mon_osmo_signal_inactive);
|
||||||
Drawable big = srcinactive;
|
|
||||||
OsMoService service = osMoPlugin.getService();
|
OsMoService service = osMoPlugin.getService();
|
||||||
OsMoTracker tracker = osMoPlugin.getTracker();
|
OsMoTracker tracker = osMoPlugin.getTracker();
|
||||||
|
Drawable small = srcSignalinactive; //tracker.isEnabledTracker() ? srcSignalinactive : srcinactive;
|
||||||
|
Drawable big = srcSignalinactive;// tracker.isEnabledTracker() ? srcSignalinactive : srcinactive;
|
||||||
long last = service.getLastCommandTime();
|
long last = service.getLastCommandTime();
|
||||||
if (service.isActive()) {
|
if (service.isActive()) {
|
||||||
small = tracker.isEnabledTracker() ? srcSignalSmall : srcSmall;
|
small = tracker.isEnabledTracker() ? srcSignalSmall : srcSmall;
|
||||||
|
@ -654,7 +655,9 @@ public class OsMoGroupsActivity extends OsmandExpandableListActivity implements
|
||||||
final EditText et = new EditText(this);
|
final EditText et = new EditText(this);
|
||||||
et.setVisibility(View.GONE);
|
et.setVisibility(View.GONE);
|
||||||
ll.addView(et);
|
ll.addView(et);
|
||||||
builder.setView(ll);
|
ScrollView scrollView = new ScrollView(this);
|
||||||
|
scrollView.addView(ll);
|
||||||
|
builder.setView(scrollView);
|
||||||
wv.setFocusable(true);
|
wv.setFocusable(true);
|
||||||
wv.setFocusableInTouchMode(true);
|
wv.setFocusableInTouchMode(true);
|
||||||
wv.requestFocus(View.FOCUS_DOWN);
|
wv.requestFocus(View.FOCUS_DOWN);
|
||||||
|
|
|
@ -203,7 +203,8 @@ public class OsMoPlugin extends OsmandPlugin implements MonitoringInfoControlSer
|
||||||
final Drawable srcSignalSmall = map.getResources().getDrawable(R.drawable.mon_osmo_conn_signal_small);
|
final Drawable srcSignalSmall = map.getResources().getDrawable(R.drawable.mon_osmo_conn_signal_small);
|
||||||
final Drawable srcBig = map.getResources().getDrawable(R.drawable.mon_osmo_conn_big);
|
final Drawable srcBig = map.getResources().getDrawable(R.drawable.mon_osmo_conn_big);
|
||||||
final Drawable srcSignalBig = map.getResources().getDrawable(R.drawable.mon_osmo_conn_signal_big);
|
final Drawable srcSignalBig = map.getResources().getDrawable(R.drawable.mon_osmo_conn_signal_big);
|
||||||
final Drawable srcinactive = map.getResources().getDrawable(R.drawable.monitoring_rec_inactive);
|
// final Drawable srcinactive = map.getResources().getDrawable(R.drawable.mon_osmo_inactive);
|
||||||
|
final Drawable srcSignalinactive = map.getResources().getDrawable(R.drawable.mon_osmo_signal_inactive);
|
||||||
final TextInfoWidget osmoControl = new TextInfoWidget(map, 0, paintText, paintSubText) {
|
final TextInfoWidget osmoControl = new TextInfoWidget(map, 0, paintText, paintSubText) {
|
||||||
long lastUpdateTime;
|
long lastUpdateTime;
|
||||||
private Drawable blinkImg;
|
private Drawable blinkImg;
|
||||||
|
@ -227,8 +228,8 @@ public class OsMoPlugin extends OsmandPlugin implements MonitoringInfoControlSer
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Drawable small = srcinactive;
|
Drawable small = srcSignalinactive; //tracker.isEnabledTracker() ? srcSignalinactive : srcinactive;
|
||||||
Drawable big = srcinactive;
|
Drawable big = srcSignalinactive; // tracker.isEnabledTracker() ? srcSignalinactive : srcinactive;
|
||||||
long last = service.getLastCommandTime();
|
long last = service.getLastCommandTime();
|
||||||
if (service.isActive()) {
|
if (service.isActive()) {
|
||||||
small = tracker.isEnabledTracker() ? srcSignalSmall : srcSmall;
|
small = tracker.isEnabledTracker() ? srcSignalSmall : srcSmall;
|
||||||
|
|