public static String _globals() throws Exception { // BA.debugLineNum = 24;BA.debugLine="Sub Globals"; // BA.debugLineNum = 28;BA.debugLine="Private LabelValorAnalogo As Label"; mostCurrent._labelvaloranalogo = new anywheresoftware.b4a.objects.LabelWrapper(); // BA.debugLineNum = 30;BA.debugLine="End Sub"; return ""; }
public void run() { if (afterFirstLayout) return; if (mostCurrent == null) return; if (mostCurrent.layout.getWidth() == 0) { BA.handler.postDelayed(this, 5); return; } mostCurrent.layout.getLayoutParams().height = mostCurrent.layout.getHeight(); mostCurrent.layout.getLayoutParams().width = mostCurrent.layout.getWidth(); afterFirstLayout = true; mostCurrent.afterFirstLayout(); }