1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-22 16:23:09 +02:00

Only include visible views when stepping

This commit is contained in:
Erik Johansson
2018-05-22 17:25:50 +02:00
parent ce41da7761
commit 741c8c0ba4

View File

@@ -413,7 +413,7 @@ public abstract class MeasurementView extends TableLayout {
ViewGroup parent = (ViewGroup) getParent();
for (int i = parent.indexOfChild(this) + 1; i < parent.getChildCount(); ++i) {
MeasurementView next = (MeasurementView) parent.getChildAt(i);
if (next.isEditable()) {
if (next.isVisible() && next.isEditable()) {
return next;
}
}