package com.as.tabmenu;


import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.B4AClass;
import anywheresoftware.b4a.BALayout;
import anywheresoftware.b4a.debug.*;

public class astabmenu extends B4AClass.ImplB4AClass implements BA.SubDelegator{
    private static java.util.HashMap<String, java.lang.reflect.Method> htSubs;
    private void innerInitialize(BA _ba) throws Exception {
        if (ba == null) {
            ba = new anywheresoftware.b4a.ShellBA(_ba, this, htSubs, "com.as.tabmenu.astabmenu");
            if (htSubs == null) {
                ba.loadHtSubs(this.getClass());
                htSubs = ba.htSubs;
            }
            
        }
        if (BA.isShellModeRuntimeCheck(ba)) 
			   this.getClass().getMethod("_class_globals", com.as.tabmenu.astabmenu.class).invoke(this, new Object[] {null});
        else
            ba.raiseEvent2(null, true, "class_globals", false);
    }

 
    public void  innerInitializeHelper(anywheresoftware.b4a.BA _ba) throws Exception{
        innerInitialize(_ba);
    }
    public Object callSub(String sub, Object sender, Object[] args) throws Exception {
        return BA.SubDelegator.SubNotFound;
    }
public static class _tabs{
public boolean IsInitialized;
public String TabText;
public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper Icon;
public Object Tag;
public int Index;
public boolean badge_visible;
public boolean Visible;
public void Initialize() {
IsInitialized = true;
TabText = "";
Icon = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper();
Tag = new Object();
Index = 0;
badge_visible = false;
Visible = false;
}
@Override
		public String toString() {
			return BA.TypeToString(this, false);
		}}
public anywheresoftware.b4a.keywords.Common __c = null;
public String _meventname = "";
public Object _mcallback = null;
public anywheresoftware.b4a.objects.B4XViewWrapper _mbase = null;
public anywheresoftware.b4a.objects.B4XViewWrapper.XUI _xui = null;
public int _underlinewidthbyonlyicon = 0;
public float _txt_height = 0f;
public float _icon_height = 0f;
public float _badge_height = 0f;
public float _texticon_padding = 0f;
public anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _text_font = null;
public int _currenindex = 0;
public int _pl_clr = 0;
public float _pl_width = 0f;
public int _ul_clr = 0;
public float _ul_height = 0f;
public String _g_badge_gravity = "";
public String _g_commitmode = "";
public String _g_orientation = "";
public String _g_tabstyle = "";
public int _g_tabtextcolor = 0;
public boolean _g_partinglinevisible = false;
public boolean _g_currenttabunderline = false;
public String _g_currenttabunderlineanimation = "";
public int _g_currenttabunderlineanimationduration = 0;
public String _g_currenttabunderlinegravity = "";
public boolean _g_enableselectedtabtextcolor = false;
public int _g_selectedtabtextcolor = 0;
public int _g_tabclickcolor = 0;
public boolean _g_tabstripmode = false;
public int _g_haloduration = 0;
public float _g_badgeleftpadding = 0f;
public anywheresoftware.b4a.objects.B4XViewWrapper _xpnl_tabbase = null;
public anywheresoftware.b4a.objects.B4XViewWrapper _xpnl_underline = null;
public float _borderpadding = 0f;
public com.as.tabmenu.main _main = null;
public com.as.tabmenu.starter _starter = null;
public com.as.tabmenu.b4xpages _b4xpages = null;
public com.as.tabmenu.b4xcollections _b4xcollections = null;
public String  _addtab(com.as.tabmenu.astabmenu __ref,int _background_color,String _text,anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _icon,Object _tag) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "addtab", false))
	 {return ((String) Debug.delegate(ba, "addtab", new Object[] {_background_color,_text,_icon,_tag}));}
anywheresoftware.b4a.objects.B4XViewWrapper _xpnl_base = null;
anywheresoftware.b4a.objects.B4XViewWrapper _xlbl_text = null;
anywheresoftware.b4a.objects.B4XViewWrapper _ximg_icon = null;
anywheresoftware.b4a.objects.B4XViewWrapper _xlbl_badge = null;
anywheresoftware.b4a.objects.B4XViewWrapper _xpnl_partingline = null;
RDebugUtils.currentLine=6815744;
 //BA.debugLineNum = 6815744;BA.debugLine="Public Sub AddTab(background_color As Int,text As";
RDebugUtils.currentLine=6815746;
 //BA.debugLineNum = 6815746;BA.debugLine="Dim xpnl_base As B4XView = xui.CreatePanel(\"xpnl_";
_xpnl_base = new anywheresoftware.b4a.objects.B4XViewWrapper();
_xpnl_base = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"xpnl_base");
RDebugUtils.currentLine=6815747;
 //BA.debugLineNum = 6815747;BA.debugLine="xpnl_base.Color = background_color";
_xpnl_base.setColor(_background_color);
RDebugUtils.currentLine=6815749;
 //BA.debugLineNum = 6815749;BA.debugLine="Dim xlbl_text As B4XView = CreateLabel(\"\")";
_xlbl_text = new anywheresoftware.b4a.objects.B4XViewWrapper();
_xlbl_text = __ref._createlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,"");
RDebugUtils.currentLine=6815750;
 //BA.debugLineNum = 6815750;BA.debugLine="Dim ximg_icon As B4XView = CreateImageView(\"\")";
_ximg_icon = new anywheresoftware.b4a.objects.B4XViewWrapper();
_ximg_icon = __ref._createimageview /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,"");
RDebugUtils.currentLine=6815751;
 //BA.debugLineNum = 6815751;BA.debugLine="Dim xlbl_badge As B4XView = CreateLabel(\"\")";
_xlbl_badge = new anywheresoftware.b4a.objects.B4XViewWrapper();
_xlbl_badge = __ref._createlabel /*anywheresoftware.b4a.objects.B4XViewWrapper*/ (null,"");
RDebugUtils.currentLine=6815753;
 //BA.debugLineNum = 6815753;BA.debugLine="xpnl_base.AddView(xlbl_text,0,0,0,0)";
_xpnl_base.AddView((android.view.View)(_xlbl_text.getObject()),(int) (0),(int) (0),(int) (0),(int) (0));
RDebugUtils.currentLine=6815754;
 //BA.debugLineNum = 6815754;BA.debugLine="xpnl_base.AddView(ximg_icon,0,0,0,0)";
_xpnl_base.AddView((android.view.View)(_ximg_icon.getObject()),(int) (0),(int) (0),(int) (0),(int) (0));
RDebugUtils.currentLine=6815755;
 //BA.debugLineNum = 6815755;BA.debugLine="xpnl_base.AddView(xlbl_badge,0,0,0,0)";
_xpnl_base.AddView((android.view.View)(_xlbl_badge.getObject()),(int) (0),(int) (0),(int) (0),(int) (0));
RDebugUtils.currentLine=6815757;
 //BA.debugLineNum = 6815757;BA.debugLine="xlbl_badge.SetColorAndBorder(xlbl_badge.Color,0,0";
_xlbl_badge.SetColorAndBorder(_xlbl_badge.getColor(),(int) (0),(int) (0),(int) (__ref._badge_height /*float*/ /(double)2));
RDebugUtils.currentLine=6815758;
 //BA.debugLineNum = 6815758;BA.debugLine="xlbl_badge.SetTextAlignment(\"CENTER\",\"CENTER\")";
_xlbl_badge.SetTextAlignment("CENTER","CENTER");
RDebugUtils.currentLine=6815759;
 //BA.debugLineNum = 6815759;BA.debugLine="xlbl_badge.Font = xui.CreateDefaultfont(10)";
_xlbl_badge.setFont(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateDefaultFont((float) (10)));
RDebugUtils.currentLine=6815760;
 //BA.debugLineNum = 6815760;BA.debugLine="xlbl_badge.TextColor = xui.Color_White";
_xlbl_badge.setTextColor(__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White);
RDebugUtils.currentLine=6815762;
 //BA.debugLineNum = 6815762;BA.debugLine="xpnl_base.Tag = CreateTabs(text,icon,tag,xpnl_tab";
_xpnl_base.setTag((Object)(__ref._createtabs /*com.as.tabmenu.astabmenu._tabs*/ (null,_text,_icon,_tag,__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getNumberOfViews(),__c.False,__c.True)));
RDebugUtils.currentLine=6815764;
 //BA.debugLineNum = 6815764;BA.debugLine="xpnl_tabbase.AddView(xpnl_base,0,0,0,0)";
__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_xpnl_base.getObject()),(int) (0),(int) (0),(int) (0),(int) (0));
RDebugUtils.currentLine=6815766;
 //BA.debugLineNum = 6815766;BA.debugLine="Dim xpnl_partingline As B4XView = xui.CreatePanel";
_xpnl_partingline = new anywheresoftware.b4a.objects.B4XViewWrapper();
_xpnl_partingline = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"");
RDebugUtils.currentLine=6815767;
 //BA.debugLineNum = 6815767;BA.debugLine="mBase.AddView(xpnl_partingline,0,0,0,0)";
__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(_xpnl_partingline.getObject()),(int) (0),(int) (0),(int) (0),(int) (0));
RDebugUtils.currentLine=6815769;
 //BA.debugLineNum = 6815769;BA.debugLine="Base_Resize(xpnl_tabbase.Width,xpnl_tabbase.Heigh";
__ref._base_resize /*String*/ (null,__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=6815774;
 //BA.debugLineNum = 6815774;BA.debugLine="SetUnderline2NewPos";
__ref._setunderline2newpos /*String*/ (null);
RDebugUtils.currentLine=6815777;
 //BA.debugLineNum = 6815777;BA.debugLine="End Sub";
return "";
}
public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper  _fonttobitmap(com.as.tabmenu.astabmenu __ref,String _text,boolean _ismaterialicons,float _fontsize,int _color) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "fonttobitmap", false))
	 {return ((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) Debug.delegate(ba, "fonttobitmap", new Object[] {_text,_ismaterialicons,_fontsize,_color}));}
anywheresoftware.b4a.objects.B4XViewWrapper _p = null;
anywheresoftware.b4a.objects.B4XCanvas _cvs1 = null;
anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _fnt = null;
anywheresoftware.b4a.objects.B4XCanvas.B4XRect _r = null;
int _baseline = 0;
anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _b = null;
RDebugUtils.currentLine=7274496;
 //BA.debugLineNum = 7274496;BA.debugLine="Public Sub FontToBitmap (text As String, IsMateria";
RDebugUtils.currentLine=7274497;
 //BA.debugLineNum = 7274497;BA.debugLine="Dim xui As XUI";
_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI();
RDebugUtils.currentLine=7274498;
 //BA.debugLineNum = 7274498;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")";
_p = new anywheresoftware.b4a.objects.B4XViewWrapper();
_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"");
RDebugUtils.currentLine=7274499;
 //BA.debugLineNum = 7274499;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, 32dip, 32dip)";
_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),__c.DipToCurrent((int) (32)),__c.DipToCurrent((int) (32)));
RDebugUtils.currentLine=7274500;
 //BA.debugLineNum = 7274500;BA.debugLine="Dim cvs1 As B4XCanvas";
_cvs1 = new anywheresoftware.b4a.objects.B4XCanvas();
RDebugUtils.currentLine=7274501;
 //BA.debugLineNum = 7274501;BA.debugLine="cvs1.Initialize(p)";
_cvs1.Initialize(_p);
RDebugUtils.currentLine=7274502;
 //BA.debugLineNum = 7274502;BA.debugLine="Dim fnt As B4XFont";
_fnt = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont();
RDebugUtils.currentLine=7274503;
 //BA.debugLineNum = 7274503;BA.debugLine="If IsMaterialIcons Then fnt = xui.CreateMaterialI";
if (_ismaterialicons) { 
_fnt = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateMaterialIcons(_fontsize);}
else {
_fnt = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateFontAwesome(_fontsize);};
RDebugUtils.currentLine=7274504;
 //BA.debugLineNum = 7274504;BA.debugLine="Dim r As B4XRect = cvs1.MeasureText(text, fnt)";
_r = _cvs1.MeasureText(_text,_fnt);
RDebugUtils.currentLine=7274505;
 //BA.debugLineNum = 7274505;BA.debugLine="Dim BaseLine As Int = cvs1.TargetRect.CenterY - r";
_baseline = (int) (_cvs1.getTargetRect().getCenterY()-_r.getHeight()/(double)2-_r.getTop());
RDebugUtils.currentLine=7274506;
 //BA.debugLineNum = 7274506;BA.debugLine="cvs1.DrawText(text, cvs1.TargetRect.CenterX, Base";
_cvs1.DrawText(ba,_text,_cvs1.getTargetRect().getCenterX(),(float) (_baseline),_fnt,_color,BA.getEnumFromString(android.graphics.Paint.Align.class,"CENTER"));
RDebugUtils.currentLine=7274507;
 //BA.debugLineNum = 7274507;BA.debugLine="Dim b As B4XBitmap = cvs1.CreateBitmap";
_b = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper();
_b = _cvs1.CreateBitmap();
RDebugUtils.currentLine=7274508;
 //BA.debugLineNum = 7274508;BA.debugLine="cvs1.Release";
_cvs1.Release();
RDebugUtils.currentLine=7274509;
 //BA.debugLineNum = 7274509;BA.debugLine="Return b";
if (true) return _b;
RDebugUtils.currentLine=7274510;
 //BA.debugLineNum = 7274510;BA.debugLine="End Sub";
return null;
}
public String  _badge_setvisibleeasy(com.as.tabmenu.astabmenu __ref,int _index,int _number,int _color) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "badge_setvisibleeasy", false))
	 {return ((String) Debug.delegate(ba, "badge_setvisibleeasy", new Object[] {_index,_number,_color}));}
RDebugUtils.currentLine=3538944;
 //BA.debugLineNum = 3538944;BA.debugLine="Public Sub Badge_setVisibleEasy(index As Int,numbe";
RDebugUtils.currentLine=3538945;
 //BA.debugLineNum = 3538945;BA.debugLine="Badge_setColor(index,color)";
__ref._badge_setcolor /*String*/ (null,_index,_color);
RDebugUtils.currentLine=3538946;
 //BA.debugLineNum = 3538946;BA.debugLine="Badge_setText(index,number)";
__ref._badge_settext /*String*/ (null,_index,_number);
RDebugUtils.currentLine=3538947;
 //BA.debugLineNum = 3538947;BA.debugLine="Badge_setVisible(index,True)";
__ref._badge_setvisible /*String*/ (null,_index,__c.True);
RDebugUtils.currentLine=3538948;
 //BA.debugLineNum = 3538948;BA.debugLine="End Sub";
return "";
}
public String  _setcurrenttabunderlinegravity(com.as.tabmenu.astabmenu __ref,String _underline_gravity) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "setcurrenttabunderlinegravity", false))
	 {return ((String) Debug.delegate(ba, "setcurrenttabunderlinegravity", new Object[] {_underline_gravity}));}
RDebugUtils.currentLine=4456448;
 //BA.debugLineNum = 4456448;BA.debugLine="Public Sub setCurrentTabUnderlineGravity(underline";
RDebugUtils.currentLine=4456449;
 //BA.debugLineNum = 4456449;BA.debugLine="g_CurrentTabUnderlineGravity = underline_gravity";
__ref._g_currenttabunderlinegravity /*String*/  = _underline_gravity;
RDebugUtils.currentLine=4456450;
 //BA.debugLineNum = 4456450;BA.debugLine="SetUnderline2NewPos";
__ref._setunderline2newpos /*String*/ (null);
RDebugUtils.currentLine=4456451;
 //BA.debugLineNum = 4456451;BA.debugLine="If g_commitmode = getCommitMode_AUTOMATIC Then Ba";
if ((__ref._g_commitmode /*String*/ ).equals(__ref._getcommitmode_automatic /*String*/ (null))) { 
__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());};
RDebugUtils.currentLine=4456452;
 //BA.debugLineNum = 4456452;BA.debugLine="End Sub";
return "";
}
public String  _getcurrenttabunderlinegravity_bottomright(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getcurrenttabunderlinegravity_bottomright", false))
	 {return ((String) Debug.delegate(ba, "getcurrenttabunderlinegravity_bottomright", null));}
RDebugUtils.currentLine=2490368;
 //BA.debugLineNum = 2490368;BA.debugLine="Public Sub getCurrentTabUnderlineGravity_BOTTOMRIG";
RDebugUtils.currentLine=2490369;
 //BA.debugLineNum = 2490369;BA.debugLine="Return \"BottomRight\"";
if (true) return "BottomRight";
RDebugUtils.currentLine=2490370;
 //BA.debugLineNum = 2490370;BA.debugLine="End Sub";
return "";
}
public String  _getcurrenttabunderlinegravity_topleft(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getcurrenttabunderlinegravity_topleft", false))
	 {return ((String) Debug.delegate(ba, "getcurrenttabunderlinegravity_topleft", null));}
RDebugUtils.currentLine=2424832;
 //BA.debugLineNum = 2424832;BA.debugLine="Public Sub getCurrentTabUnderlineGravity_TOPLEFT A";
RDebugUtils.currentLine=2424833;
 //BA.debugLineNum = 2424833;BA.debugLine="Return \"TopLeft\"";
if (true) return "TopLeft";
RDebugUtils.currentLine=2424834;
 //BA.debugLineNum = 2424834;BA.debugLine="End Sub";
return "";
}
public String  _commitchanges(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "commitchanges", false))
	 {return ((String) Debug.delegate(ba, "commitchanges", null));}
RDebugUtils.currentLine=1835008;
 //BA.debugLineNum = 1835008;BA.debugLine="Public Sub CommitChanges";
RDebugUtils.currentLine=1835009;
 //BA.debugLineNum = 1835009;BA.debugLine="Base_Resize(mBase.Width,mBase.Height)";
__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=1835010;
 //BA.debugLineNum = 1835010;BA.debugLine="End Sub";
return "";
}
public String  _settabstripmode(com.as.tabmenu.astabmenu __ref,boolean _enable) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "settabstripmode", false))
	 {return ((String) Debug.delegate(ba, "settabstripmode", new Object[] {_enable}));}
RDebugUtils.currentLine=3211264;
 //BA.debugLineNum = 3211264;BA.debugLine="Public Sub setTabStripMode(enable As Boolean)";
RDebugUtils.currentLine=3211265;
 //BA.debugLineNum = 3211265;BA.debugLine="g_TabStripMode = enable";
__ref._g_tabstripmode /*boolean*/  = _enable;
RDebugUtils.currentLine=3211266;
 //BA.debugLineNum = 3211266;BA.debugLine="SetUnderline2NewPos";
__ref._setunderline2newpos /*String*/ (null);
RDebugUtils.currentLine=3211267;
 //BA.debugLineNum = 3211267;BA.debugLine="End Sub";
return "";
}
public String  _setpartinglinevisible(com.as.tabmenu.astabmenu __ref,boolean _visible) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "setpartinglinevisible", false))
	 {return ((String) Debug.delegate(ba, "setpartinglinevisible", new Object[] {_visible}));}
RDebugUtils.currentLine=5505024;
 //BA.debugLineNum = 5505024;BA.debugLine="Public Sub setPartingLineVisible(visible As Boolea";
RDebugUtils.currentLine=5505025;
 //BA.debugLineNum = 5505025;BA.debugLine="g_PartingLineVisible = visible";
__ref._g_partinglinevisible /*boolean*/  = _visible;
RDebugUtils.currentLine=5505026;
 //BA.debugLineNum = 5505026;BA.debugLine="If g_commitmode = getCommitMode_AUTOMATIC Then Ba";
if ((__ref._g_commitmode /*String*/ ).equals(__ref._getcommitmode_automatic /*String*/ (null))) { 
__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());};
RDebugUtils.currentLine=5505027;
 //BA.debugLineNum = 5505027;BA.debugLine="End Sub";
return "";
}
public String  _setcurrenttabunderline(com.as.tabmenu.astabmenu __ref,boolean _show) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "setcurrenttabunderline", false))
	 {return ((String) Debug.delegate(ba, "setcurrenttabunderline", new Object[] {_show}));}
RDebugUtils.currentLine=6356992;
 //BA.debugLineNum = 6356992;BA.debugLine="Public Sub setCurrentTabUnderline(show As Boolean)";
RDebugUtils.currentLine=6356993;
 //BA.debugLineNum = 6356993;BA.debugLine="g_CurrentTabUnderline = show";
__ref._g_currenttabunderline /*boolean*/  = _show;
RDebugUtils.currentLine=6356994;
 //BA.debugLineNum = 6356994;BA.debugLine="xpnl_underline.Visible = show";
__ref._xpnl_underline /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(_show);
RDebugUtils.currentLine=6356995;
 //BA.debugLineNum = 6356995;BA.debugLine="SetUnderline2NewPos";
__ref._setunderline2newpos /*String*/ (null);
RDebugUtils.currentLine=6356996;
 //BA.debugLineNum = 6356996;BA.debugLine="End Sub";
return "";
}
public String  _setcurrenttabunderlineanimation(com.as.tabmenu.astabmenu __ref,String _animation) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "setcurrenttabunderlineanimation", false))
	 {return ((String) Debug.delegate(ba, "setcurrenttabunderlineanimation", new Object[] {_animation}));}
RDebugUtils.currentLine=6225920;
 //BA.debugLineNum = 6225920;BA.debugLine="Public Sub setCurrentTabUnderlineAnimation(animati";
RDebugUtils.currentLine=6225921;
 //BA.debugLineNum = 6225921;BA.debugLine="g_CurrentTabUnderlineAnimation = animation";
__ref._g_currenttabunderlineanimation /*String*/  = _animation;
RDebugUtils.currentLine=6225922;
 //BA.debugLineNum = 6225922;BA.debugLine="End Sub";
return "";
}
public String  _getcurrenttabunderlineanimation_normal(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getcurrenttabunderlineanimation_normal", false))
	 {return ((String) Debug.delegate(ba, "getcurrenttabunderlineanimation_normal", null));}
RDebugUtils.currentLine=2949120;
 //BA.debugLineNum = 2949120;BA.debugLine="Public Sub getCurrentTabUnderlineAnimation_NORMAL";
RDebugUtils.currentLine=2949121;
 //BA.debugLineNum = 2949121;BA.debugLine="Return \"Normal\"";
if (true) return "Normal";
RDebugUtils.currentLine=2949122;
 //BA.debugLineNum = 2949122;BA.debugLine="End Sub";
return "";
}
public String  _setbadge_gravity(com.as.tabmenu.astabmenu __ref,String _badge_gravity) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "setbadge_gravity", false))
	 {return ((String) Debug.delegate(ba, "setbadge_gravity", new Object[] {_badge_gravity}));}
RDebugUtils.currentLine=3407872;
 //BA.debugLineNum = 3407872;BA.debugLine="Public Sub setBadge_Gravity(badge_gravity As Strin";
RDebugUtils.currentLine=3407873;
 //BA.debugLineNum = 3407873;BA.debugLine="g_badge_gravity = badge_gravity";
__ref._g_badge_gravity /*String*/  = _badge_gravity;
RDebugUtils.currentLine=3407874;
 //BA.debugLineNum = 3407874;BA.debugLine="If g_commitmode = getCommitMode_AUTOMATIC Then Ba";
if ((__ref._g_commitmode /*String*/ ).equals(__ref._getcommitmode_automatic /*String*/ (null))) { 
__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());};
RDebugUtils.currentLine=3407875;
 //BA.debugLineNum = 3407875;BA.debugLine="End Sub";
return "";
}
public String  _settabstyle(com.as.tabmenu.astabmenu __ref,String _style) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "settabstyle", false))
	 {return ((String) Debug.delegate(ba, "settabstyle", new Object[] {_style}));}
RDebugUtils.currentLine=6488064;
 //BA.debugLineNum = 6488064;BA.debugLine="Public Sub setTabStyle(style As String)";
RDebugUtils.currentLine=6488065;
 //BA.debugLineNum = 6488065;BA.debugLine="g_TabStyle = style";
__ref._g_tabstyle /*String*/  = _style;
RDebugUtils.currentLine=6488066;
 //BA.debugLineNum = 6488066;BA.debugLine="Base_Resize(xpnl_tabbase.Width,xpnl_tabbase.Heigh";
__ref._base_resize /*String*/ (null,__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=6488067;
 //BA.debugLineNum = 6488067;BA.debugLine="SetUnderline2NewPos";
__ref._setunderline2newpos /*String*/ (null);
RDebugUtils.currentLine=6488068;
 //BA.debugLineNum = 6488068;BA.debugLine="End Sub";
return "";
}
public anywheresoftware.b4a.objects.B4XViewWrapper  _createlabel(com.as.tabmenu.astabmenu __ref,String _eventname) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "createlabel", false))
	 {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "createlabel", new Object[] {_eventname}));}
anywheresoftware.b4a.objects.LabelWrapper _tmp_lbl = null;
anywheresoftware.b4a.agraham.reflection.Reflection _r = null;
RDebugUtils.currentLine=7405568;
 //BA.debugLineNum = 7405568;BA.debugLine="Private Sub CreateLabel(EventName As String) As B4";
RDebugUtils.currentLine=7405569;
 //BA.debugLineNum = 7405569;BA.debugLine="Dim tmp_lbl As Label";
_tmp_lbl = new anywheresoftware.b4a.objects.LabelWrapper();
RDebugUtils.currentLine=7405570;
 //BA.debugLineNum = 7405570;BA.debugLine="tmp_lbl.Initialize(EventName)";
_tmp_lbl.Initialize(ba,_eventname);
RDebugUtils.currentLine=7405572;
 //BA.debugLineNum = 7405572;BA.debugLine="Dim r As Reflector";
_r = new anywheresoftware.b4a.agraham.reflection.Reflection();
RDebugUtils.currentLine=7405573;
 //BA.debugLineNum = 7405573;BA.debugLine="r.Target = tmp_lbl";
_r.Target = (Object)(_tmp_lbl.getObject());
RDebugUtils.currentLine=7405574;
 //BA.debugLineNum = 7405574;BA.debugLine="r.RunMethod2(\"setSingleLine\", True, \"java.lang.bo";
_r.RunMethod2("setSingleLine",BA.ObjectToString(__c.True),"java.lang.boolean");
RDebugUtils.currentLine=7405575;
 //BA.debugLineNum = 7405575;BA.debugLine="r.RunMethod2(\"setEllipsize\", \"END\", \"android.text";
_r.RunMethod2("setEllipsize","END","android.text.TextUtils$TruncateAt");
RDebugUtils.currentLine=7405577;
 //BA.debugLineNum = 7405577;BA.debugLine="Return tmp_lbl";
if (true) return (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_tmp_lbl.getObject()));
RDebugUtils.currentLine=7405578;
 //BA.debugLineNum = 7405578;BA.debugLine="End Sub";
return null;
}
public anywheresoftware.b4a.objects.B4XViewWrapper  _createimageview(com.as.tabmenu.astabmenu __ref,String _eventname) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "createimageview", false))
	 {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "createimageview", new Object[] {_eventname}));}
anywheresoftware.b4a.objects.ImageViewWrapper _tmp_imageview = null;
RDebugUtils.currentLine=7471104;
 //BA.debugLineNum = 7471104;BA.debugLine="Private Sub CreateImageView(EventName As String) A";
RDebugUtils.currentLine=7471105;
 //BA.debugLineNum = 7471105;BA.debugLine="Dim tmp_imageview As ImageView";
_tmp_imageview = new anywheresoftware.b4a.objects.ImageViewWrapper();
RDebugUtils.currentLine=7471106;
 //BA.debugLineNum = 7471106;BA.debugLine="tmp_imageview.Initialize(EventName)";
_tmp_imageview.Initialize(ba,_eventname);
RDebugUtils.currentLine=7471107;
 //BA.debugLineNum = 7471107;BA.debugLine="Return tmp_imageview";
if (true) return (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_tmp_imageview.getObject()));
RDebugUtils.currentLine=7471108;
 //BA.debugLineNum = 7471108;BA.debugLine="End Sub";
return null;
}
public com.as.tabmenu.astabmenu._tabs  _createtabs(com.as.tabmenu.astabmenu __ref,String _tabtext,anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _icon,Object _tag,int _index,boolean _badge_visible,boolean _visible) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "createtabs", false))
	 {return ((com.as.tabmenu.astabmenu._tabs) Debug.delegate(ba, "createtabs", new Object[] {_tabtext,_icon,_tag,_index,_badge_visible,_visible}));}
com.as.tabmenu.astabmenu._tabs _t1 = null;
RDebugUtils.currentLine=7340032;
 //BA.debugLineNum = 7340032;BA.debugLine="Private Sub CreateTabs (TabText As String, Icon As";
RDebugUtils.currentLine=7340033;
 //BA.debugLineNum = 7340033;BA.debugLine="Dim t1 As Tabs";
_t1 = new com.as.tabmenu.astabmenu._tabs();
RDebugUtils.currentLine=7340034;
 //BA.debugLineNum = 7340034;BA.debugLine="t1.Initialize";
_t1.Initialize();
RDebugUtils.currentLine=7340035;
 //BA.debugLineNum = 7340035;BA.debugLine="t1.TabText = TabText";
_t1.TabText /*String*/  = _tabtext;
RDebugUtils.currentLine=7340036;
 //BA.debugLineNum = 7340036;BA.debugLine="t1.Icon = Icon";
_t1.Icon /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/  = _icon;
RDebugUtils.currentLine=7340037;
 //BA.debugLineNum = 7340037;BA.debugLine="t1.Tag = Tag";
_t1.Tag /*Object*/  = _tag;
RDebugUtils.currentLine=7340038;
 //BA.debugLineNum = 7340038;BA.debugLine="t1.index = index";
_t1.Index /*int*/  = _index;
RDebugUtils.currentLine=7340039;
 //BA.debugLineNum = 7340039;BA.debugLine="t1.badge_visible = badge_visible";
_t1.badge_visible /*boolean*/  = _badge_visible;
RDebugUtils.currentLine=7340040;
 //BA.debugLineNum = 7340040;BA.debugLine="t1.Visible = visible";
_t1.Visible /*boolean*/  = _visible;
RDebugUtils.currentLine=7340041;
 //BA.debugLineNum = 7340041;BA.debugLine="Return t1";
if (true) return _t1;
RDebugUtils.currentLine=7340042;
 //BA.debugLineNum = 7340042;BA.debugLine="End Sub";
return null;
}
public String  _base_resize(com.as.tabmenu.astabmenu __ref,double _width,double _height) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "base_resize", false))
	 {return ((String) Debug.delegate(ba, "base_resize", new Object[] {_width,_height}));}
float _scale = 0f;
boolean _ishorizontal = false;
int _tmp_counter = 0;
boolean _tmp_texticoncenter = false;
int _i = 0;
com.as.tabmenu.astabmenu._tabs _tmp_tab = null;
int _tmp_index = 0;
anywheresoftware.b4a.objects.B4XViewWrapper _xpnl_base = null;
anywheresoftware.b4a.objects.B4XViewWrapper _xlbl_text = null;
anywheresoftware.b4a.objects.B4XViewWrapper _ximg_icon = null;
anywheresoftware.b4a.objects.B4XViewWrapper _xpnl_partingline = null;
anywheresoftware.b4a.objects.B4XViewWrapper _xlbl_badge = null;
RDebugUtils.currentLine=1638400;
 //BA.debugLineNum = 1638400;BA.debugLine="Private Sub Base_Resize (Width As Double, Height A";
RDebugUtils.currentLine=1638401;
 //BA.debugLineNum = 1638401;BA.debugLine="Dim scale As Float = 1";
_scale = (float) (1);
RDebugUtils.currentLine=1638405;
 //BA.debugLineNum = 1638405;BA.debugLine="If Width > Height Then";
if (_width>_height) { 
RDebugUtils.currentLine=1638407;
 //BA.debugLineNum = 1638407;BA.debugLine="SetCircleClip(mBase,Height/2)";
__ref._setcircleclip /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,(int) (_height/(double)2));
RDebugUtils.currentLine=1638408;
 //BA.debugLineNum = 1638408;BA.debugLine="SetCircleClip(xpnl_tabbase,Height/2)";
__ref._setcircleclip /*String*/ (null,__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,(int) (_height/(double)2));
 }else {
RDebugUtils.currentLine=1638412;
 //BA.debugLineNum = 1638412;BA.debugLine="SetCircleClip(mBase,Width/2)";
__ref._setcircleclip /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,(int) (_width/(double)2));
RDebugUtils.currentLine=1638413;
 //BA.debugLineNum = 1638413;BA.debugLine="SetCircleClip(xpnl_tabbase,Width/2)";
__ref._setcircleclip /*String*/ (null,__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ,(int) (_width/(double)2));
 };
RDebugUtils.currentLine=1638416;
 //BA.debugLineNum = 1638416;BA.debugLine="xpnl_tabbase.SetLayoutAnimated(0,0 + BorderPaddin";
__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated((int) (0),(int) (0+__ref._borderpadding /*float*/ ),(int) (0+__ref._borderpadding /*float*/ ),(int) (_width-__ref._borderpadding /*float*/ *2),(int) (_height-__ref._borderpadding /*float*/ *2));
RDebugUtils.currentLine=1638418;
 //BA.debugLineNum = 1638418;BA.debugLine="Dim isHorizontal As Boolean = False";
_ishorizontal = __c.False;
RDebugUtils.currentLine=1638419;
 //BA.debugLineNum = 1638419;BA.debugLine="If GetOrientation(g_orientation) = getOrientation";
if ((__ref._getorientation /*String*/ (null,__ref._g_orientation /*String*/ )).equals(__ref._getorientation_horizontal /*String*/ (null))) { 
RDebugUtils.currentLine=1638420;
 //BA.debugLineNum = 1638420;BA.debugLine="isHorizontal = True";
_ishorizontal = __c.True;
 };
RDebugUtils.currentLine=1638423;
 //BA.debugLineNum = 1638423;BA.debugLine="xpnl_underline.Visible = g_CurrentTabUnderline";
__ref._xpnl_underline /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .setVisible(__ref._g_currenttabunderline /*boolean*/ );
RDebugUtils.currentLine=1638426;
 //BA.debugLineNum = 1638426;BA.debugLine="Dim tmp_counter As Int = 0";
_tmp_counter = (int) (0);
RDebugUtils.currentLine=1638427;
 //BA.debugLineNum = 1638427;BA.debugLine="Dim tmp_TextIconCenter As Boolean = False";
_tmp_texticoncenter = __c.False;
RDebugUtils.currentLine=1638428;
 //BA.debugLineNum = 1638428;BA.debugLine="For i = 0 To xpnl_tabbase.NumberOfViews -1";
{
final int step17 = 1;
final int limit17 = (int) (__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getNumberOfViews()-1);
_i = (int) (0) ;
for (;_i <= limit17 ;_i = _i + step17 ) {
RDebugUtils.currentLine=1638429;
 //BA.debugLineNum = 1638429;BA.debugLine="Dim tmp_tab As Tabs = xpnl_tabbase.GetView(i).Ta";
_tmp_tab = (com.as.tabmenu.astabmenu._tabs)(__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_i).getTag());
RDebugUtils.currentLine=1638430;
 //BA.debugLineNum = 1638430;BA.debugLine="If tmp_tab.Visible = True Then";
if (_tmp_tab.Visible /*boolean*/ ==__c.True) { 
RDebugUtils.currentLine=1638431;
 //BA.debugLineNum = 1638431;BA.debugLine="tmp_counter = tmp_counter +1";
_tmp_counter = (int) (_tmp_counter+1);
 };
RDebugUtils.currentLine=1638433;
 //BA.debugLineNum = 1638433;BA.debugLine="If g_TabStyle = \"TextIcon\" And (tmp_tab.Icon.IsI";
if ((__ref._g_tabstyle /*String*/ ).equals("TextIcon") && (_tmp_tab.Icon /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .IsInitialized()==__c.False || (_tmp_tab.TabText /*String*/ ).equals(""))) { 
RDebugUtils.currentLine=1638434;
 //BA.debugLineNum = 1638434;BA.debugLine="tmp_TextIconCenter = True";
_tmp_texticoncenter = __c.True;
 };
 }
};
RDebugUtils.currentLine=1638439;
 //BA.debugLineNum = 1638439;BA.debugLine="Dim tmp_index As Int = -1";
_tmp_index = (int) (-1);
RDebugUtils.currentLine=1638440;
 //BA.debugLineNum = 1638440;BA.debugLine="For i = 0 To xpnl_tabbase.NumberOfViews -1";
{
final int step27 = 1;
final int limit27 = (int) (__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getNumberOfViews()-1);
_i = (int) (0) ;
for (;_i <= limit27 ;_i = _i + step27 ) {
RDebugUtils.currentLine=1638441;
 //BA.debugLineNum = 1638441;BA.debugLine="Dim xpnl_base As B4XView = xpnl_tabbase.GetView(";
_xpnl_base = new anywheresoftware.b4a.objects.B4XViewWrapper();
_xpnl_base = __ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_i);
RDebugUtils.currentLine=1638443;
 //BA.debugLineNum = 1638443;BA.debugLine="Dim tmp_tab As Tabs = xpnl_base.Tag";
_tmp_tab = (com.as.tabmenu.astabmenu._tabs)(_xpnl_base.getTag());
RDebugUtils.currentLine=1638444;
 //BA.debugLineNum = 1638444;BA.debugLine="Dim xlbl_text As B4XView = xpnl_base.GetView(0)";
_xlbl_text = new anywheresoftware.b4a.objects.B4XViewWrapper();
_xlbl_text = _xpnl_base.GetView((int) (0));
RDebugUtils.currentLine=1638445;
 //BA.debugLineNum = 1638445;BA.debugLine="Dim ximg_icon As B4XView = xpnl_base.GetView(1)";
_ximg_icon = new anywheresoftware.b4a.objects.B4XViewWrapper();
_ximg_icon = _xpnl_base.GetView((int) (1));
RDebugUtils.currentLine=1638447;
 //BA.debugLineNum = 1638447;BA.debugLine="If tmp_tab.Visible = True Then";
if (_tmp_tab.Visible /*boolean*/ ==__c.True) { 
RDebugUtils.currentLine=1638448;
 //BA.debugLineNum = 1638448;BA.debugLine="tmp_index = tmp_index +1";
_tmp_index = (int) (_tmp_index+1);
RDebugUtils.currentLine=1638449;
 //BA.debugLineNum = 1638449;BA.debugLine="If isHorizontal = True Then";
if (_ishorizontal==__c.True) { 
RDebugUtils.currentLine=1638451;
 //BA.debugLineNum = 1638451;BA.debugLine="xpnl_base.SetLayoutAnimated(0,(xpnl_tabbase.Wi";
_xpnl_base.SetLayoutAnimated((int) (0),(int) ((__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)_tmp_counter)*_tmp_index),(int) (0),(int) (__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)_tmp_counter),__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
 }else {
RDebugUtils.currentLine=1638454;
 //BA.debugLineNum = 1638454;BA.debugLine="xpnl_base.SetLayoutAnimated(0,0,(xpnl_tabbase.";
_xpnl_base.SetLayoutAnimated((int) (0),(int) (0),(int) ((__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)_tmp_counter)*_tmp_index),__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),(int) (__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)_tmp_counter));
 };
 }else {
RDebugUtils.currentLine=1638457;
 //BA.debugLineNum = 1638457;BA.debugLine="xpnl_base.Width = 0";
_xpnl_base.setWidth((int) (0));
 };
RDebugUtils.currentLine=1638460;
 //BA.debugLineNum = 1638460;BA.debugLine="mBase.GetView(tmp_tab.index + 2).Visible = g_Par";
__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView((int) (_tmp_tab.Index /*int*/ +2)).setVisible(__ref._g_partinglinevisible /*boolean*/ );
RDebugUtils.currentLine=1638461;
 //BA.debugLineNum = 1638461;BA.debugLine="If g_PartingLineVisible = True  Then";
if (__ref._g_partinglinevisible /*boolean*/ ==__c.True) { 
RDebugUtils.currentLine=1638462;
 //BA.debugLineNum = 1638462;BA.debugLine="Dim xpnl_partingline As B4XView = mBase.GetView";
_xpnl_partingline = new anywheresoftware.b4a.objects.B4XViewWrapper();
_xpnl_partingline = __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView((int) (_tmp_tab.Index /*int*/ +2));
RDebugUtils.currentLine=1638464;
 //BA.debugLineNum = 1638464;BA.debugLine="If isHorizontal = True Then";
if (_ishorizontal==__c.True) { 
RDebugUtils.currentLine=1638465;
 //BA.debugLineNum = 1638465;BA.debugLine="xpnl_partingline.SetLayoutAnimated(0,xpnl_base";
_xpnl_partingline.SetLayoutAnimated((int) (0),(int) (_xpnl_base.getLeft()+_xpnl_base.getWidth()-__ref._pl_width /*float*/ /(double)2),(int) (_xpnl_base.getHeight()/(double)2-_xpnl_base.getHeight()/(double)4),(int) (__ref._pl_width /*float*/ ),(int) (_xpnl_base.getHeight()/(double)2));
 }else {
RDebugUtils.currentLine=1638467;
 //BA.debugLineNum = 1638467;BA.debugLine="xpnl_partingline.SetLayoutAnimated(0,xpnl_base";
_xpnl_partingline.SetLayoutAnimated((int) (0),(int) (_xpnl_base.getWidth()/(double)2-_xpnl_base.getWidth()/(double)4),(int) (_xpnl_base.getTop()+_xpnl_base.getHeight()-__ref._pl_width /*float*/ /(double)2),(int) (_xpnl_base.getWidth()/(double)2),(int) (__ref._pl_width /*float*/ ));
 };
RDebugUtils.currentLine=1638470;
 //BA.debugLineNum = 1638470;BA.debugLine="xpnl_partingline.SetColorAndBorder(pl_clr,0,0,x";
_xpnl_partingline.SetColorAndBorder(__ref._pl_clr /*int*/ ,(int) (0),(int) (0),(int) (_xpnl_partingline.getHeight()/(double)2));
RDebugUtils.currentLine=1638471;
 //BA.debugLineNum = 1638471;BA.debugLine="If tmp_tab.index = xpnl_tabbase.NumberOfViews -";
if (_tmp_tab.Index /*int*/ ==__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getNumberOfViews()-1) { 
RDebugUtils.currentLine=1638472;
 //BA.debugLineNum = 1638472;BA.debugLine="xpnl_partingline.Visible = False";
_xpnl_partingline.setVisible(__c.False);
 };
 };
RDebugUtils.currentLine=1638476;
 //BA.debugLineNum = 1638476;BA.debugLine="Dim xlbl_badge As B4XView = xpnl_base.GetView(2)";
_xlbl_badge = new anywheresoftware.b4a.objects.B4XViewWrapper();
_xlbl_badge = _xpnl_base.GetView((int) (2));
RDebugUtils.currentLine=1638477;
 //BA.debugLineNum = 1638477;BA.debugLine="xlbl_badge.Visible = tmp_tab.badge_visible";
_xlbl_badge.setVisible(_tmp_tab.badge_visible /*boolean*/ );
RDebugUtils.currentLine=1638479;
 //BA.debugLineNum = 1638479;BA.debugLine="If g_TabStyle = \"Text\" Then 'only Text";
if ((__ref._g_tabstyle /*String*/ ).equals("Text")) { 
RDebugUtils.currentLine=1638481;
 //BA.debugLineNum = 1638481;BA.debugLine="xlbl_text.Visible = True";
_xlbl_text.setVisible(__c.True);
RDebugUtils.currentLine=1638482;
 //BA.debugLineNum = 1638482;BA.debugLine="ximg_icon.Visible = False";
_ximg_icon.setVisible(__c.False);
RDebugUtils.currentLine=1638484;
 //BA.debugLineNum = 1638484;BA.debugLine="xlbl_text.Text = tmp_tab.TabText";
_xlbl_text.setText(BA.ObjectToCharSequence(_tmp_tab.TabText /*String*/ ));
RDebugUtils.currentLine=1638485;
 //BA.debugLineNum = 1638485;BA.debugLine="xlbl_text.SetTextAlignment(\"CENTER\",\"CENTER\")";
_xlbl_text.SetTextAlignment("CENTER","CENTER");
RDebugUtils.currentLine=1638486;
 //BA.debugLineNum = 1638486;BA.debugLine="If CurrenIndex = tmp_tab.index Then";
if (__ref._currenindex /*int*/ ==_tmp_tab.Index /*int*/ ) { 
RDebugUtils.currentLine=1638487;
 //BA.debugLineNum = 1638487;BA.debugLine="xlbl_text.TextColor = g_SelectedTabTextColor";
_xlbl_text.setTextColor(__ref._g_selectedtabtextcolor /*int*/ );
 }else {
RDebugUtils.currentLine=1638489;
 //BA.debugLineNum = 1638489;BA.debugLine="xlbl_text.TextColor = g_TabTextColor";
_xlbl_text.setTextColor(__ref._g_tabtextcolor /*int*/ );
 };
RDebugUtils.currentLine=1638492;
 //BA.debugLineNum = 1638492;BA.debugLine="xlbl_text.Font = text_font";
_xlbl_text.setFont(__ref._text_font /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ );
RDebugUtils.currentLine=1638494;
 //BA.debugLineNum = 1638494;BA.debugLine="xlbl_text.SetLayoutAnimated(0,0,xpnl_base.Heigh";
_xlbl_text.SetLayoutAnimated((int) (0),(int) (0),(int) (_xpnl_base.getHeight()/(double)2-__ref._txt_height /*float*/ /(double)2),_xpnl_base.getWidth(),(int) (__ref._txt_height /*float*/ ));
RDebugUtils.currentLine=1638497;
 //BA.debugLineNum = 1638497;BA.debugLine="If tmp_tab.badge_visible = True Then";
if (_tmp_tab.badge_visible /*boolean*/ ==__c.True) { 
RDebugUtils.currentLine=1638498;
 //BA.debugLineNum = 1638498;BA.debugLine="If g_CurrentTabUnderlineGravity = getCurrentTa";
if ((__ref._g_currenttabunderlinegravity /*String*/ ).equals(__ref._getcurrenttabunderlinegravity_topleft /*String*/ (null)) && (__ref._getorientation /*String*/ (null,__ref._g_orientation /*String*/ )).equals(__ref._getorientation_horizontal /*String*/ (null))) { 
RDebugUtils.currentLine=1638499;
 //BA.debugLineNum = 1638499;BA.debugLine="xlbl_badge.SetLayoutAnimated(0,xlbl_text.Widt";
_xlbl_badge.SetLayoutAnimated((int) (0),(int) (_xlbl_text.getWidth()/(double)2-__ref._badge_height /*float*/ /(double)2+__ref._g_badgeleftpadding /*float*/ ),(int) (_xlbl_text.getTop()+_xlbl_text.getHeight()),(int) (__ref._badge_height /*float*/ ),(int) (__ref._badge_height /*float*/ ));
 }else {
RDebugUtils.currentLine=1638501;
 //BA.debugLineNum = 1638501;BA.debugLine="xlbl_badge.SetLayoutAnimated(0,xlbl_text.Widt";
_xlbl_badge.SetLayoutAnimated((int) (0),(int) (_xlbl_text.getWidth()/(double)2-__ref._badge_height /*float*/ /(double)2+__ref._g_badgeleftpadding /*float*/ ),(int) (_xlbl_text.getTop()-__ref._badge_height /*float*/ ),(int) (__ref._badge_height /*float*/ ),(int) (__ref._badge_height /*float*/ ));
 };
 };
 }else 
{RDebugUtils.currentLine=1638505;
 //BA.debugLineNum = 1638505;BA.debugLine="Else If g_TabStyle = \"Icon\" Then 'only Icon";
if ((__ref._g_tabstyle /*String*/ ).equals("Icon")) { 
RDebugUtils.currentLine=1638507;
 //BA.debugLineNum = 1638507;BA.debugLine="xlbl_text.Visible = False";
_xlbl_text.setVisible(__c.False);
RDebugUtils.currentLine=1638508;
 //BA.debugLineNum = 1638508;BA.debugLine="ximg_icon.Visible = True";
_ximg_icon.setVisible(__c.True);
RDebugUtils.currentLine=1638510;
 //BA.debugLineNum = 1638510;BA.debugLine="ximg_icon.SetLayoutAnimated(0,xpnl_base.Width/2";
_ximg_icon.SetLayoutAnimated((int) (0),(int) (_xpnl_base.getWidth()/(double)2-__ref._icon_height /*float*/ /(double)2),(int) (_xpnl_base.getHeight()/(double)2-__ref._icon_height /*float*/ /(double)2),(int) (__ref._icon_height /*float*/ ),(int) (__ref._icon_height /*float*/ ));
RDebugUtils.currentLine=1638513;
 //BA.debugLineNum = 1638513;BA.debugLine="If CurrenIndex = tmp_tab.index Then";
if (__ref._currenindex /*int*/ ==_tmp_tab.Index /*int*/ ) { 
RDebugUtils.currentLine=1638515;
 //BA.debugLineNum = 1638515;BA.debugLine="If tmp_tab.Icon.IsInitialized Then ximg_icon.S";
if (_tmp_tab.Icon /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .IsInitialized()) { 
_ximg_icon.SetBitmap((android.graphics.Bitmap)(_tmp_tab.Icon /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .Resize((int) (_ximg_icon.getWidth()*_scale),(int) (_ximg_icon.getHeight()*_scale),__c.True).getObject()));};
RDebugUtils.currentLine=1638516;
 //BA.debugLineNum = 1638516;BA.debugLine="TintBmp(ximg_icon,g_SelectedTabTextColor)";
__ref._tintbmp /*String*/ (null,(anywheresoftware.b4a.objects.ImageViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ImageViewWrapper(), (android.widget.ImageView)(_ximg_icon.getObject())),__ref._g_selectedtabtextcolor /*int*/ );
 }else {
RDebugUtils.currentLine=1638519;
 //BA.debugLineNum = 1638519;BA.debugLine="If tmp_tab.Icon.IsInitialized Then ximg_icon.S";
if (_tmp_tab.Icon /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .IsInitialized()) { 
_ximg_icon.SetBitmap((android.graphics.Bitmap)(_tmp_tab.Icon /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .Resize((int) (_ximg_icon.getWidth()*_scale),(int) (_ximg_icon.getHeight()*_scale),__c.True).getObject()));};
RDebugUtils.currentLine=1638520;
 //BA.debugLineNum = 1638520;BA.debugLine="TintBmp(ximg_icon,g_TabTextColor)";
__ref._tintbmp /*String*/ (null,(anywheresoftware.b4a.objects.ImageViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ImageViewWrapper(), (android.widget.ImageView)(_ximg_icon.getObject())),__ref._g_tabtextcolor /*int*/ );
 };
RDebugUtils.currentLine=1638523;
 //BA.debugLineNum = 1638523;BA.debugLine="If tmp_tab.badge_visible = True Then";
if (_tmp_tab.badge_visible /*boolean*/ ==__c.True) { 
RDebugUtils.currentLine=1638524;
 //BA.debugLineNum = 1638524;BA.debugLine="If g_badge_gravity = getBadge_MIDDLELEFT Then";
if ((__ref._g_badge_gravity /*String*/ ).equals(__ref._getbadge_middleleft /*String*/ (null))) { 
RDebugUtils.currentLine=1638525;
 //BA.debugLineNum = 1638525;BA.debugLine="xlbl_badge.SetLayoutAnimated(0,xpnl_base.Widt";
_xlbl_badge.SetLayoutAnimated((int) (0),(int) (_xpnl_base.getWidth()/(double)2-__ref._icon_height /*float*/ /(double)1.2+__ref._g_badgeleftpadding /*float*/ ),(int) (_xpnl_base.getHeight()/(double)2),(int) (__ref._badge_height /*float*/ ),(int) (__ref._badge_height /*float*/ ));
 }else 
{RDebugUtils.currentLine=1638526;
 //BA.debugLineNum = 1638526;BA.debugLine="else If g_badge_gravity = getBadge_TOPLEFT The";
if ((__ref._g_badge_gravity /*String*/ ).equals(__ref._getbadge_topleft /*String*/ (null))) { 
RDebugUtils.currentLine=1638527;
 //BA.debugLineNum = 1638527;BA.debugLine="xlbl_badge.SetLayoutAnimated(0,xpnl_base.Widt";
_xlbl_badge.SetLayoutAnimated((int) (0),(int) (_xpnl_base.getWidth()/(double)2-__ref._icon_height /*float*/ /(double)1.2+__ref._g_badgeleftpadding /*float*/ ),(int) (_ximg_icon.getTop()-__ref._badge_height /*float*/ /(double)2),(int) (__ref._badge_height /*float*/ ),(int) (__ref._badge_height /*float*/ ));
 }else 
{RDebugUtils.currentLine=1638528;
 //BA.debugLineNum = 1638528;BA.debugLine="else If g_badge_gravity = getBadge_TOPMIDDLE T";
if ((__ref._g_badge_gravity /*String*/ ).equals(__ref._getbadge_topmiddle /*String*/ (null))) { 
RDebugUtils.currentLine=1638529;
 //BA.debugLineNum = 1638529;BA.debugLine="xlbl_badge.SetLayoutAnimated(0,xpnl_base.Widt";
_xlbl_badge.SetLayoutAnimated((int) (0),(int) (_xpnl_base.getWidth()/(double)2-__ref._badge_height /*float*/ /(double)2+__ref._g_badgeleftpadding /*float*/ ),(int) (_ximg_icon.getTop()-__ref._badge_height /*float*/ /(double)2),(int) (__ref._badge_height /*float*/ ),(int) (__ref._badge_height /*float*/ ));
 }else 
{RDebugUtils.currentLine=1638530;
 //BA.debugLineNum = 1638530;BA.debugLine="else If g_badge_gravity = getBadge_TOPRIGHT Th";
if ((__ref._g_badge_gravity /*String*/ ).equals(__ref._getbadge_topright /*String*/ (null))) { 
RDebugUtils.currentLine=1638531;
 //BA.debugLineNum = 1638531;BA.debugLine="xlbl_badge.SetLayoutAnimated(0,xpnl_base.Widt";
_xlbl_badge.SetLayoutAnimated((int) (0),(int) (_xpnl_base.getWidth()/(double)2+__ref._icon_height /*float*/ /(double)1.2-__ref._badge_height /*float*/ +__ref._g_badgeleftpadding /*float*/ ),(int) (_ximg_icon.getTop()-__ref._badge_height /*float*/ /(double)2),(int) (__ref._badge_height /*float*/ ),(int) (__ref._badge_height /*float*/ ));
 }else {
RDebugUtils.currentLine=1638533;
 //BA.debugLineNum = 1638533;BA.debugLine="xlbl_badge.SetLayoutAnimated(0,xpnl_base.Widt";
_xlbl_badge.SetLayoutAnimated((int) (0),(int) (_xpnl_base.getWidth()/(double)2+__ref._icon_height /*float*/ /(double)1.2-__ref._badge_height /*float*/ +__ref._g_badgeleftpadding /*float*/ ),(int) (_xpnl_base.getHeight()/(double)2),(int) (__ref._badge_height /*float*/ ),(int) (__ref._badge_height /*float*/ ));
 }}}}
;
 };
 }else 
{RDebugUtils.currentLine=1638538;
 //BA.debugLineNum = 1638538;BA.debugLine="Else If g_TabStyle = \"TextIcon\" Then 'text and i";
if ((__ref._g_tabstyle /*String*/ ).equals("TextIcon")) { 
RDebugUtils.currentLine=1638540;
 //BA.debugLineNum = 1638540;BA.debugLine="xlbl_text.Visible = True";
_xlbl_text.setVisible(__c.True);
RDebugUtils.currentLine=1638541;
 //BA.debugLineNum = 1638541;BA.debugLine="ximg_icon.Visible = True";
_ximg_icon.setVisible(__c.True);
RDebugUtils.currentLine=1638543;
 //BA.debugLineNum = 1638543;BA.debugLine="xlbl_text.Text = tmp_tab.TabText";
_xlbl_text.setText(BA.ObjectToCharSequence(_tmp_tab.TabText /*String*/ ));
RDebugUtils.currentLine=1638544;
 //BA.debugLineNum = 1638544;BA.debugLine="xlbl_text.SetTextAlignment(\"TOP\",\"CENTER\")";
_xlbl_text.SetTextAlignment("TOP","CENTER");
RDebugUtils.currentLine=1638545;
 //BA.debugLineNum = 1638545;BA.debugLine="xlbl_text.Font = text_font";
_xlbl_text.setFont(__ref._text_font /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/ );
RDebugUtils.currentLine=1638547;
 //BA.debugLineNum = 1638547;BA.debugLine="If tmp_TextIconCenter = False Then";
if (_tmp_texticoncenter==__c.False) { 
RDebugUtils.currentLine=1638548;
 //BA.debugLineNum = 1638548;BA.debugLine="If isHorizontal = True Then";
if (_ishorizontal==__c.True) { 
RDebugUtils.currentLine=1638549;
 //BA.debugLineNum = 1638549;BA.debugLine="xlbl_text.SetLayoutAnimated(0,0,xpnl_base.Hei";
_xlbl_text.SetLayoutAnimated((int) (0),(int) (0),(int) (_xpnl_base.getHeight()/(double)2),_xpnl_base.getWidth(),(int) (__ref._txt_height /*float*/ ));
RDebugUtils.currentLine=1638550;
 //BA.debugLineNum = 1638550;BA.debugLine="ximg_icon.SetLayoutAnimated(0,xpnl_base.Width";
_ximg_icon.SetLayoutAnimated((int) (0),(int) (_xpnl_base.getWidth()/(double)2-__ref._icon_height /*float*/ /(double)2),(int) (_xpnl_base.getHeight()/(double)2-__ref._icon_height /*float*/ /(double)__ref._texticon_padding /*float*/ ),(int) (__ref._icon_height /*float*/ ),(int) (__ref._icon_height /*float*/ ));
 }else {
RDebugUtils.currentLine=1638552;
 //BA.debugLineNum = 1638552;BA.debugLine="xlbl_text.SetLayoutAnimated(0,0,xpnl_base.Hei";
_xlbl_text.SetLayoutAnimated((int) (0),(int) (0),(int) (_xpnl_base.getHeight()/(double)2),_xpnl_base.getWidth(),(int) (__ref._txt_height /*float*/ ));
RDebugUtils.currentLine=1638553;
 //BA.debugLineNum = 1638553;BA.debugLine="ximg_icon.SetLayoutAnimated(0,xpnl_base.Width";
_ximg_icon.SetLayoutAnimated((int) (0),(int) (_xpnl_base.getWidth()/(double)2-__ref._icon_height /*float*/ /(double)2),(int) (_xpnl_base.getHeight()/(double)2-__ref._icon_height /*float*/ /(double)__ref._texticon_padding /*float*/ ),(int) (__ref._icon_height /*float*/ ),(int) (__ref._icon_height /*float*/ ));
 };
 }else {
RDebugUtils.currentLine=1638556;
 //BA.debugLineNum = 1638556;BA.debugLine="If isHorizontal = True Then";
if (_ishorizontal==__c.True) { 
RDebugUtils.currentLine=1638557;
 //BA.debugLineNum = 1638557;BA.debugLine="xlbl_text.SetLayoutAnimated(0,0,xpnl_base.Hei";
_xlbl_text.SetLayoutAnimated((int) (0),(int) (0),(int) (_xpnl_base.getHeight()/(double)2-__ref._txt_height /*float*/ /(double)2),_xpnl_base.getWidth(),(int) (__ref._txt_height /*float*/ ));
RDebugUtils.currentLine=1638558;
 //BA.debugLineNum = 1638558;BA.debugLine="ximg_icon.SetLayoutAnimated(0,xpnl_base.Width";
_ximg_icon.SetLayoutAnimated((int) (0),(int) (_xpnl_base.getWidth()/(double)2-__ref._icon_height /*float*/ /(double)2),(int) (_xpnl_base.getHeight()/(double)2-__ref._icon_height /*float*/ /(double)2),(int) (__ref._icon_height /*float*/ ),(int) (__ref._icon_height /*float*/ ));
 }else {
RDebugUtils.currentLine=1638560;
 //BA.debugLineNum = 1638560;BA.debugLine="xlbl_text.SetLayoutAnimated(0,0,xpnl_base.Hei";
_xlbl_text.SetLayoutAnimated((int) (0),(int) (0),(int) (_xpnl_base.getHeight()/(double)2-__ref._txt_height /*float*/ /(double)2),_xpnl_base.getWidth(),(int) (__ref._txt_height /*float*/ ));
RDebugUtils.currentLine=1638561;
 //BA.debugLineNum = 1638561;BA.debugLine="ximg_icon.SetLayoutAnimated(0,xpnl_base.Width";
_ximg_icon.SetLayoutAnimated((int) (0),(int) (_xpnl_base.getWidth()/(double)2-__ref._icon_height /*float*/ /(double)2),(int) (_xpnl_base.getHeight()/(double)2-__ref._icon_height /*float*/ /(double)2),(int) (__ref._icon_height /*float*/ ),(int) (__ref._icon_height /*float*/ ));
 };
 };
RDebugUtils.currentLine=1638565;
 //BA.debugLineNum = 1638565;BA.debugLine="If CurrenIndex = tmp_tab.index Then";
if (__ref._currenindex /*int*/ ==_tmp_tab.Index /*int*/ ) { 
RDebugUtils.currentLine=1638566;
 //BA.debugLineNum = 1638566;BA.debugLine="xlbl_text.TextColor = g_SelectedTabTextColor";
_xlbl_text.setTextColor(__ref._g_selectedtabtextcolor /*int*/ );
RDebugUtils.currentLine=1638568;
 //BA.debugLineNum = 1638568;BA.debugLine="If tmp_tab.Icon.IsInitialized Then ximg_icon.S";
if (_tmp_tab.Icon /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .IsInitialized()) { 
_ximg_icon.SetBitmap((android.graphics.Bitmap)(_tmp_tab.Icon /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .Resize((int) (_ximg_icon.getWidth()*_scale),(int) (_ximg_icon.getHeight()*_scale),__c.True).getObject()));};
RDebugUtils.currentLine=1638569;
 //BA.debugLineNum = 1638569;BA.debugLine="TintBmp(ximg_icon,g_SelectedTabTextColor)";
__ref._tintbmp /*String*/ (null,(anywheresoftware.b4a.objects.ImageViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ImageViewWrapper(), (android.widget.ImageView)(_ximg_icon.getObject())),__ref._g_selectedtabtextcolor /*int*/ );
 }else {
RDebugUtils.currentLine=1638571;
 //BA.debugLineNum = 1638571;BA.debugLine="xlbl_text.TextColor = g_TabTextColor";
_xlbl_text.setTextColor(__ref._g_tabtextcolor /*int*/ );
RDebugUtils.currentLine=1638573;
 //BA.debugLineNum = 1638573;BA.debugLine="If tmp_tab.Icon.IsInitialized Then ximg_icon.S";
if (_tmp_tab.Icon /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .IsInitialized()) { 
_ximg_icon.SetBitmap((android.graphics.Bitmap)(_tmp_tab.Icon /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .Resize((int) (_ximg_icon.getWidth()*_scale),(int) (_ximg_icon.getHeight()*_scale),__c.True).getObject()));};
RDebugUtils.currentLine=1638574;
 //BA.debugLineNum = 1638574;BA.debugLine="TintBmp(ximg_icon,g_TabTextColor)";
__ref._tintbmp /*String*/ (null,(anywheresoftware.b4a.objects.ImageViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ImageViewWrapper(), (android.widget.ImageView)(_ximg_icon.getObject())),__ref._g_tabtextcolor /*int*/ );
 };
RDebugUtils.currentLine=1638577;
 //BA.debugLineNum = 1638577;BA.debugLine="If tmp_TextIconCenter = False Then 'Icons or Te";
if (_tmp_texticoncenter==__c.False) { 
RDebugUtils.currentLine=1638578;
 //BA.debugLineNum = 1638578;BA.debugLine="If tmp_tab.badge_visible = True Then";
if (_tmp_tab.badge_visible /*boolean*/ ==__c.True) { 
RDebugUtils.currentLine=1638579;
 //BA.debugLineNum = 1638579;BA.debugLine="If g_badge_gravity = getBadge_MIDDLELEFT Then";
if ((__ref._g_badge_gravity /*String*/ ).equals(__ref._getbadge_middleleft /*String*/ (null))) { 
RDebugUtils.currentLine=1638580;
 //BA.debugLineNum = 1638580;BA.debugLine="xlbl_badge.SetLayoutAnimated(0,xpnl_base.Wid";
_xlbl_badge.SetLayoutAnimated((int) (0),(int) (_xpnl_base.getWidth()/(double)2-__ref._icon_height /*float*/ /(double)1.2+__ref._g_badgeleftpadding /*float*/ ),(int) (_xpnl_base.getHeight()/(double)2.7),(int) (__ref._badge_height /*float*/ ),(int) (__ref._badge_height /*float*/ ));
 }else 
{RDebugUtils.currentLine=1638581;
 //BA.debugLineNum = 1638581;BA.debugLine="else If g_badge_gravity = getBadge_TOPLEFT Th";
if ((__ref._g_badge_gravity /*String*/ ).equals(__ref._getbadge_topleft /*String*/ (null))) { 
RDebugUtils.currentLine=1638582;
 //BA.debugLineNum = 1638582;BA.debugLine="xlbl_badge.SetLayoutAnimated(0,xpnl_base.Wid";
_xlbl_badge.SetLayoutAnimated((int) (0),(int) (_xpnl_base.getWidth()/(double)2-__ref._icon_height /*float*/ /(double)1.2+__ref._g_badgeleftpadding /*float*/ ),(int) (_xpnl_base.getHeight()/(double)2-__ref._icon_height /*float*/ ),(int) (__ref._badge_height /*float*/ ),(int) (__ref._badge_height /*float*/ ));
 }else 
{RDebugUtils.currentLine=1638583;
 //BA.debugLineNum = 1638583;BA.debugLine="else If g_badge_gravity = getBadge_TOPMIDDLE";
if ((__ref._g_badge_gravity /*String*/ ).equals(__ref._getbadge_topmiddle /*String*/ (null))) { 
RDebugUtils.currentLine=1638584;
 //BA.debugLineNum = 1638584;BA.debugLine="xlbl_badge.SetLayoutAnimated(0,xpnl_base.Wid";
_xlbl_badge.SetLayoutAnimated((int) (0),(int) (_xpnl_base.getWidth()/(double)2-__ref._badge_height /*float*/ /(double)2+__ref._g_badgeleftpadding /*float*/ ),(int) (_xpnl_base.getHeight()/(double)2-__ref._icon_height /*float*/ ),(int) (__ref._badge_height /*float*/ ),(int) (__ref._badge_height /*float*/ ));
 }else 
{RDebugUtils.currentLine=1638585;
 //BA.debugLineNum = 1638585;BA.debugLine="else If g_badge_gravity = getBadge_TOPRIGHT T";
if ((__ref._g_badge_gravity /*String*/ ).equals(__ref._getbadge_topright /*String*/ (null))) { 
RDebugUtils.currentLine=1638586;
 //BA.debugLineNum = 1638586;BA.debugLine="xlbl_badge.SetLayoutAnimated(0,xpnl_base.Wid";
_xlbl_badge.SetLayoutAnimated((int) (0),(int) (_xpnl_base.getWidth()/(double)2+__ref._icon_height /*float*/ /(double)1.2-__ref._badge_height /*float*/ +__ref._g_badgeleftpadding /*float*/ ),(int) (_xpnl_base.getHeight()/(double)2-__ref._icon_height /*float*/ ),(int) (__ref._badge_height /*float*/ ),(int) (__ref._badge_height /*float*/ ));
 }else {
RDebugUtils.currentLine=1638588;
 //BA.debugLineNum = 1638588;BA.debugLine="xlbl_badge.SetLayoutAnimated(0,xpnl_base.Wid";
_xlbl_badge.SetLayoutAnimated((int) (0),(int) (_xpnl_base.getWidth()/(double)2+__ref._icon_height /*float*/ /(double)1.2-__ref._badge_height /*float*/ +__ref._g_badgeleftpadding /*float*/ ),(int) (_xpnl_base.getHeight()/(double)2.7),(int) (__ref._badge_height /*float*/ ),(int) (__ref._badge_height /*float*/ ));
 }}}}
;
 };
 }else {
RDebugUtils.currentLine=1638593;
 //BA.debugLineNum = 1638593;BA.debugLine="If tmp_tab.Icon.IsInitialized = True Then";
if (_tmp_tab.Icon /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .IsInitialized()==__c.True) { 
RDebugUtils.currentLine=1638594;
 //BA.debugLineNum = 1638594;BA.debugLine="If g_badge_gravity = getBadge_MIDDLELEFT Then";
if ((__ref._g_badge_gravity /*String*/ ).equals(__ref._getbadge_middleleft /*String*/ (null))) { 
RDebugUtils.currentLine=1638595;
 //BA.debugLineNum = 1638595;BA.debugLine="xlbl_badge.SetLayoutAnimated(0,xpnl_base.Wid";
_xlbl_badge.SetLayoutAnimated((int) (0),(int) (_xpnl_base.getWidth()/(double)2-__ref._icon_height /*float*/ /(double)1.2+__ref._g_badgeleftpadding /*float*/ ),(int) (_xpnl_base.getHeight()/(double)2.7),(int) (__ref._badge_height /*float*/ ),(int) (__ref._badge_height /*float*/ ));
 }else 
{RDebugUtils.currentLine=1638596;
 //BA.debugLineNum = 1638596;BA.debugLine="else If g_badge_gravity = getBadge_TOPLEFT The";
if ((__ref._g_badge_gravity /*String*/ ).equals(__ref._getbadge_topleft /*String*/ (null))) { 
RDebugUtils.currentLine=1638597;
 //BA.debugLineNum = 1638597;BA.debugLine="xlbl_badge.SetLayoutAnimated(0,xpnl_base.Wid";
_xlbl_badge.SetLayoutAnimated((int) (0),(int) (_xpnl_base.getWidth()/(double)2-__ref._icon_height /*float*/ /(double)1.2+__ref._g_badgeleftpadding /*float*/ ),(int) (_xpnl_base.getHeight()/(double)2-__ref._icon_height /*float*/ ),(int) (__ref._badge_height /*float*/ ),(int) (__ref._badge_height /*float*/ ));
 }else 
{RDebugUtils.currentLine=1638598;
 //BA.debugLineNum = 1638598;BA.debugLine="else If g_badge_gravity = getBadge_TOPMIDDLE T";
if ((__ref._g_badge_gravity /*String*/ ).equals(__ref._getbadge_topmiddle /*String*/ (null))) { 
RDebugUtils.currentLine=1638599;
 //BA.debugLineNum = 1638599;BA.debugLine="xlbl_badge.SetLayoutAnimated(0,xpnl_base.Wid";
_xlbl_badge.SetLayoutAnimated((int) (0),(int) (_xpnl_base.getWidth()/(double)2-__ref._badge_height /*float*/ /(double)2+__ref._g_badgeleftpadding /*float*/ ),(int) (_xpnl_base.getHeight()/(double)2-__ref._icon_height /*float*/ ),(int) (__ref._badge_height /*float*/ ),(int) (__ref._badge_height /*float*/ ));
 }else 
{RDebugUtils.currentLine=1638600;
 //BA.debugLineNum = 1638600;BA.debugLine="else If g_badge_gravity = getBadge_TOPRIGHT Th";
if ((__ref._g_badge_gravity /*String*/ ).equals(__ref._getbadge_topright /*String*/ (null))) { 
RDebugUtils.currentLine=1638601;
 //BA.debugLineNum = 1638601;BA.debugLine="xlbl_badge.SetLayoutAnimated(0,xpnl_base.Wid";
_xlbl_badge.SetLayoutAnimated((int) (0),(int) (_xpnl_base.getWidth()/(double)2+__ref._icon_height /*float*/ /(double)1.2-__ref._badge_height /*float*/ +__ref._g_badgeleftpadding /*float*/ ),(int) (_xpnl_base.getHeight()/(double)2-__ref._icon_height /*float*/ ),(int) (__ref._badge_height /*float*/ ),(int) (__ref._badge_height /*float*/ ));
 }else {
RDebugUtils.currentLine=1638603;
 //BA.debugLineNum = 1638603;BA.debugLine="xlbl_badge.SetLayoutAnimated(0,xpnl_base.Wid";
_xlbl_badge.SetLayoutAnimated((int) (0),(int) (_xpnl_base.getWidth()/(double)2+__ref._icon_height /*float*/ /(double)1.2-__ref._badge_height /*float*/ +__ref._g_badgeleftpadding /*float*/ ),(int) (_xpnl_base.getHeight()/(double)2.7),(int) (__ref._badge_height /*float*/ ),(int) (__ref._badge_height /*float*/ ));
 }}}}
;
 }else {
RDebugUtils.currentLine=1638606;
 //BA.debugLineNum = 1638606;BA.debugLine="If g_CurrentTabUnderlineGravity = getCurrentT";
if ((__ref._g_currenttabunderlinegravity /*String*/ ).equals(__ref._getcurrenttabunderlinegravity_topleft /*String*/ (null)) && (__ref._getorientation /*String*/ (null,__ref._g_orientation /*String*/ )).equals(__ref._getorientation_horizontal /*String*/ (null))) { 
RDebugUtils.currentLine=1638607;
 //BA.debugLineNum = 1638607;BA.debugLine="xlbl_badge.SetLayoutAnimated(0,xlbl_text.Wid";
_xlbl_badge.SetLayoutAnimated((int) (0),(int) (_xlbl_text.getWidth()/(double)2-__ref._badge_height /*float*/ /(double)2+__ref._g_badgeleftpadding /*float*/ ),(int) (_xlbl_text.getTop()+_xlbl_text.getHeight()),(int) (__ref._badge_height /*float*/ ),(int) (__ref._badge_height /*float*/ ));
 }else {
RDebugUtils.currentLine=1638609;
 //BA.debugLineNum = 1638609;BA.debugLine="xlbl_badge.SetLayoutAnimated(0,xlbl_text.Wid";
_xlbl_badge.SetLayoutAnimated((int) (0),(int) (_xlbl_text.getWidth()/(double)2-__ref._badge_height /*float*/ /(double)2+__ref._g_badgeleftpadding /*float*/ ),(int) (_xlbl_text.getTop()-__ref._badge_height /*float*/ ),(int) (__ref._badge_height /*float*/ ),(int) (__ref._badge_height /*float*/ ));
 };
 };
 };
 }else {
RDebugUtils.currentLine=1638617;
 //BA.debugLineNum = 1638617;BA.debugLine="xlbl_text.Visible = False";
_xlbl_text.setVisible(__c.False);
RDebugUtils.currentLine=1638618;
 //BA.debugLineNum = 1638618;BA.debugLine="ximg_icon.Visible = False";
_ximg_icon.setVisible(__c.False);
 }}}
;
 }
};
RDebugUtils.currentLine=1638623;
 //BA.debugLineNum = 1638623;BA.debugLine="End Sub";
return "";
}
public String  _setunderline2newpos(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "setunderline2newpos", false))
	 {return ((String) Debug.delegate(ba, "setunderline2newpos", null));}
anywheresoftware.b4a.objects.B4XViewWrapper _xpnl_targettab = null;
anywheresoftware.b4a.objects.B4XViewWrapper _xlbl_text = null;
float _tmp_top = 0f;
int _textwidth = 0;
float _tmp_left = 0f;
RDebugUtils.currentLine=1900544;
 //BA.debugLineNum = 1900544;BA.debugLine="Private Sub SetUnderline2NewPos";
RDebugUtils.currentLine=1900545;
 //BA.debugLineNum = 1900545;BA.debugLine="If CurrenIndex >= xpnl_tabbase.NumberOfViews Then";
if (__ref._currenindex /*int*/ >=__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getNumberOfViews()) { 
RDebugUtils.currentLine=1900546;
 //BA.debugLineNum = 1900546;BA.debugLine="CurrenIndex = 0";
__ref._currenindex /*int*/  = (int) (0);
RDebugUtils.currentLine=1900547;
 //BA.debugLineNum = 1900547;BA.debugLine="TabClick(xpnl_tabbase.GetView(0),True,g_EnableSe";
__ref._tabclick /*String*/ (null,__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView((int) (0)),__c.True,__ref._g_enableselectedtabtextcolor /*boolean*/ );
 };
RDebugUtils.currentLine=1900549;
 //BA.debugLineNum = 1900549;BA.debugLine="Dim xpnl_targettab As B4XView = xpnl_tabbase.GetV";
_xpnl_targettab = new anywheresoftware.b4a.objects.B4XViewWrapper();
_xpnl_targettab = __ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(__ref._currenindex /*int*/ );
RDebugUtils.currentLine=1900552;
 //BA.debugLineNum = 1900552;BA.debugLine="Dim xlbl_text As B4XView = xpnl_targettab.GetView";
_xlbl_text = new anywheresoftware.b4a.objects.B4XViewWrapper();
_xlbl_text = _xpnl_targettab.GetView((int) (0));
RDebugUtils.currentLine=1900555;
 //BA.debugLineNum = 1900555;BA.debugLine="If g_CurrentTabUnderlineAnimation = \"Normal\" Then";
if ((__ref._g_currenttabunderlineanimation /*String*/ ).equals("Normal")) { 
RDebugUtils.currentLine=1900557;
 //BA.debugLineNum = 1900557;BA.debugLine="If GetOrientation(g_orientation) = getOrientatio";
if ((__ref._getorientation /*String*/ (null,__ref._g_orientation /*String*/ )).equals(__ref._getorientation_horizontal /*String*/ (null))) { 
RDebugUtils.currentLine=1900559;
 //BA.debugLineNum = 1900559;BA.debugLine="If g_TabStripMode = False Then";
if (__ref._g_tabstripmode /*boolean*/ ==__c.False) { 
RDebugUtils.currentLine=1900561;
 //BA.debugLineNum = 1900561;BA.debugLine="Dim tmp_top As Float = xlbl_text.Top + xlbl_te";
_tmp_top = (float) (_xlbl_text.getTop()+_xlbl_text.getHeight());
RDebugUtils.currentLine=1900562;
 //BA.debugLineNum = 1900562;BA.debugLine="If g_TabStyle = \"Text\" Or g_TabStyle = \"TextIc";
if ((__ref._g_tabstyle /*String*/ ).equals("Text") || (__ref._g_tabstyle /*String*/ ).equals("TextIcon")) { 
RDebugUtils.currentLine=1900563;
 //BA.debugLineNum = 1900563;BA.debugLine="Dim textwidth As Int =  Max(1dip,MeasureTextW";
_textwidth = (int) (__c.Max(__c.DipToCurrent((int) (1)),__ref._measuretextwidth /*int*/ (null,_xlbl_text.getText(),_xlbl_text.getFont())));
RDebugUtils.currentLine=1900565;
 //BA.debugLineNum = 1900565;BA.debugLine="If g_CurrentTabUnderlineGravity <> getCurrent";
if ((__ref._g_currenttabunderlinegravity /*String*/ ).equals(__ref._getcurrenttabunderlinegravity_bottomright /*String*/ (null)) == false) { 
RDebugUtils.currentLine=1900566;
 //BA.debugLineNum = 1900566;BA.debugLine="If g_TabStyle = \"TextIcon\" Then";
if ((__ref._g_tabstyle /*String*/ ).equals("TextIcon")) { 
RDebugUtils.currentLine=1900567;
 //BA.debugLineNum = 1900567;BA.debugLine="tmp_top = xpnl_targettab.Height/2 - icon_he";
_tmp_top = (float) (_xpnl_targettab.getHeight()/(double)2-__ref._icon_height /*float*/ /(double)2);
 }else {
RDebugUtils.currentLine=1900569;
 //BA.debugLineNum = 1900569;BA.debugLine="tmp_top = xpnl_targettab.Height/2 - xlbl_te";
_tmp_top = (float) (_xpnl_targettab.getHeight()/(double)2-_xlbl_text.getHeight()/(double)2);
 };
 };
RDebugUtils.currentLine=1900573;
 //BA.debugLineNum = 1900573;BA.debugLine="xpnl_underline.SetLayoutAnimated(g_CurrentTab";
__ref._xpnl_underline /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated(__ref._g_currenttabunderlineanimationduration /*int*/ ,(int) (_xpnl_targettab.getLeft()+_xpnl_targettab.getWidth()/(double)2-_textwidth/(double)2),(int) (_tmp_top),_textwidth,(int) (__ref._ul_height /*float*/ ));
 }else 
{RDebugUtils.currentLine=1900574;
 //BA.debugLineNum = 1900574;BA.debugLine="Else If g_TabStyle = \"Icon\" Then 'only Icon";
if ((__ref._g_tabstyle /*String*/ ).equals("Icon")) { 
RDebugUtils.currentLine=1900575;
 //BA.debugLineNum = 1900575;BA.debugLine="If g_CurrentTabUnderlineGravity = getCurrentT";
if ((__ref._g_currenttabunderlinegravity /*String*/ ).equals(__ref._getcurrenttabunderlinegravity_bottomright /*String*/ (null))) { 
RDebugUtils.currentLine=1900576;
 //BA.debugLineNum = 1900576;BA.debugLine="tmp_top = xpnl_tabbase.Height/2 + 15dip";
_tmp_top = (float) (__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)2+__c.DipToCurrent((int) (15)));
 }else {
RDebugUtils.currentLine=1900578;
 //BA.debugLineNum = 1900578;BA.debugLine="tmp_top = xpnl_tabbase.Height/2 - icon_heigh";
_tmp_top = (float) (__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)2-__ref._icon_height /*float*/ /(double)2.5);
 };
RDebugUtils.currentLine=1900580;
 //BA.debugLineNum = 1900580;BA.debugLine="xpnl_underline.SetLayoutAnimated(g_CurrentTab";
__ref._xpnl_underline /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated(__ref._g_currenttabunderlineanimationduration /*int*/ ,(int) (_xpnl_targettab.getLeft()+_xpnl_targettab.getWidth()/(double)2-__ref._underlinewidthbyonlyicon /*int*/ /(double)2),(int) (_tmp_top),__ref._underlinewidthbyonlyicon /*int*/ ,(int) (__ref._ul_height /*float*/ ));
 }}
;
 }else {
RDebugUtils.currentLine=1900585;
 //BA.debugLineNum = 1900585;BA.debugLine="Dim tmp_top As Float = 0";
_tmp_top = (float) (0);
RDebugUtils.currentLine=1900586;
 //BA.debugLineNum = 1900586;BA.debugLine="If g_CurrentTabUnderlineGravity <> getCurrentT";
if ((__ref._g_currenttabunderlinegravity /*String*/ ).equals(__ref._getcurrenttabunderlinegravity_topleft /*String*/ (null)) == false) { 
RDebugUtils.currentLine=1900587;
 //BA.debugLineNum = 1900587;BA.debugLine="tmp_top = xpnl_targettab.Height - ul_height";
_tmp_top = (float) (_xpnl_targettab.getHeight()-__ref._ul_height /*float*/ );
 };
RDebugUtils.currentLine=1900589;
 //BA.debugLineNum = 1900589;BA.debugLine="xpnl_underline.SetLayoutAnimated(g_CurrentTabU";
__ref._xpnl_underline /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated(__ref._g_currenttabunderlineanimationduration /*int*/ ,_xpnl_targettab.getLeft(),(int) (_tmp_top),_xpnl_targettab.getWidth(),(int) (__ref._ul_height /*float*/ ));
 };
 }else {
RDebugUtils.currentLine=1900593;
 //BA.debugLineNum = 1900593;BA.debugLine="Dim tmp_left As Float = 0";
_tmp_left = (float) (0);
RDebugUtils.currentLine=1900594;
 //BA.debugLineNum = 1900594;BA.debugLine="If g_CurrentTabUnderlineGravity = getCurrentTab";
if ((__ref._g_currenttabunderlinegravity /*String*/ ).equals(__ref._getcurrenttabunderlinegravity_bottomright /*String*/ (null))) { 
RDebugUtils.currentLine=1900595;
 //BA.debugLineNum = 1900595;BA.debugLine="tmp_left = xpnl_targettab.Width - ul_height";
_tmp_left = (float) (_xpnl_targettab.getWidth()-__ref._ul_height /*float*/ );
 };
RDebugUtils.currentLine=1900597;
 //BA.debugLineNum = 1900597;BA.debugLine="If g_TabStripMode = False Then";
if (__ref._g_tabstripmode /*boolean*/ ==__c.False) { 
RDebugUtils.currentLine=1900599;
 //BA.debugLineNum = 1900599;BA.debugLine="xpnl_underline.SetLayoutAnimated(g_CurrentTabU";
__ref._xpnl_underline /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated(__ref._g_currenttabunderlineanimationduration /*int*/ ,(int) (_tmp_left),(int) (_xpnl_targettab.getTop()+_xpnl_targettab.getHeight()/(double)4),(int) (__ref._ul_height /*float*/ ),(int) (_xpnl_targettab.getHeight()/(double)2));
 }else {
RDebugUtils.currentLine=1900601;
 //BA.debugLineNum = 1900601;BA.debugLine="xpnl_underline.SetLayoutAnimated(g_CurrentTabU";
__ref._xpnl_underline /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetLayoutAnimated(__ref._g_currenttabunderlineanimationduration /*int*/ ,(int) (_tmp_left),_xpnl_targettab.getTop(),(int) (__ref._ul_height /*float*/ ),_xpnl_targettab.getHeight());
 };
 };
 };
RDebugUtils.currentLine=1900632;
 //BA.debugLineNum = 1900632;BA.debugLine="If GetOrientation(g_orientation) = getOrientation";
if ((__ref._getorientation /*String*/ (null,__ref._g_orientation /*String*/ )).equals(__ref._getorientation_horizontal /*String*/ (null))) { 
RDebugUtils.currentLine=1900633;
 //BA.debugLineNum = 1900633;BA.debugLine="xpnl_underline.SetColorAndBorder(ul_clr,0,0,xpnl";
__ref._xpnl_underline /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._ul_clr /*int*/ ,(int) (0),(int) (0),(int) (__ref._xpnl_underline /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()/(double)2));
 }else {
RDebugUtils.currentLine=1900635;
 //BA.debugLineNum = 1900635;BA.debugLine="xpnl_underline.SetColorAndBorder(ul_clr,0,0,xpnl";
__ref._xpnl_underline /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .SetColorAndBorder(__ref._ul_clr /*int*/ ,(int) (0),(int) (0),(int) (__ref._xpnl_underline /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()/(double)2));
 };
RDebugUtils.currentLine=1900638;
 //BA.debugLineNum = 1900638;BA.debugLine="End Sub";
return "";
}
public int  _badge_getcolor(com.as.tabmenu.astabmenu __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "badge_getcolor", false))
	 {return ((Integer) Debug.delegate(ba, "badge_getcolor", new Object[] {_index}));}
RDebugUtils.currentLine=3670016;
 //BA.debugLineNum = 3670016;BA.debugLine="Public Sub Badge_getColor(index As Int) As Int";
RDebugUtils.currentLine=3670017;
 //BA.debugLineNum = 3670017;BA.debugLine="Return xpnl_tabbase.GetView(index).GetView(2).Col";
if (true) return __ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_index).GetView((int) (2)).getColor();
RDebugUtils.currentLine=3670018;
 //BA.debugLineNum = 3670018;BA.debugLine="End Sub";
return 0;
}
public float  _badge_getheight(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "badge_getheight", false))
	 {return ((Float) Debug.delegate(ba, "badge_getheight", null));}
RDebugUtils.currentLine=3997696;
 //BA.debugLineNum = 3997696;BA.debugLine="Public Sub Badge_getHeight As Float";
RDebugUtils.currentLine=3997697;
 //BA.debugLineNum = 3997697;BA.debugLine="Return badge_height";
if (true) return __ref._badge_height /*float*/ ;
RDebugUtils.currentLine=3997698;
 //BA.debugLineNum = 3997698;BA.debugLine="End Sub";
return 0f;
}
public anywheresoftware.b4a.objects.B4XViewWrapper  _badge_getlabel(com.as.tabmenu.astabmenu __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "badge_getlabel", false))
	 {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "badge_getlabel", new Object[] {_index}));}
RDebugUtils.currentLine=3735552;
 //BA.debugLineNum = 3735552;BA.debugLine="Public Sub Badge_getLabel(index As Int) As B4XView";
RDebugUtils.currentLine=3735553;
 //BA.debugLineNum = 3735553;BA.debugLine="Return xpnl_tabbase.GetView(index).GetView(2)";
if (true) return __ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_index).GetView((int) (2));
RDebugUtils.currentLine=3735554;
 //BA.debugLineNum = 3735554;BA.debugLine="End Sub";
return null;
}
public boolean  _badge_getvisible(com.as.tabmenu.astabmenu __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "badge_getvisible", false))
	 {return ((Boolean) Debug.delegate(ba, "badge_getvisible", new Object[] {_index}));}
com.as.tabmenu.astabmenu._tabs _tmp_tab = null;
RDebugUtils.currentLine=4128768;
 //BA.debugLineNum = 4128768;BA.debugLine="Public Sub Badge_getVisible(index As Int) As Boole";
RDebugUtils.currentLine=4128769;
 //BA.debugLineNum = 4128769;BA.debugLine="Dim tmp_tab As Tabs = xpnl_tabbase.GetView(index)";
_tmp_tab = (com.as.tabmenu.astabmenu._tabs)(__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_index).getTag());
RDebugUtils.currentLine=4128770;
 //BA.debugLineNum = 4128770;BA.debugLine="Return tmp_tab.badge_visible";
if (true) return _tmp_tab.badge_visible /*boolean*/ ;
RDebugUtils.currentLine=4128771;
 //BA.debugLineNum = 4128771;BA.debugLine="End Sub";
return false;
}
public String  _badge_setcolor(com.as.tabmenu.astabmenu __ref,int _index,int _color) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "badge_setcolor", false))
	 {return ((String) Debug.delegate(ba, "badge_setcolor", new Object[] {_index,_color}));}
anywheresoftware.b4a.objects.B4XViewWrapper _tmp_base = null;
anywheresoftware.b4a.objects.B4XViewWrapper _xlbl_badge = null;
RDebugUtils.currentLine=3604480;
 //BA.debugLineNum = 3604480;BA.debugLine="Public Sub Badge_setColor(index As Int,color As In";
RDebugUtils.currentLine=3604481;
 //BA.debugLineNum = 3604481;BA.debugLine="Dim tmp_base As B4XView = xpnl_tabbase.GetView(in";
_tmp_base = new anywheresoftware.b4a.objects.B4XViewWrapper();
_tmp_base = __ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_index);
RDebugUtils.currentLine=3604482;
 //BA.debugLineNum = 3604482;BA.debugLine="Dim xlbl_badge As B4XView = tmp_base.GetView(2)";
_xlbl_badge = new anywheresoftware.b4a.objects.B4XViewWrapper();
_xlbl_badge = _tmp_base.GetView((int) (2));
RDebugUtils.currentLine=3604483;
 //BA.debugLineNum = 3604483;BA.debugLine="xlbl_badge.Color = color";
_xlbl_badge.setColor(_color);
RDebugUtils.currentLine=3604484;
 //BA.debugLineNum = 3604484;BA.debugLine="End Sub";
return "";
}
public String  _badge_setheight(com.as.tabmenu.astabmenu __ref,float _size) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "badge_setheight", false))
	 {return ((String) Debug.delegate(ba, "badge_setheight", new Object[] {_size}));}
RDebugUtils.currentLine=3932160;
 //BA.debugLineNum = 3932160;BA.debugLine="Public Sub Badge_setHeight(size As Float)";
RDebugUtils.currentLine=3932161;
 //BA.debugLineNum = 3932161;BA.debugLine="badge_height = size";
__ref._badge_height /*float*/  = _size;
RDebugUtils.currentLine=3932162;
 //BA.debugLineNum = 3932162;BA.debugLine="If g_commitmode = getCommitMode_AUTOMATIC Then Ba";
if ((__ref._g_commitmode /*String*/ ).equals(__ref._getcommitmode_automatic /*String*/ (null))) { 
__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());};
RDebugUtils.currentLine=3932163;
 //BA.debugLineNum = 3932163;BA.debugLine="End Sub";
return "";
}
public String  _getcommitmode_automatic(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getcommitmode_automatic", false))
	 {return ((String) Debug.delegate(ba, "getcommitmode_automatic", null));}
RDebugUtils.currentLine=2031616;
 //BA.debugLineNum = 2031616;BA.debugLine="Public Sub getCommitMode_AUTOMATIC As String";
RDebugUtils.currentLine=2031617;
 //BA.debugLineNum = 2031617;BA.debugLine="Return \"Automatic\"";
if (true) return "Automatic";
RDebugUtils.currentLine=2031618;
 //BA.debugLineNum = 2031618;BA.debugLine="End Sub";
return "";
}
public String  _badge_settext(com.as.tabmenu.astabmenu __ref,int _index,int _number) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "badge_settext", false))
	 {return ((String) Debug.delegate(ba, "badge_settext", new Object[] {_index,_number}));}
anywheresoftware.b4a.objects.B4XViewWrapper _tmp_base = null;
anywheresoftware.b4a.objects.B4XViewWrapper _xlbl_badge = null;
RDebugUtils.currentLine=3866624;
 //BA.debugLineNum = 3866624;BA.debugLine="Public Sub Badge_setText(index As Int,number As In";
RDebugUtils.currentLine=3866625;
 //BA.debugLineNum = 3866625;BA.debugLine="Dim tmp_base As B4XView = xpnl_tabbase.GetView(in";
_tmp_base = new anywheresoftware.b4a.objects.B4XViewWrapper();
_tmp_base = __ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_index);
RDebugUtils.currentLine=3866626;
 //BA.debugLineNum = 3866626;BA.debugLine="Dim xlbl_badge As B4XView = tmp_base.GetView(2)";
_xlbl_badge = new anywheresoftware.b4a.objects.B4XViewWrapper();
_xlbl_badge = _tmp_base.GetView((int) (2));
RDebugUtils.currentLine=3866627;
 //BA.debugLineNum = 3866627;BA.debugLine="If number < 0 Then";
if (_number<0) { 
RDebugUtils.currentLine=3866628;
 //BA.debugLineNum = 3866628;BA.debugLine="xlbl_badge.Text = \"\"";
_xlbl_badge.setText(BA.ObjectToCharSequence(""));
 }else 
{RDebugUtils.currentLine=3866629;
 //BA.debugLineNum = 3866629;BA.debugLine="Else If number > 9 Then";
if (_number>9) { 
RDebugUtils.currentLine=3866630;
 //BA.debugLineNum = 3866630;BA.debugLine="xlbl_badge.Text = \"9+\"";
_xlbl_badge.setText(BA.ObjectToCharSequence("9+"));
 }else {
RDebugUtils.currentLine=3866632;
 //BA.debugLineNum = 3866632;BA.debugLine="xlbl_badge.Text = number";
_xlbl_badge.setText(BA.ObjectToCharSequence(_number));
 }}
;
RDebugUtils.currentLine=3866634;
 //BA.debugLineNum = 3866634;BA.debugLine="End Sub";
return "";
}
public String  _badge_setvisible(com.as.tabmenu.astabmenu __ref,int _index,boolean _visible) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "badge_setvisible", false))
	 {return ((String) Debug.delegate(ba, "badge_setvisible", new Object[] {_index,_visible}));}
com.as.tabmenu.astabmenu._tabs _tmp_tab = null;
RDebugUtils.currentLine=4063232;
 //BA.debugLineNum = 4063232;BA.debugLine="Public Sub Badge_setVisible(index As Int,visible A";
RDebugUtils.currentLine=4063233;
 //BA.debugLineNum = 4063233;BA.debugLine="Dim tmp_tab As Tabs = xpnl_tabbase.GetView(index)";
_tmp_tab = (com.as.tabmenu.astabmenu._tabs)(__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_index).getTag());
RDebugUtils.currentLine=4063234;
 //BA.debugLineNum = 4063234;BA.debugLine="tmp_tab.badge_visible = visible";
_tmp_tab.badge_visible /*boolean*/  = _visible;
RDebugUtils.currentLine=4063235;
 //BA.debugLineNum = 4063235;BA.debugLine="xpnl_tabbase.GetView(index).Tag = tmp_tab";
__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_index).setTag((Object)(_tmp_tab));
RDebugUtils.currentLine=4063236;
 //BA.debugLineNum = 4063236;BA.debugLine="If g_commitmode = getCommitMode_AUTOMATIC Then Ba";
if ((__ref._g_commitmode /*String*/ ).equals(__ref._getcommitmode_automatic /*String*/ (null))) { 
__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());};
RDebugUtils.currentLine=4063237;
 //BA.debugLineNum = 4063237;BA.debugLine="End Sub";
return "";
}
public String  _setcircleclip(com.as.tabmenu.astabmenu __ref,anywheresoftware.b4a.objects.B4XViewWrapper _pnl,int _radius) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "setcircleclip", false))
	 {return ((String) Debug.delegate(ba, "setcircleclip", new Object[] {_pnl,_radius}));}
anywheresoftware.b4j.object.JavaObject _jo = null;
RDebugUtils.currentLine=7733248;
 //BA.debugLineNum = 7733248;BA.debugLine="Private Sub SetCircleClip (pnl As B4XView,radius A";
RDebugUtils.currentLine=7733262;
 //BA.debugLineNum = 7733262;BA.debugLine="Dim jo As JavaObject = pnl";
_jo = new anywheresoftware.b4j.object.JavaObject();
_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_pnl.getObject()));
RDebugUtils.currentLine=7733263;
 //BA.debugLineNum = 7733263;BA.debugLine="jo.RunMethod(\"setClipToOutline\", Array(True))";
_jo.RunMethod("setClipToOutline",new Object[]{(Object)(__c.True)});
RDebugUtils.currentLine=7733265;
 //BA.debugLineNum = 7733265;BA.debugLine="End Sub";
return "";
}
public String  _getorientation(com.as.tabmenu.astabmenu __ref,String _orientation) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getorientation", false))
	 {return ((String) Debug.delegate(ba, "getorientation", new Object[] {_orientation}));}
RDebugUtils.currentLine=1769472;
 //BA.debugLineNum = 1769472;BA.debugLine="Private Sub GetOrientation(Orientation As String)";
RDebugUtils.currentLine=1769473;
 //BA.debugLineNum = 1769473;BA.debugLine="If Orientation = getOrientation_AUTOMATIC Then";
if ((_orientation).equals(__ref._getorientation_automatic /*String*/ (null))) { 
RDebugUtils.currentLine=1769474;
 //BA.debugLineNum = 1769474;BA.debugLine="If mBase.Width >= mBase.Height Then";
if (__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth()>=__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight()) { 
RDebugUtils.currentLine=1769475;
 //BA.debugLineNum = 1769475;BA.debugLine="Return getOrientation_HORIZONTAL";
if (true) return __ref._getorientation_horizontal /*String*/ (null);
 }else {
RDebugUtils.currentLine=1769477;
 //BA.debugLineNum = 1769477;BA.debugLine="Return getOrientation_VERTICAL";
if (true) return __ref._getorientation_vertical /*String*/ (null);
 };
 }else {
RDebugUtils.currentLine=1769480;
 //BA.debugLineNum = 1769480;BA.debugLine="Return getOrientation_VERTICAL";
if (true) return __ref._getorientation_vertical /*String*/ (null);
 };
RDebugUtils.currentLine=1769482;
 //BA.debugLineNum = 1769482;BA.debugLine="End Sub";
return "";
}
public String  _getorientation_horizontal(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getorientation_horizontal", false))
	 {return ((String) Debug.delegate(ba, "getorientation_horizontal", null));}
RDebugUtils.currentLine=2621440;
 //BA.debugLineNum = 2621440;BA.debugLine="Public Sub getOrientation_HORIZONTAL As String";
RDebugUtils.currentLine=2621441;
 //BA.debugLineNum = 2621441;BA.debugLine="Return \"Horizontal\"";
if (true) return "Horizontal";
RDebugUtils.currentLine=2621442;
 //BA.debugLineNum = 2621442;BA.debugLine="End Sub";
return "";
}
public String  _tintbmp(com.as.tabmenu.astabmenu __ref,anywheresoftware.b4a.objects.ImageViewWrapper _img,int _color) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "tintbmp", false))
	 {return ((String) Debug.delegate(ba, "tintbmp", new Object[] {_img,_color}));}
anywheresoftware.b4j.object.JavaObject _jo = null;
RDebugUtils.currentLine=7864320;
 //BA.debugLineNum = 7864320;BA.debugLine="Private Sub TintBmp(img As ImageView, color As Int";
RDebugUtils.currentLine=7864327;
 //BA.debugLineNum = 7864327;BA.debugLine="Dim jo As JavaObject=img";
_jo = new anywheresoftware.b4j.object.JavaObject();
_jo = (anywheresoftware.b4j.object.JavaObject) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.object.JavaObject(), (java.lang.Object)(_img.getObject()));
RDebugUtils.currentLine=7864328;
 //BA.debugLineNum = 7864328;BA.debugLine="jo.RunMethod(\"setImageBitmap\",Array(img.Bitmap))";
_jo.RunMethod("setImageBitmap",new Object[]{(Object)(_img.getBitmap())});
RDebugUtils.currentLine=7864330;
 //BA.debugLineNum = 7864330;BA.debugLine="jo.RunMethod(\"setColorFilter\",Array(Colors.rgb(Ge";
_jo.RunMethod("setColorFilter",new Object[]{(Object)(__c.Colors.RGB(__ref._getargb /*int[]*/ (null,_color)[(int) (1)],__ref._getargb /*int[]*/ (null,_color)[(int) (2)],__ref._getargb /*int[]*/ (null,_color)[(int) (3)]))});
RDebugUtils.currentLine=7864335;
 //BA.debugLineNum = 7864335;BA.debugLine="End Sub";
return "";
}
public String  _getbadge_middleleft(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getbadge_middleleft", false))
	 {return ((String) Debug.delegate(ba, "getbadge_middleleft", null));}
RDebugUtils.currentLine=2162688;
 //BA.debugLineNum = 2162688;BA.debugLine="Public Sub getBadge_MIDDLELEFT As String";
RDebugUtils.currentLine=2162689;
 //BA.debugLineNum = 2162689;BA.debugLine="Return \"MiddleLeft\"";
if (true) return "MiddleLeft";
RDebugUtils.currentLine=2162690;
 //BA.debugLineNum = 2162690;BA.debugLine="End Sub";
return "";
}
public String  _getbadge_topleft(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getbadge_topleft", false))
	 {return ((String) Debug.delegate(ba, "getbadge_topleft", null));}
RDebugUtils.currentLine=2359296;
 //BA.debugLineNum = 2359296;BA.debugLine="Public Sub getBadge_TOPLEFT As String";
RDebugUtils.currentLine=2359297;
 //BA.debugLineNum = 2359297;BA.debugLine="Return \"TopLeft\"";
if (true) return "TopLeft";
RDebugUtils.currentLine=2359298;
 //BA.debugLineNum = 2359298;BA.debugLine="End Sub";
return "";
}
public String  _getbadge_topmiddle(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getbadge_topmiddle", false))
	 {return ((String) Debug.delegate(ba, "getbadge_topmiddle", null));}
RDebugUtils.currentLine=2293760;
 //BA.debugLineNum = 2293760;BA.debugLine="Public Sub getBadge_TOPMIDDLE As String";
RDebugUtils.currentLine=2293761;
 //BA.debugLineNum = 2293761;BA.debugLine="Return \"TopMiddle\"";
if (true) return "TopMiddle";
RDebugUtils.currentLine=2293762;
 //BA.debugLineNum = 2293762;BA.debugLine="End Sub";
return "";
}
public String  _getbadge_topright(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getbadge_topright", false))
	 {return ((String) Debug.delegate(ba, "getbadge_topright", null));}
RDebugUtils.currentLine=2228224;
 //BA.debugLineNum = 2228224;BA.debugLine="Public Sub getBadge_TOPRIGHT As String";
RDebugUtils.currentLine=2228225;
 //BA.debugLineNum = 2228225;BA.debugLine="Return \"TopRight\"";
if (true) return "TopRight";
RDebugUtils.currentLine=2228226;
 //BA.debugLineNum = 2228226;BA.debugLine="End Sub";
return "";
}
public String  _class_globals(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
RDebugUtils.currentLine=1376256;
 //BA.debugLineNum = 1376256;BA.debugLine="Sub Class_Globals";
RDebugUtils.currentLine=1376257;
 //BA.debugLineNum = 1376257;BA.debugLine="Private mEventName As String 'ignore";
_meventname = "";
RDebugUtils.currentLine=1376258;
 //BA.debugLineNum = 1376258;BA.debugLine="Private mCallBack As Object 'ignore";
_mcallback = new Object();
RDebugUtils.currentLine=1376259;
 //BA.debugLineNum = 1376259;BA.debugLine="Private mBase As B4XView 'ignore";
_mbase = new anywheresoftware.b4a.objects.B4XViewWrapper();
RDebugUtils.currentLine=1376260;
 //BA.debugLineNum = 1376260;BA.debugLine="Private xui As XUI 'ignore";
_xui = new anywheresoftware.b4a.objects.B4XViewWrapper.XUI();
RDebugUtils.currentLine=1376262;
 //BA.debugLineNum = 1376262;BA.debugLine="Private underlinewidthbyonlyicon As Int = 20dip";
_underlinewidthbyonlyicon = __c.DipToCurrent((int) (20));
RDebugUtils.currentLine=1376263;
 //BA.debugLineNum = 1376263;BA.debugLine="Private txt_height As Float = 22dip";
_txt_height = (float) (__c.DipToCurrent((int) (22)));
RDebugUtils.currentLine=1376264;
 //BA.debugLineNum = 1376264;BA.debugLine="Private icon_height As Float = 25dip";
_icon_height = (float) (__c.DipToCurrent((int) (25)));
RDebugUtils.currentLine=1376265;
 //BA.debugLineNum = 1376265;BA.debugLine="Private badge_height As Float = 15dip";
_badge_height = (float) (__c.DipToCurrent((int) (15)));
RDebugUtils.currentLine=1376266;
 //BA.debugLineNum = 1376266;BA.debugLine="Public TextIcon_Padding As Float = 1.3";
_texticon_padding = (float) (1.3);
RDebugUtils.currentLine=1376267;
 //BA.debugLineNum = 1376267;BA.debugLine="Public text_font As B4XFont";
_text_font = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont();
RDebugUtils.currentLine=1376269;
 //BA.debugLineNum = 1376269;BA.debugLine="Type Tabs(TabText As String,Icon As B4XBitmap,";
;
RDebugUtils.currentLine=1376272;
 //BA.debugLineNum = 1376272;BA.debugLine="Private CurrenIndex As Int = 0";
_currenindex = (int) (0);
RDebugUtils.currentLine=1376275;
 //BA.debugLineNum = 1376275;BA.debugLine="Private pl_clr As Int = xui.Color_White";
_pl_clr = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White;
RDebugUtils.currentLine=1376276;
 //BA.debugLineNum = 1376276;BA.debugLine="Private pl_width As Float = 2dip";
_pl_width = (float) (__c.DipToCurrent((int) (2)));
RDebugUtils.currentLine=1376279;
 //BA.debugLineNum = 1376279;BA.debugLine="Private ul_clr As Int = xui.Color_White";
_ul_clr = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .Color_White;
RDebugUtils.currentLine=1376280;
 //BA.debugLineNum = 1376280;BA.debugLine="Private ul_height As Float = 2dip";
_ul_height = (float) (__c.DipToCurrent((int) (2)));
RDebugUtils.currentLine=1376282;
 //BA.debugLineNum = 1376282;BA.debugLine="Private g_badge_gravity As String = \"Middle_Right";
_g_badge_gravity = "Middle_Right";
RDebugUtils.currentLine=1376284;
 //BA.debugLineNum = 1376284;BA.debugLine="Private g_commitmode As String";
_g_commitmode = "";
RDebugUtils.currentLine=1376285;
 //BA.debugLineNum = 1376285;BA.debugLine="Private g_orientation As String";
_g_orientation = "";
RDebugUtils.currentLine=1376287;
 //BA.debugLineNum = 1376287;BA.debugLine="Private g_TabStyle As String";
_g_tabstyle = "";
RDebugUtils.currentLine=1376288;
 //BA.debugLineNum = 1376288;BA.debugLine="Private g_TabTextColor As Int";
_g_tabtextcolor = 0;
RDebugUtils.currentLine=1376289;
 //BA.debugLineNum = 1376289;BA.debugLine="Private g_PartingLineVisible As Boolean";
_g_partinglinevisible = false;
RDebugUtils.currentLine=1376291;
 //BA.debugLineNum = 1376291;BA.debugLine="Private g_CurrentTabUnderline As Boolean";
_g_currenttabunderline = false;
RDebugUtils.currentLine=1376292;
 //BA.debugLineNum = 1376292;BA.debugLine="Private g_CurrentTabUnderlineAnimation As String";
_g_currenttabunderlineanimation = "";
RDebugUtils.currentLine=1376293;
 //BA.debugLineNum = 1376293;BA.debugLine="Private g_CurrentTabUnderlineAnimationDuration As";
_g_currenttabunderlineanimationduration = 0;
RDebugUtils.currentLine=1376294;
 //BA.debugLineNum = 1376294;BA.debugLine="Private g_CurrentTabUnderlineGravity As String";
_g_currenttabunderlinegravity = "";
RDebugUtils.currentLine=1376296;
 //BA.debugLineNum = 1376296;BA.debugLine="Private g_EnableSelectedTabTextColor As Boolean";
_g_enableselectedtabtextcolor = false;
RDebugUtils.currentLine=1376297;
 //BA.debugLineNum = 1376297;BA.debugLine="Private g_SelectedTabTextColor As Int";
_g_selectedtabtextcolor = 0;
RDebugUtils.currentLine=1376299;
 //BA.debugLineNum = 1376299;BA.debugLine="Private g_TabClickColor As Int";
_g_tabclickcolor = 0;
RDebugUtils.currentLine=1376301;
 //BA.debugLineNum = 1376301;BA.debugLine="Private g_TabStripMode As Boolean = False";
_g_tabstripmode = __c.False;
RDebugUtils.currentLine=1376302;
 //BA.debugLineNum = 1376302;BA.debugLine="Private g_HaloDuration As Int = 1000";
_g_haloduration = (int) (1000);
RDebugUtils.currentLine=1376304;
 //BA.debugLineNum = 1376304;BA.debugLine="Private g_BadgeLeftPadding As Float = 0";
_g_badgeleftpadding = (float) (0);
RDebugUtils.currentLine=1376307;
 //BA.debugLineNum = 1376307;BA.debugLine="Private xpnl_tabbase As B4XView";
_xpnl_tabbase = new anywheresoftware.b4a.objects.B4XViewWrapper();
RDebugUtils.currentLine=1376308;
 //BA.debugLineNum = 1376308;BA.debugLine="Private xpnl_underline As B4XView";
_xpnl_underline = new anywheresoftware.b4a.objects.B4XViewWrapper();
RDebugUtils.currentLine=1376310;
 //BA.debugLineNum = 1376310;BA.debugLine="Public BorderPadding As Float = 0";
_borderpadding = (float) (0);
RDebugUtils.currentLine=1376311;
 //BA.debugLineNum = 1376311;BA.debugLine="End Sub";
return "";
}
public String  _createhaloeffect(com.as.tabmenu.astabmenu __ref,anywheresoftware.b4a.objects.B4XViewWrapper _parent,int _x,int _y,int _clr) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "createhaloeffect", false))
	 {return ((String) Debug.delegate(ba, "createhaloeffect", new Object[] {_parent,_x,_y,_clr}));}
anywheresoftware.b4a.objects.B4XCanvas _cvs = null;
anywheresoftware.b4a.objects.B4XViewWrapper _p = null;
int _radius = 0;
anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp = null;
RDebugUtils.currentLine=7536640;
 //BA.debugLineNum = 7536640;BA.debugLine="Private Sub CreateHaloEffect (Parent As B4XView, x";
RDebugUtils.currentLine=7536641;
 //BA.debugLineNum = 7536641;BA.debugLine="Dim cvs As B4XCanvas";
_cvs = new anywheresoftware.b4a.objects.B4XCanvas();
RDebugUtils.currentLine=7536642;
 //BA.debugLineNum = 7536642;BA.debugLine="Dim p As B4XView = xui.CreatePanel(\"\")";
_p = new anywheresoftware.b4a.objects.B4XViewWrapper();
_p = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"");
RDebugUtils.currentLine=7536643;
 //BA.debugLineNum = 7536643;BA.debugLine="Dim radius As Int = 150dip";
_radius = __c.DipToCurrent((int) (150));
RDebugUtils.currentLine=7536644;
 //BA.debugLineNum = 7536644;BA.debugLine="p.SetLayoutAnimated(0, 0, 0, radius * 2, radius *";
_p.SetLayoutAnimated((int) (0),(int) (0),(int) (0),(int) (_radius*2),(int) (_radius*2));
RDebugUtils.currentLine=7536645;
 //BA.debugLineNum = 7536645;BA.debugLine="cvs.Initialize(p)";
_cvs.Initialize(_p);
RDebugUtils.currentLine=7536646;
 //BA.debugLineNum = 7536646;BA.debugLine="cvs.DrawCircle(cvs.TargetRect.CenterX, cvs.Target";
_cvs.DrawCircle(_cvs.getTargetRect().getCenterX(),_cvs.getTargetRect().getCenterY(),(float) (_cvs.getTargetRect().getWidth()/(double)2),_clr,__c.True,(float) (0));
RDebugUtils.currentLine=7536647;
 //BA.debugLineNum = 7536647;BA.debugLine="Dim bmp As B4XBitmap = cvs.CreateBitmap";
_bmp = new anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper();
_bmp = _cvs.CreateBitmap();
RDebugUtils.currentLine=7536648;
 //BA.debugLineNum = 7536648;BA.debugLine="CreateHaloEffectHelper(Parent,bmp, x, y, radius)";
__ref._createhaloeffecthelper /*void*/ (null,_parent,_bmp,_x,_y,_radius);
RDebugUtils.currentLine=7536649;
 //BA.debugLineNum = 7536649;BA.debugLine="End Sub";
return "";
}
public void  _createhaloeffecthelper(com.as.tabmenu.astabmenu __ref,anywheresoftware.b4a.objects.B4XViewWrapper _parent,anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp,int _x,int _y,int _radius) throws Exception{
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "createhaloeffecthelper", false))
	 {Debug.delegate(ba, "createhaloeffecthelper", new Object[] {_parent,_bmp,_x,_y,_radius}); return;}
ResumableSub_CreateHaloEffectHelper rsub = new ResumableSub_CreateHaloEffectHelper(this,__ref,_parent,_bmp,_x,_y,_radius);
rsub.resume(ba, null);
}
public static class ResumableSub_CreateHaloEffectHelper extends BA.ResumableSub {
public ResumableSub_CreateHaloEffectHelper(com.as.tabmenu.astabmenu parent,com.as.tabmenu.astabmenu __ref,anywheresoftware.b4a.objects.B4XViewWrapper _parent,anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp,int _x,int _y,int _radius) {
this.parent = parent;
this.__ref = __ref;
this._parent = _parent;
this._bmp = _bmp;
this._x = _x;
this._y = _y;
this._radius = _radius;
this.__ref = parent;
}
com.as.tabmenu.astabmenu __ref;
com.as.tabmenu.astabmenu parent;
anywheresoftware.b4a.objects.B4XViewWrapper _parent;
anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _bmp;
int _x;
int _y;
int _radius;
anywheresoftware.b4a.objects.ImageViewWrapper _iv = null;
anywheresoftware.b4a.objects.B4XViewWrapper _p = null;
int _duration = 0;

@Override
public void resume(BA ba, Object[] result) throws Exception{
RDebugUtils.currentModule="astabmenu";

    while (true) {
        switch (state) {
            case -1:
return;

case 0:
//C
this.state = -1;
RDebugUtils.currentLine=7602177;
 //BA.debugLineNum = 7602177;BA.debugLine="Dim iv As ImageView";
_iv = new anywheresoftware.b4a.objects.ImageViewWrapper();
RDebugUtils.currentLine=7602178;
 //BA.debugLineNum = 7602178;BA.debugLine="iv.Initialize(\"\")";
_iv.Initialize(ba,"");
RDebugUtils.currentLine=7602179;
 //BA.debugLineNum = 7602179;BA.debugLine="Dim p As B4XView = iv";
_p = new anywheresoftware.b4a.objects.B4XViewWrapper();
_p = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_iv.getObject()));
RDebugUtils.currentLine=7602180;
 //BA.debugLineNum = 7602180;BA.debugLine="p.SetBitmap(bmp)";
_p.SetBitmap((android.graphics.Bitmap)(_bmp.getObject()));
RDebugUtils.currentLine=7602181;
 //BA.debugLineNum = 7602181;BA.debugLine="Parent.AddView(p, x, y, 0, 0)";
_parent.AddView((android.view.View)(_p.getObject()),_x,_y,(int) (0),(int) (0));
RDebugUtils.currentLine=7602182;
 //BA.debugLineNum = 7602182;BA.debugLine="Dim duration As Int = g_HaloDuration";
_duration = __ref._g_haloduration /*int*/ ;
RDebugUtils.currentLine=7602183;
 //BA.debugLineNum = 7602183;BA.debugLine="p.SetLayoutAnimated(duration, x - radius, y - rad";
_p.SetLayoutAnimated(_duration,(int) (_x-_radius),(int) (_y-_radius),(int) (2*_radius),(int) (2*_radius));
RDebugUtils.currentLine=7602184;
 //BA.debugLineNum = 7602184;BA.debugLine="p.SetVisibleAnimated(duration, False)";
_p.SetVisibleAnimated(_duration,parent.__c.False);
RDebugUtils.currentLine=7602185;
 //BA.debugLineNum = 7602185;BA.debugLine="Sleep(duration)";
parent.__c.Sleep(ba,new anywheresoftware.b4a.shell.DebugResumableSub.DelegatableResumableSub(this, "astabmenu", "createhaloeffecthelper"),_duration);
this.state = 1;
return;
case 1:
//C
this.state = -1;
;
RDebugUtils.currentLine=7602186;
 //BA.debugLineNum = 7602186;BA.debugLine="p.RemoveViewFromParent";
_p.RemoveViewFromParent();
RDebugUtils.currentLine=7602187;
 //BA.debugLineNum = 7602187;BA.debugLine="End Sub";
if (true) break;

            }
        }
    }
}
public String  _designercreateview(com.as.tabmenu.astabmenu __ref,Object _base,anywheresoftware.b4a.objects.LabelWrapper _lbl,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "designercreateview", false))
	 {return ((String) Debug.delegate(ba, "designercreateview", new Object[] {_base,_lbl,_props}));}
RDebugUtils.currentLine=1507328;
 //BA.debugLineNum = 1507328;BA.debugLine="Public Sub DesignerCreateView (Base As Object, Lbl";
RDebugUtils.currentLine=1507329;
 //BA.debugLineNum = 1507329;BA.debugLine="mBase = Base";
__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/  = (anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(_base));
RDebugUtils.currentLine=1507330;
 //BA.debugLineNum = 1507330;BA.debugLine="ini_props(Props)";
__ref._ini_props /*String*/ (null,_props);
RDebugUtils.currentLine=1507332;
 //BA.debugLineNum = 1507332;BA.debugLine="xpnl_tabbase = xui.CreatePanel(\"\")";
__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/  = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"");
RDebugUtils.currentLine=1507333;
 //BA.debugLineNum = 1507333;BA.debugLine="xpnl_underline = xui.CreatePanel(\"\")";
__ref._xpnl_underline /*anywheresoftware.b4a.objects.B4XViewWrapper*/  = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreatePanel(ba,"");
RDebugUtils.currentLine=1507336;
 //BA.debugLineNum = 1507336;BA.debugLine="mBase.AddView(xpnl_tabbase,0,0,0,0)";
__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0));
RDebugUtils.currentLine=1507337;
 //BA.debugLineNum = 1507337;BA.debugLine="mBase.AddView(xpnl_underline,0,0,0,0)";
__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .AddView((android.view.View)(__ref._xpnl_underline /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getObject()),(int) (0),(int) (0),(int) (0),(int) (0));
RDebugUtils.currentLine=1507340;
 //BA.debugLineNum = 1507340;BA.debugLine="Base_Resize(mBase.Width,mBase.Height)";
__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=1507343;
 //BA.debugLineNum = 1507343;BA.debugLine="End Sub";
return "";
}
public String  _ini_props(com.as.tabmenu.astabmenu __ref,anywheresoftware.b4a.objects.collections.Map _props) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "ini_props", false))
	 {return ((String) Debug.delegate(ba, "ini_props", new Object[] {_props}));}
RDebugUtils.currentLine=1572864;
 //BA.debugLineNum = 1572864;BA.debugLine="Private Sub ini_props(Props As Map)";
RDebugUtils.currentLine=1572865;
 //BA.debugLineNum = 1572865;BA.debugLine="g_commitmode = Props.Get(\"CommitMode\")";
__ref._g_commitmode /*String*/  = BA.ObjectToString(_props.Get((Object)("CommitMode")));
RDebugUtils.currentLine=1572866;
 //BA.debugLineNum = 1572866;BA.debugLine="g_orientation = Props.Get(\"Orientation\")";
__ref._g_orientation /*String*/  = BA.ObjectToString(_props.Get((Object)("Orientation")));
RDebugUtils.currentLine=1572868;
 //BA.debugLineNum = 1572868;BA.debugLine="g_TabStyle = Props.Get(\"TabStyle\")";
__ref._g_tabstyle /*String*/  = BA.ObjectToString(_props.Get((Object)("TabStyle")));
RDebugUtils.currentLine=1572869;
 //BA.debugLineNum = 1572869;BA.debugLine="g_TabTextColor = xui.PaintOrColorToColor(Props.Ge";
__ref._g_tabtextcolor /*int*/  = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("TabTextColor")));
RDebugUtils.currentLine=1572870;
 //BA.debugLineNum = 1572870;BA.debugLine="g_PartingLineVisible = Props.Get(\"PartingLineVisi";
__ref._g_partinglinevisible /*boolean*/  = BA.ObjectToBoolean(_props.Get((Object)("PartingLineVisible")));
RDebugUtils.currentLine=1572872;
 //BA.debugLineNum = 1572872;BA.debugLine="g_CurrentTabUnderline = Props.Get(\"CurrentTabUnde";
__ref._g_currenttabunderline /*boolean*/  = BA.ObjectToBoolean(_props.Get((Object)("CurrentTabUnderline")));
RDebugUtils.currentLine=1572873;
 //BA.debugLineNum = 1572873;BA.debugLine="g_CurrentTabUnderlineAnimation = Props.Get(\"Curre";
__ref._g_currenttabunderlineanimation /*String*/  = BA.ObjectToString(_props.Get((Object)("CurrentTabUnderlineAnimation")));
RDebugUtils.currentLine=1572874;
 //BA.debugLineNum = 1572874;BA.debugLine="g_CurrentTabUnderlineAnimationDuration = Props.Ge";
__ref._g_currenttabunderlineanimationduration /*int*/  = (int)(BA.ObjectToNumber(_props.Get((Object)("CurrentTabUnderlineAnimationDuration"))));
RDebugUtils.currentLine=1572875;
 //BA.debugLineNum = 1572875;BA.debugLine="g_CurrentTabUnderlineGravity = Props.Get(\"Current";
__ref._g_currenttabunderlinegravity /*String*/  = BA.ObjectToString(_props.Get((Object)("CurrentTabUnderlineGravity")));
RDebugUtils.currentLine=1572877;
 //BA.debugLineNum = 1572877;BA.debugLine="g_EnableSelectedTabTextColor = Props.Get(\"EnableS";
__ref._g_enableselectedtabtextcolor /*boolean*/  = BA.ObjectToBoolean(_props.Get((Object)("EnableSelectedTabTextColor")));
RDebugUtils.currentLine=1572878;
 //BA.debugLineNum = 1572878;BA.debugLine="g_SelectedTabTextColor = xui.PaintOrColorToColor(";
__ref._g_selectedtabtextcolor /*int*/  = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("SelectedTabTextColor")));
RDebugUtils.currentLine=1572880;
 //BA.debugLineNum = 1572880;BA.debugLine="g_TabClickColor = xui.PaintOrColorToColor(Props.G";
__ref._g_tabclickcolor /*int*/  = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .PaintOrColorToColor(_props.Get((Object)("TabClickColor")));
RDebugUtils.currentLine=1572882;
 //BA.debugLineNum = 1572882;BA.debugLine="End Sub";
return "";
}
public int[]  _getargb(com.as.tabmenu.astabmenu __ref,int _color) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getargb", false))
	 {return ((int[]) Debug.delegate(ba, "getargb", new Object[] {_color}));}
int[] _res = null;
RDebugUtils.currentLine=7798784;
 //BA.debugLineNum = 7798784;BA.debugLine="Private Sub GetARGB(Color As Int) As Int()'ignore";
RDebugUtils.currentLine=7798785;
 //BA.debugLineNum = 7798785;BA.debugLine="Private res(4) As Int";
_res = new int[(int) (4)];
;
RDebugUtils.currentLine=7798786;
 //BA.debugLineNum = 7798786;BA.debugLine="res(0) = Bit.UnsignedShiftRight(Bit.And(Color, 0x";
_res[(int) (0)] = __c.Bit.UnsignedShiftRight(__c.Bit.And(_color,(int) (0xff000000)),(int) (24));
RDebugUtils.currentLine=7798787;
 //BA.debugLineNum = 7798787;BA.debugLine="res(1) = Bit.UnsignedShiftRight(Bit.And(Color, 0x";
_res[(int) (1)] = __c.Bit.UnsignedShiftRight(__c.Bit.And(_color,(int) (0xff0000)),(int) (16));
RDebugUtils.currentLine=7798788;
 //BA.debugLineNum = 7798788;BA.debugLine="res(2) = Bit.UnsignedShiftRight(Bit.And(Color, 0x";
_res[(int) (2)] = __c.Bit.UnsignedShiftRight(__c.Bit.And(_color,(int) (0xff00)),(int) (8));
RDebugUtils.currentLine=7798789;
 //BA.debugLineNum = 7798789;BA.debugLine="res(3) = Bit.And(Color, 0xff)";
_res[(int) (3)] = __c.Bit.And(_color,(int) (0xff));
RDebugUtils.currentLine=7798790;
 //BA.debugLineNum = 7798790;BA.debugLine="Return res";
if (true) return _res;
RDebugUtils.currentLine=7798791;
 //BA.debugLineNum = 7798791;BA.debugLine="End Sub";
return null;
}
public String  _getbadge_gravity(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getbadge_gravity", false))
	 {return ((String) Debug.delegate(ba, "getbadge_gravity", null));}
RDebugUtils.currentLine=3473408;
 //BA.debugLineNum = 3473408;BA.debugLine="Public Sub getBadge_Gravity As String";
RDebugUtils.currentLine=3473409;
 //BA.debugLineNum = 3473409;BA.debugLine="Return g_badge_gravity";
if (true) return __ref._g_badge_gravity /*String*/ ;
RDebugUtils.currentLine=3473410;
 //BA.debugLineNum = 3473410;BA.debugLine="End Sub";
return "";
}
public String  _getbadge_middleright(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getbadge_middleright", false))
	 {return ((String) Debug.delegate(ba, "getbadge_middleright", null));}
RDebugUtils.currentLine=2097152;
 //BA.debugLineNum = 2097152;BA.debugLine="Public Sub getBadge_MIDDLERIGHT As String";
RDebugUtils.currentLine=2097153;
 //BA.debugLineNum = 2097153;BA.debugLine="Return \"MiddleRight\"";
if (true) return "MiddleRight";
RDebugUtils.currentLine=2097154;
 //BA.debugLineNum = 2097154;BA.debugLine="End Sub";
return "";
}
public anywheresoftware.b4a.objects.B4XViewWrapper  _getbaseview(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getbaseview", false))
	 {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "getbaseview", null));}
RDebugUtils.currentLine=5570560;
 //BA.debugLineNum = 5570560;BA.debugLine="Public Sub getBaseView As B4XView";
RDebugUtils.currentLine=5570561;
 //BA.debugLineNum = 5570561;BA.debugLine="Return mBase";
if (true) return __ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ;
RDebugUtils.currentLine=5570562;
 //BA.debugLineNum = 5570562;BA.debugLine="End Sub";
return null;
}
public String  _getcommitmode(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getcommitmode", false))
	 {return ((String) Debug.delegate(ba, "getcommitmode", null));}
RDebugUtils.currentLine=3342336;
 //BA.debugLineNum = 3342336;BA.debugLine="Public Sub getCommitMode As String";
RDebugUtils.currentLine=3342337;
 //BA.debugLineNum = 3342337;BA.debugLine="Return g_commitmode";
if (true) return __ref._g_commitmode /*String*/ ;
RDebugUtils.currentLine=3342338;
 //BA.debugLineNum = 3342338;BA.debugLine="End Sub";
return "";
}
public String  _getcommitmode_manually(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getcommitmode_manually", false))
	 {return ((String) Debug.delegate(ba, "getcommitmode_manually", null));}
RDebugUtils.currentLine=1966080;
 //BA.debugLineNum = 1966080;BA.debugLine="Public Sub getCommitMode_MANUALLY As String";
RDebugUtils.currentLine=1966081;
 //BA.debugLineNum = 1966081;BA.debugLine="Return \"Manually\"";
if (true) return "Manually";
RDebugUtils.currentLine=1966082;
 //BA.debugLineNum = 1966082;BA.debugLine="End Sub";
return "";
}
public int  _getcurrentindex(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getcurrentindex", false))
	 {return ((Integer) Debug.delegate(ba, "getcurrentindex", null));}
RDebugUtils.currentLine=4325376;
 //BA.debugLineNum = 4325376;BA.debugLine="Public Sub getCurrentIndex As Int";
RDebugUtils.currentLine=4325377;
 //BA.debugLineNum = 4325377;BA.debugLine="Return CurrenIndex";
if (true) return __ref._currenindex /*int*/ ;
RDebugUtils.currentLine=4325378;
 //BA.debugLineNum = 4325378;BA.debugLine="End Sub";
return 0;
}
public boolean  _getcurrenttabunderline(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getcurrenttabunderline", false))
	 {return ((Boolean) Debug.delegate(ba, "getcurrenttabunderline", null));}
RDebugUtils.currentLine=6291456;
 //BA.debugLineNum = 6291456;BA.debugLine="Public Sub getCurrentTabUnderline As Boolean";
RDebugUtils.currentLine=6291457;
 //BA.debugLineNum = 6291457;BA.debugLine="Return g_CurrentTabUnderline";
if (true) return __ref._g_currenttabunderline /*boolean*/ ;
RDebugUtils.currentLine=6291458;
 //BA.debugLineNum = 6291458;BA.debugLine="End Sub";
return false;
}
public String  _getcurrenttabunderlineanimation(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getcurrenttabunderlineanimation", false))
	 {return ((String) Debug.delegate(ba, "getcurrenttabunderlineanimation", null));}
RDebugUtils.currentLine=6160384;
 //BA.debugLineNum = 6160384;BA.debugLine="Public Sub getCurrentTabUnderlineAnimation As Stri";
RDebugUtils.currentLine=6160385;
 //BA.debugLineNum = 6160385;BA.debugLine="Return g_CurrentTabUnderlineAnimation";
if (true) return __ref._g_currenttabunderlineanimation /*String*/ ;
RDebugUtils.currentLine=6160386;
 //BA.debugLineNum = 6160386;BA.debugLine="End Sub";
return "";
}
public int  _getcurrenttabunderlineanimationduration(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getcurrenttabunderlineanimationduration", false))
	 {return ((Integer) Debug.delegate(ba, "getcurrenttabunderlineanimationduration", null));}
RDebugUtils.currentLine=6029312;
 //BA.debugLineNum = 6029312;BA.debugLine="Public Sub getCurrentTabUnderlineAnimationDuration";
RDebugUtils.currentLine=6029313;
 //BA.debugLineNum = 6029313;BA.debugLine="Return g_CurrentTabUnderlineAnimationDuration";
if (true) return __ref._g_currenttabunderlineanimationduration /*int*/ ;
RDebugUtils.currentLine=6029314;
 //BA.debugLineNum = 6029314;BA.debugLine="End Sub";
return 0;
}
public String  _getcurrenttabunderlinegravity(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getcurrenttabunderlinegravity", false))
	 {return ((String) Debug.delegate(ba, "getcurrenttabunderlinegravity", null));}
RDebugUtils.currentLine=4390912;
 //BA.debugLineNum = 4390912;BA.debugLine="Public Sub getCurrentTabUnderlineGravity As String";
RDebugUtils.currentLine=4390913;
 //BA.debugLineNum = 4390913;BA.debugLine="Return g_CurrentTabUnderlineGravity";
if (true) return __ref._g_currenttabunderlinegravity /*String*/ ;
RDebugUtils.currentLine=4390914;
 //BA.debugLineNum = 4390914;BA.debugLine="End Sub";
return "";
}
public boolean  _getenableselectedtabtextcolor(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getenableselectedtabtextcolor", false))
	 {return ((Boolean) Debug.delegate(ba, "getenableselectedtabtextcolor", null));}
RDebugUtils.currentLine=5898240;
 //BA.debugLineNum = 5898240;BA.debugLine="Public Sub getEnableSelectedTabTextColor As Boolea";
RDebugUtils.currentLine=5898241;
 //BA.debugLineNum = 5898241;BA.debugLine="Return g_EnableSelectedTabTextColor";
if (true) return __ref._g_enableselectedtabtextcolor /*boolean*/ ;
RDebugUtils.currentLine=5898242;
 //BA.debugLineNum = 5898242;BA.debugLine="End Sub";
return false;
}
public int  _gethaloduration(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "gethaloduration", false))
	 {return ((Integer) Debug.delegate(ba, "gethaloduration", null));}
RDebugUtils.currentLine=3014656;
 //BA.debugLineNum = 3014656;BA.debugLine="Public Sub getHaloDuration As Int";
RDebugUtils.currentLine=3014657;
 //BA.debugLineNum = 3014657;BA.debugLine="Return g_HaloDuration";
if (true) return __ref._g_haloduration /*int*/ ;
RDebugUtils.currentLine=3014658;
 //BA.debugLineNum = 3014658;BA.debugLine="End Sub";
return 0;
}
public String  _getorientation_automatic(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getorientation_automatic", false))
	 {return ((String) Debug.delegate(ba, "getorientation_automatic", null));}
RDebugUtils.currentLine=2555904;
 //BA.debugLineNum = 2555904;BA.debugLine="Public Sub getOrientation_AUTOMATIC As String";
RDebugUtils.currentLine=2555905;
 //BA.debugLineNum = 2555905;BA.debugLine="Return \"Automatic\"";
if (true) return "Automatic";
RDebugUtils.currentLine=2555906;
 //BA.debugLineNum = 2555906;BA.debugLine="End Sub";
return "";
}
public String  _getorientation_vertical(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getorientation_vertical", false))
	 {return ((String) Debug.delegate(ba, "getorientation_vertical", null));}
RDebugUtils.currentLine=2686976;
 //BA.debugLineNum = 2686976;BA.debugLine="Public Sub getOrientation_VERTICAL As String";
RDebugUtils.currentLine=2686977;
 //BA.debugLineNum = 2686977;BA.debugLine="Return \"Vertical\"";
if (true) return "Vertical";
RDebugUtils.currentLine=2686978;
 //BA.debugLineNum = 2686978;BA.debugLine="End Sub";
return "";
}
public int  _getpartinglinecolor(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getpartinglinecolor", false))
	 {return ((Integer) Debug.delegate(ba, "getpartinglinecolor", null));}
RDebugUtils.currentLine=5177344;
 //BA.debugLineNum = 5177344;BA.debugLine="Public Sub getPartingLineColor As Int";
RDebugUtils.currentLine=5177345;
 //BA.debugLineNum = 5177345;BA.debugLine="Return pl_clr";
if (true) return __ref._pl_clr /*int*/ ;
RDebugUtils.currentLine=5177346;
 //BA.debugLineNum = 5177346;BA.debugLine="End Sub";
return 0;
}
public boolean  _getpartinglinevisible(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getpartinglinevisible", false))
	 {return ((Boolean) Debug.delegate(ba, "getpartinglinevisible", null));}
RDebugUtils.currentLine=5439488;
 //BA.debugLineNum = 5439488;BA.debugLine="Public Sub getPartingLineVisible As Boolean";
RDebugUtils.currentLine=5439489;
 //BA.debugLineNum = 5439489;BA.debugLine="Return g_PartingLineVisible";
if (true) return __ref._g_partinglinevisible /*boolean*/ ;
RDebugUtils.currentLine=5439490;
 //BA.debugLineNum = 5439490;BA.debugLine="End Sub";
return false;
}
public float  _getpartinglinewidth(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getpartinglinewidth", false))
	 {return ((Float) Debug.delegate(ba, "getpartinglinewidth", null));}
RDebugUtils.currentLine=5308416;
 //BA.debugLineNum = 5308416;BA.debugLine="Public Sub getPartingLineWidth As Float";
RDebugUtils.currentLine=5308417;
 //BA.debugLineNum = 5308417;BA.debugLine="Return pl_width";
if (true) return __ref._pl_width /*float*/ ;
RDebugUtils.currentLine=5308418;
 //BA.debugLineNum = 5308418;BA.debugLine="End Sub";
return 0f;
}
public int  _getselectedtabtextcolor(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getselectedtabtextcolor", false))
	 {return ((Integer) Debug.delegate(ba, "getselectedtabtextcolor", null));}
RDebugUtils.currentLine=5767168;
 //BA.debugLineNum = 5767168;BA.debugLine="Public Sub getSelectedTabTextColor As Int";
RDebugUtils.currentLine=5767169;
 //BA.debugLineNum = 5767169;BA.debugLine="Return g_SelectedTabTextColor";
if (true) return __ref._g_selectedtabtextcolor /*int*/ ;
RDebugUtils.currentLine=5767170;
 //BA.debugLineNum = 5767170;BA.debugLine="End Sub";
return 0;
}
public int  _gettabbackgroundcolor(com.as.tabmenu.astabmenu __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "gettabbackgroundcolor", false))
	 {return ((Integer) Debug.delegate(ba, "gettabbackgroundcolor", new Object[] {_index}));}
anywheresoftware.b4a.objects.B4XViewWrapper _tmp_tab = null;
RDebugUtils.currentLine=4259840;
 //BA.debugLineNum = 4259840;BA.debugLine="Public Sub getTabBackgroundColor(index As Int) As";
RDebugUtils.currentLine=4259841;
 //BA.debugLineNum = 4259841;BA.debugLine="Dim tmp_tab As B4XView = xpnl_tabbase.GetView(ind";
_tmp_tab = new anywheresoftware.b4a.objects.B4XViewWrapper();
_tmp_tab = __ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_index);
RDebugUtils.currentLine=4259842;
 //BA.debugLineNum = 4259842;BA.debugLine="Return tmp_tab.Color";
if (true) return _tmp_tab.getColor();
RDebugUtils.currentLine=4259843;
 //BA.debugLineNum = 4259843;BA.debugLine="End Sub";
return 0;
}
public anywheresoftware.b4a.objects.B4XViewWrapper  _gettabbase(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "gettabbase", false))
	 {return ((anywheresoftware.b4a.objects.B4XViewWrapper) Debug.delegate(ba, "gettabbase", null));}
RDebugUtils.currentLine=3801088;
 //BA.debugLineNum = 3801088;BA.debugLine="Public Sub getTabBase As B4XView";
RDebugUtils.currentLine=3801089;
 //BA.debugLineNum = 3801089;BA.debugLine="Return xpnl_tabbase";
if (true) return __ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ ;
RDebugUtils.currentLine=3801090;
 //BA.debugLineNum = 3801090;BA.debugLine="End Sub";
return null;
}
public int  _gettabclickcolor(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "gettabclickcolor", false))
	 {return ((Integer) Debug.delegate(ba, "gettabclickcolor", null));}
RDebugUtils.currentLine=5636096;
 //BA.debugLineNum = 5636096;BA.debugLine="Public Sub getTabClickColor As Int";
RDebugUtils.currentLine=5636097;
 //BA.debugLineNum = 5636097;BA.debugLine="Return g_TabClickColor";
if (true) return __ref._g_tabclickcolor /*int*/ ;
RDebugUtils.currentLine=5636098;
 //BA.debugLineNum = 5636098;BA.debugLine="End Sub";
return 0;
}
public anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper  _gettabicon(com.as.tabmenu.astabmenu __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "gettabicon", false))
	 {return ((anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper) Debug.delegate(ba, "gettabicon", new Object[] {_index}));}
com.as.tabmenu.astabmenu._tabs _tmp_tab = null;
RDebugUtils.currentLine=4784128;
 //BA.debugLineNum = 4784128;BA.debugLine="Public Sub getTabIcon(index As Int) As B4XBitmap";
RDebugUtils.currentLine=4784129;
 //BA.debugLineNum = 4784129;BA.debugLine="Dim tmp_tab As Tabs = xpnl_tabbase.GetView(index)";
_tmp_tab = (com.as.tabmenu.astabmenu._tabs)(__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_index).getTag());
RDebugUtils.currentLine=4784130;
 //BA.debugLineNum = 4784130;BA.debugLine="Return tmp_tab.Icon";
if (true) return _tmp_tab.Icon /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ ;
RDebugUtils.currentLine=4784131;
 //BA.debugLineNum = 4784131;BA.debugLine="End Sub";
return null;
}
public int  _gettabsize(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "gettabsize", false))
	 {return ((Integer) Debug.delegate(ba, "gettabsize", null));}
RDebugUtils.currentLine=6684672;
 //BA.debugLineNum = 6684672;BA.debugLine="Public Sub getTabSize As Int";
RDebugUtils.currentLine=6684673;
 //BA.debugLineNum = 6684673;BA.debugLine="Return xpnl_tabbase.NumberOfViews";
if (true) return __ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getNumberOfViews();
RDebugUtils.currentLine=6684674;
 //BA.debugLineNum = 6684674;BA.debugLine="End Sub";
return 0;
}
public boolean  _gettabstripmode(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "gettabstripmode", false))
	 {return ((Boolean) Debug.delegate(ba, "gettabstripmode", null));}
RDebugUtils.currentLine=3145728;
 //BA.debugLineNum = 3145728;BA.debugLine="Public Sub getTabStripMode As Boolean";
RDebugUtils.currentLine=3145729;
 //BA.debugLineNum = 3145729;BA.debugLine="Return g_TabStripMode";
if (true) return __ref._g_tabstripmode /*boolean*/ ;
RDebugUtils.currentLine=3145730;
 //BA.debugLineNum = 3145730;BA.debugLine="End Sub";
return false;
}
public String  _gettabstyle(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "gettabstyle", false))
	 {return ((String) Debug.delegate(ba, "gettabstyle", null));}
RDebugUtils.currentLine=6422528;
 //BA.debugLineNum = 6422528;BA.debugLine="Public Sub getTabStyle As String";
RDebugUtils.currentLine=6422529;
 //BA.debugLineNum = 6422529;BA.debugLine="Return g_TabStyle";
if (true) return __ref._g_tabstyle /*String*/ ;
RDebugUtils.currentLine=6422530;
 //BA.debugLineNum = 6422530;BA.debugLine="End Sub";
return "";
}
public String  _gettabstyle_icon(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "gettabstyle_icon", false))
	 {return ((String) Debug.delegate(ba, "gettabstyle_icon", null));}
RDebugUtils.currentLine=2818048;
 //BA.debugLineNum = 2818048;BA.debugLine="Public Sub getTabStyle_ICON As String";
RDebugUtils.currentLine=2818049;
 //BA.debugLineNum = 2818049;BA.debugLine="Return \"Icon\"";
if (true) return "Icon";
RDebugUtils.currentLine=2818050;
 //BA.debugLineNum = 2818050;BA.debugLine="End Sub";
return "";
}
public String  _gettabstyle_text(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "gettabstyle_text", false))
	 {return ((String) Debug.delegate(ba, "gettabstyle_text", null));}
RDebugUtils.currentLine=2752512;
 //BA.debugLineNum = 2752512;BA.debugLine="Public Sub getTabStyle_TEXT As String";
RDebugUtils.currentLine=2752513;
 //BA.debugLineNum = 2752513;BA.debugLine="Return \"Text\"";
if (true) return "Text";
RDebugUtils.currentLine=2752514;
 //BA.debugLineNum = 2752514;BA.debugLine="End Sub";
return "";
}
public String  _gettabstyle_texticon(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "gettabstyle_texticon", false))
	 {return ((String) Debug.delegate(ba, "gettabstyle_texticon", null));}
RDebugUtils.currentLine=2883584;
 //BA.debugLineNum = 2883584;BA.debugLine="Public Sub getTabStyle_TEXTICON As String";
RDebugUtils.currentLine=2883585;
 //BA.debugLineNum = 2883585;BA.debugLine="Return \"TextIcon\"";
if (true) return "TextIcon";
RDebugUtils.currentLine=2883586;
 //BA.debugLineNum = 2883586;BA.debugLine="End Sub";
return "";
}
public Object  _gettabtag(com.as.tabmenu.astabmenu __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "gettabtag", false))
	 {return ((Object) Debug.delegate(ba, "gettabtag", new Object[] {_index}));}
com.as.tabmenu.astabmenu._tabs _tmp_tab = null;
RDebugUtils.currentLine=4521984;
 //BA.debugLineNum = 4521984;BA.debugLine="Public Sub getTabTag(index As Int) As Object";
RDebugUtils.currentLine=4521985;
 //BA.debugLineNum = 4521985;BA.debugLine="Dim tmp_tab As Tabs = xpnl_tabbase.GetView(index)";
_tmp_tab = (com.as.tabmenu.astabmenu._tabs)(__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_index).getTag());
RDebugUtils.currentLine=4521986;
 //BA.debugLineNum = 4521986;BA.debugLine="Return tmp_tab.Tag";
if (true) return _tmp_tab.Tag /*Object*/ ;
RDebugUtils.currentLine=4521987;
 //BA.debugLineNum = 4521987;BA.debugLine="End Sub";
return null;
}
public String  _gettabtext(com.as.tabmenu.astabmenu __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "gettabtext", false))
	 {return ((String) Debug.delegate(ba, "gettabtext", new Object[] {_index}));}
com.as.tabmenu.astabmenu._tabs _tmp_tab = null;
RDebugUtils.currentLine=4653056;
 //BA.debugLineNum = 4653056;BA.debugLine="Public Sub getTabText(index As Int) As String";
RDebugUtils.currentLine=4653057;
 //BA.debugLineNum = 4653057;BA.debugLine="Dim tmp_tab As Tabs = xpnl_tabbase.GetView(index)";
_tmp_tab = (com.as.tabmenu.astabmenu._tabs)(__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_index).getTag());
RDebugUtils.currentLine=4653058;
 //BA.debugLineNum = 4653058;BA.debugLine="Return tmp_tab.TabText";
if (true) return _tmp_tab.TabText /*String*/ ;
RDebugUtils.currentLine=4653059;
 //BA.debugLineNum = 4653059;BA.debugLine="End Sub";
return "";
}
public int  _gettabtextcolor(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "gettabtextcolor", false))
	 {return ((Integer) Debug.delegate(ba, "gettabtextcolor", null));}
RDebugUtils.currentLine=6619136;
 //BA.debugLineNum = 6619136;BA.debugLine="Public Sub getTabTextColor As Int";
RDebugUtils.currentLine=6619137;
 //BA.debugLineNum = 6619137;BA.debugLine="Return g_TabTextColor";
if (true) return __ref._g_tabtextcolor /*int*/ ;
RDebugUtils.currentLine=6619138;
 //BA.debugLineNum = 6619138;BA.debugLine="End Sub";
return 0;
}
public int  _getunderlinecolor(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getunderlinecolor", false))
	 {return ((Integer) Debug.delegate(ba, "getunderlinecolor", null));}
RDebugUtils.currentLine=4915200;
 //BA.debugLineNum = 4915200;BA.debugLine="Public Sub getUnderLineColor As Int";
RDebugUtils.currentLine=4915201;
 //BA.debugLineNum = 4915201;BA.debugLine="Return ul_clr";
if (true) return __ref._ul_clr /*int*/ ;
RDebugUtils.currentLine=4915202;
 //BA.debugLineNum = 4915202;BA.debugLine="End Sub";
return 0;
}
public float  _getunderlineheight(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "getunderlineheight", false))
	 {return ((Float) Debug.delegate(ba, "getunderlineheight", null));}
RDebugUtils.currentLine=5046272;
 //BA.debugLineNum = 5046272;BA.debugLine="Public Sub getUnderLineHeight As Float";
RDebugUtils.currentLine=5046273;
 //BA.debugLineNum = 5046273;BA.debugLine="Return ul_height";
if (true) return __ref._ul_height /*float*/ ;
RDebugUtils.currentLine=5046274;
 //BA.debugLineNum = 5046274;BA.debugLine="End Sub";
return 0f;
}
public String  _initialize(com.as.tabmenu.astabmenu __ref,anywheresoftware.b4a.BA _ba,Object _callback,String _eventname) throws Exception{
__ref = this;
innerInitialize(_ba);
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "initialize", false))
	 {return ((String) Debug.delegate(ba, "initialize", new Object[] {_ba,_callback,_eventname}));}
RDebugUtils.currentLine=1441792;
 //BA.debugLineNum = 1441792;BA.debugLine="Public Sub Initialize (Callback As Object, EventNa";
RDebugUtils.currentLine=1441793;
 //BA.debugLineNum = 1441793;BA.debugLine="mEventName = EventName";
__ref._meventname /*String*/  = _eventname;
RDebugUtils.currentLine=1441794;
 //BA.debugLineNum = 1441794;BA.debugLine="mCallBack = Callback";
__ref._mcallback /*Object*/  = _callback;
RDebugUtils.currentLine=1441795;
 //BA.debugLineNum = 1441795;BA.debugLine="text_font = xui.CreateDefaultBoldFont(15)";
__ref._text_font /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont*/  = __ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .CreateDefaultBoldFont((float) (15));
RDebugUtils.currentLine=1441796;
 //BA.debugLineNum = 1441796;BA.debugLine="End Sub";
return "";
}
public int  _measuretextwidth(com.as.tabmenu.astabmenu __ref,String _text,anywheresoftware.b4a.objects.B4XViewWrapper.B4XFont _font1) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "measuretextwidth", false))
	 {return ((Integer) Debug.delegate(ba, "measuretextwidth", new Object[] {_text,_font1}));}
anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper _bmp = null;
anywheresoftware.b4a.objects.drawable.CanvasWrapper _cvs = null;
RDebugUtils.currentLine=7667712;
 //BA.debugLineNum = 7667712;BA.debugLine="Private Sub MeasureTextWidth(Text As String, Font1";
RDebugUtils.currentLine=7667714;
 //BA.debugLineNum = 7667714;BA.debugLine="Private bmp As Bitmap";
_bmp = new anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper();
RDebugUtils.currentLine=7667715;
 //BA.debugLineNum = 7667715;BA.debugLine="bmp.InitializeMutable(2dip, 2dip)";
_bmp.InitializeMutable(__c.DipToCurrent((int) (2)),__c.DipToCurrent((int) (2)));
RDebugUtils.currentLine=7667716;
 //BA.debugLineNum = 7667716;BA.debugLine="Private cvs As Canvas";
_cvs = new anywheresoftware.b4a.objects.drawable.CanvasWrapper();
RDebugUtils.currentLine=7667717;
 //BA.debugLineNum = 7667717;BA.debugLine="cvs.Initialize2(bmp)";
_cvs.Initialize2((android.graphics.Bitmap)(_bmp.getObject()));
RDebugUtils.currentLine=7667718;
 //BA.debugLineNum = 7667718;BA.debugLine="Return cvs.MeasureStringWidth(Text, Font1.ToNativ";
if (true) return (int) (_cvs.MeasureStringWidth(_text,(android.graphics.Typeface)(_font1.ToNativeFont().getObject()),_font1.getSize()));
RDebugUtils.currentLine=7667730;
 //BA.debugLineNum = 7667730;BA.debugLine="End Sub";
return 0;
}
public String  _removealltabs(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "removealltabs", false))
	 {return ((String) Debug.delegate(ba, "removealltabs", null));}
RDebugUtils.currentLine=7012352;
 //BA.debugLineNum = 7012352;BA.debugLine="Public Sub RemoveAllTabs";
RDebugUtils.currentLine=7012353;
 //BA.debugLineNum = 7012353;BA.debugLine="xpnl_tabbase.RemoveAllViews";
__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .RemoveAllViews();
RDebugUtils.currentLine=7012354;
 //BA.debugLineNum = 7012354;BA.debugLine="End Sub";
return "";
}
public String  _removeat(com.as.tabmenu.astabmenu __ref,int _index) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "removeat", false))
	 {return ((String) Debug.delegate(ba, "removeat", new Object[] {_index}));}
int _i = 0;
anywheresoftware.b4a.objects.B4XViewWrapper _tmp_base = null;
com.as.tabmenu.astabmenu._tabs _tmp_tabs = null;
RDebugUtils.currentLine=6946816;
 //BA.debugLineNum = 6946816;BA.debugLine="Public Sub RemoveAt(index As Int)";
RDebugUtils.currentLine=6946817;
 //BA.debugLineNum = 6946817;BA.debugLine="xpnl_tabbase.GetView(index).RemoveViewFromParent";
__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_index).RemoveViewFromParent();
RDebugUtils.currentLine=6946818;
 //BA.debugLineNum = 6946818;BA.debugLine="mBase.GetView(index + 2).RemoveViewFromParent";
__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView((int) (_index+2)).RemoveViewFromParent();
RDebugUtils.currentLine=6946819;
 //BA.debugLineNum = 6946819;BA.debugLine="For i = 0 To xpnl_tabbase.NumberOfViews -1";
{
final int step3 = 1;
final int limit3 = (int) (__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getNumberOfViews()-1);
_i = (int) (0) ;
for (;_i <= limit3 ;_i = _i + step3 ) {
RDebugUtils.currentLine=6946821;
 //BA.debugLineNum = 6946821;BA.debugLine="Dim tmp_base As B4XView = xpnl_tabbase.GetView(i";
_tmp_base = new anywheresoftware.b4a.objects.B4XViewWrapper();
_tmp_base = __ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_i);
RDebugUtils.currentLine=6946822;
 //BA.debugLineNum = 6946822;BA.debugLine="Dim tmp_tabs As Tabs = tmp_base.Tag";
_tmp_tabs = (com.as.tabmenu.astabmenu._tabs)(_tmp_base.getTag());
RDebugUtils.currentLine=6946823;
 //BA.debugLineNum = 6946823;BA.debugLine="tmp_tabs.index = i";
_tmp_tabs.Index /*int*/  = _i;
RDebugUtils.currentLine=6946824;
 //BA.debugLineNum = 6946824;BA.debugLine="tmp_base.Tag = tmp_tabs";
_tmp_base.setTag((Object)(_tmp_tabs));
 }
};
RDebugUtils.currentLine=6946826;
 //BA.debugLineNum = 6946826;BA.debugLine="Base_Resize(mBase.Width,mBase.Height)";
__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=6946827;
 //BA.debugLineNum = 6946827;BA.debugLine="setCurrentTabUnderline(g_CurrentTabUnderline)";
__ref._setcurrenttabunderline /*String*/ (null,__ref._g_currenttabunderline /*boolean*/ );
RDebugUtils.currentLine=6946828;
 //BA.debugLineNum = 6946828;BA.debugLine="End Sub";
return "";
}
public String  _setbadge_setleftpadding(com.as.tabmenu.astabmenu __ref,float _padding) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "setbadge_setleftpadding", false))
	 {return ((String) Debug.delegate(ba, "setbadge_setleftpadding", new Object[] {_padding}));}
RDebugUtils.currentLine=1703936;
 //BA.debugLineNum = 1703936;BA.debugLine="Public Sub setBadge_setLeftPadding(padding As Floa";
RDebugUtils.currentLine=1703937;
 //BA.debugLineNum = 1703937;BA.debugLine="g_BadgeLeftPadding = padding";
__ref._g_badgeleftpadding /*float*/  = _padding;
RDebugUtils.currentLine=1703938;
 //BA.debugLineNum = 1703938;BA.debugLine="End Sub";
return "";
}
public String  _setcommitmode(com.as.tabmenu.astabmenu __ref,String _commit_mode) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "setcommitmode", false))
	 {return ((String) Debug.delegate(ba, "setcommitmode", new Object[] {_commit_mode}));}
RDebugUtils.currentLine=3276800;
 //BA.debugLineNum = 3276800;BA.debugLine="Public Sub setCommitMode(commit_mode As String)";
RDebugUtils.currentLine=3276801;
 //BA.debugLineNum = 3276801;BA.debugLine="g_commitmode = commit_mode";
__ref._g_commitmode /*String*/  = _commit_mode;
RDebugUtils.currentLine=3276802;
 //BA.debugLineNum = 3276802;BA.debugLine="End Sub";
return "";
}
public String  _setcurrenttabunderlineanimationduration(com.as.tabmenu.astabmenu __ref,int _duration) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "setcurrenttabunderlineanimationduration", false))
	 {return ((String) Debug.delegate(ba, "setcurrenttabunderlineanimationduration", new Object[] {_duration}));}
RDebugUtils.currentLine=6094848;
 //BA.debugLineNum = 6094848;BA.debugLine="Public Sub setCurrentTabUnderlineAnimationDuration";
RDebugUtils.currentLine=6094849;
 //BA.debugLineNum = 6094849;BA.debugLine="g_CurrentTabUnderlineAnimationDuration = duration";
__ref._g_currenttabunderlineanimationduration /*int*/  = _duration;
RDebugUtils.currentLine=6094850;
 //BA.debugLineNum = 6094850;BA.debugLine="End Sub";
return "";
}
public String  _setenableselectedtabtextcolor(com.as.tabmenu.astabmenu __ref,boolean _enable) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "setenableselectedtabtextcolor", false))
	 {return ((String) Debug.delegate(ba, "setenableselectedtabtextcolor", new Object[] {_enable}));}
RDebugUtils.currentLine=5963776;
 //BA.debugLineNum = 5963776;BA.debugLine="Public Sub setEnableSelectedTabTextColor(enable As";
RDebugUtils.currentLine=5963777;
 //BA.debugLineNum = 5963777;BA.debugLine="g_EnableSelectedTabTextColor = enable";
__ref._g_enableselectedtabtextcolor /*boolean*/  = _enable;
RDebugUtils.currentLine=5963778;
 //BA.debugLineNum = 5963778;BA.debugLine="End Sub";
return "";
}
public String  _sethaloduration(com.as.tabmenu.astabmenu __ref,int _duration) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "sethaloduration", false))
	 {return ((String) Debug.delegate(ba, "sethaloduration", new Object[] {_duration}));}
RDebugUtils.currentLine=3080192;
 //BA.debugLineNum = 3080192;BA.debugLine="Public Sub setHaloDuration(duration As Int)";
RDebugUtils.currentLine=3080193;
 //BA.debugLineNum = 3080193;BA.debugLine="g_HaloDuration = duration";
__ref._g_haloduration /*int*/  = _duration;
RDebugUtils.currentLine=3080194;
 //BA.debugLineNum = 3080194;BA.debugLine="End Sub";
return "";
}
public String  _setpartinglinecolor(com.as.tabmenu.astabmenu __ref,int _clr) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "setpartinglinecolor", false))
	 {return ((String) Debug.delegate(ba, "setpartinglinecolor", new Object[] {_clr}));}
RDebugUtils.currentLine=5242880;
 //BA.debugLineNum = 5242880;BA.debugLine="Public Sub setPartingLineColor(clr As Int)";
RDebugUtils.currentLine=5242881;
 //BA.debugLineNum = 5242881;BA.debugLine="pl_clr = clr";
__ref._pl_clr /*int*/  = _clr;
RDebugUtils.currentLine=5242882;
 //BA.debugLineNum = 5242882;BA.debugLine="Base_Resize(mBase.Width,mBase.Height)";
__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=5242883;
 //BA.debugLineNum = 5242883;BA.debugLine="End Sub";
return "";
}
public String  _setpartinglinewidth(com.as.tabmenu.astabmenu __ref,float _width) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "setpartinglinewidth", false))
	 {return ((String) Debug.delegate(ba, "setpartinglinewidth", new Object[] {_width}));}
RDebugUtils.currentLine=5373952;
 //BA.debugLineNum = 5373952;BA.debugLine="Public Sub setPartingLineWidth(width As Float)";
RDebugUtils.currentLine=5373953;
 //BA.debugLineNum = 5373953;BA.debugLine="pl_width = width";
__ref._pl_width /*float*/  = _width;
RDebugUtils.currentLine=5373954;
 //BA.debugLineNum = 5373954;BA.debugLine="Base_Resize(mBase.Width,mBase.Height)";
__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=5373955;
 //BA.debugLineNum = 5373955;BA.debugLine="End Sub";
return "";
}
public String  _setselectedtabtextcolor(com.as.tabmenu.astabmenu __ref,int _color) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "setselectedtabtextcolor", false))
	 {return ((String) Debug.delegate(ba, "setselectedtabtextcolor", new Object[] {_color}));}
RDebugUtils.currentLine=5832704;
 //BA.debugLineNum = 5832704;BA.debugLine="Public Sub setSelectedTabTextColor(color As Int)";
RDebugUtils.currentLine=5832705;
 //BA.debugLineNum = 5832705;BA.debugLine="g_SelectedTabTextColor = color";
__ref._g_selectedtabtextcolor /*int*/  = _color;
RDebugUtils.currentLine=5832706;
 //BA.debugLineNum = 5832706;BA.debugLine="End Sub";
return "";
}
public String  _settab(com.as.tabmenu.astabmenu __ref,int _index,boolean _withclickevent,boolean _withhalo) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "settab", false))
	 {return ((String) Debug.delegate(ba, "settab", new Object[] {_index,_withclickevent,_withhalo}));}
RDebugUtils.currentLine=6881280;
 //BA.debugLineNum = 6881280;BA.debugLine="Public Sub SetTab(index As Int,withClickEvent As B";
RDebugUtils.currentLine=6881281;
 //BA.debugLineNum = 6881281;BA.debugLine="TabClick(xpnl_tabbase.GetView(index),withClickEve";
__ref._tabclick /*String*/ (null,__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_index),_withclickevent,_withhalo);
RDebugUtils.currentLine=6881282;
 //BA.debugLineNum = 6881282;BA.debugLine="End Sub";
return "";
}
public String  _tabclick(com.as.tabmenu.astabmenu __ref,anywheresoftware.b4a.objects.B4XViewWrapper _xpnl_base,boolean _withevent,boolean _withhalo) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "tabclick", false))
	 {return ((String) Debug.delegate(ba, "tabclick", new Object[] {_xpnl_base,_withevent,_withhalo}));}
float _scale = 0f;
com.as.tabmenu.astabmenu._tabs _tmp_tab = null;
int _i = 0;
anywheresoftware.b4a.objects.B4XViewWrapper _tmp_base = null;
com.as.tabmenu.astabmenu._tabs _tmp_tabs = null;
anywheresoftware.b4a.objects.B4XViewWrapper _xlbl_text = null;
anywheresoftware.b4a.objects.B4XViewWrapper _ximg_icon = null;
RDebugUtils.currentLine=7208960;
 //BA.debugLineNum = 7208960;BA.debugLine="Private Sub TabClick(xpnl_base As B4XView,withEven";
RDebugUtils.currentLine=7208961;
 //BA.debugLineNum = 7208961;BA.debugLine="Dim scale As Float = 1";
_scale = (float) (1);
RDebugUtils.currentLine=7208966;
 //BA.debugLineNum = 7208966;BA.debugLine="Dim tmp_tab As Tabs = xpnl_base.Tag";
_tmp_tab = (com.as.tabmenu.astabmenu._tabs)(_xpnl_base.getTag());
RDebugUtils.currentLine=7208967;
 //BA.debugLineNum = 7208967;BA.debugLine="CurrenIndex = tmp_tab.index";
__ref._currenindex /*int*/  = _tmp_tab.Index /*int*/ ;
RDebugUtils.currentLine=7208968;
 //BA.debugLineNum = 7208968;BA.debugLine="If withHalo = True Then CreateHaloEffect(xpnl_bas";
if (_withhalo==__c.True) { 
__ref._createhaloeffect /*String*/ (null,_xpnl_base,(int) (_xpnl_base.getWidth()/(double)2),(int) (_xpnl_base.getHeight()/(double)2),__ref._g_tabclickcolor /*int*/ );};
RDebugUtils.currentLine=7208970;
 //BA.debugLineNum = 7208970;BA.debugLine="For i = 0 To xpnl_tabbase.NumberOfViews -1";
{
final int step5 = 1;
final int limit5 = (int) (__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getNumberOfViews()-1);
_i = (int) (0) ;
for (;_i <= limit5 ;_i = _i + step5 ) {
RDebugUtils.currentLine=7208971;
 //BA.debugLineNum = 7208971;BA.debugLine="Dim tmp_base As B4XView = xpnl_tabbase.GetView(i";
_tmp_base = new anywheresoftware.b4a.objects.B4XViewWrapper();
_tmp_base = __ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_i);
RDebugUtils.currentLine=7208972;
 //BA.debugLineNum = 7208972;BA.debugLine="Dim tmp_tabs As Tabs = tmp_base.Tag";
_tmp_tabs = (com.as.tabmenu.astabmenu._tabs)(_tmp_base.getTag());
RDebugUtils.currentLine=7208974;
 //BA.debugLineNum = 7208974;BA.debugLine="Dim xlbl_text As B4XView = tmp_base.GetView(0)";
_xlbl_text = new anywheresoftware.b4a.objects.B4XViewWrapper();
_xlbl_text = _tmp_base.GetView((int) (0));
RDebugUtils.currentLine=7208975;
 //BA.debugLineNum = 7208975;BA.debugLine="Dim ximg_icon As B4XView = tmp_base.GetView(1)";
_ximg_icon = new anywheresoftware.b4a.objects.B4XViewWrapper();
_ximg_icon = _tmp_base.GetView((int) (1));
RDebugUtils.currentLine=7208977;
 //BA.debugLineNum = 7208977;BA.debugLine="If tmp_tabs.index <> tmp_tab.index Then";
if (_tmp_tabs.Index /*int*/ !=_tmp_tab.Index /*int*/ ) { 
RDebugUtils.currentLine=7208978;
 //BA.debugLineNum = 7208978;BA.debugLine="xlbl_text.TextColor = g_TabTextColor";
_xlbl_text.setTextColor(__ref._g_tabtextcolor /*int*/ );
RDebugUtils.currentLine=7208979;
 //BA.debugLineNum = 7208979;BA.debugLine="If g_TabStyle = \"Icon\" Or g_TabStyle = \"TextIco";
if ((__ref._g_tabstyle /*String*/ ).equals("Icon") || (__ref._g_tabstyle /*String*/ ).equals("TextIcon")) { 
RDebugUtils.currentLine=7208981;
 //BA.debugLineNum = 7208981;BA.debugLine="If tmp_tabs.Icon.IsInitialized Then	ximg_icon.";
if (_tmp_tabs.Icon /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .IsInitialized()) { 
_ximg_icon.SetBitmap((android.graphics.Bitmap)(_tmp_tabs.Icon /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .Resize((int) (_ximg_icon.getWidth()*_scale),(int) (_ximg_icon.getHeight()*_scale),__c.True).getObject()));};
RDebugUtils.currentLine=7208982;
 //BA.debugLineNum = 7208982;BA.debugLine="TintBmp(ximg_icon,g_TabTextColor)";
__ref._tintbmp /*String*/ (null,(anywheresoftware.b4a.objects.ImageViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ImageViewWrapper(), (android.widget.ImageView)(_ximg_icon.getObject())),__ref._g_tabtextcolor /*int*/ );
 };
 }else {
RDebugUtils.currentLine=7208985;
 //BA.debugLineNum = 7208985;BA.debugLine="xlbl_text.TextColor = g_SelectedTabTextColor";
_xlbl_text.setTextColor(__ref._g_selectedtabtextcolor /*int*/ );
RDebugUtils.currentLine=7208986;
 //BA.debugLineNum = 7208986;BA.debugLine="If g_TabStyle = \"Icon\" Or g_TabStyle = \"TextIco";
if ((__ref._g_tabstyle /*String*/ ).equals("Icon") || (__ref._g_tabstyle /*String*/ ).equals("TextIcon")) { 
RDebugUtils.currentLine=7208988;
 //BA.debugLineNum = 7208988;BA.debugLine="If tmp_tabs.Icon.IsInitialized Then	ximg_icon.";
if (_tmp_tabs.Icon /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .IsInitialized()) { 
_ximg_icon.SetBitmap((android.graphics.Bitmap)(_tmp_tabs.Icon /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/ .Resize((int) (_ximg_icon.getWidth()*_scale),(int) (_ximg_icon.getHeight()*_scale),__c.True).getObject()));};
RDebugUtils.currentLine=7208989;
 //BA.debugLineNum = 7208989;BA.debugLine="TintBmp(ximg_icon,g_SelectedTabTextColor)";
__ref._tintbmp /*String*/ (null,(anywheresoftware.b4a.objects.ImageViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.ImageViewWrapper(), (android.widget.ImageView)(_ximg_icon.getObject())),__ref._g_selectedtabtextcolor /*int*/ );
 };
 };
 }
};
RDebugUtils.currentLine=7208994;
 //BA.debugLineNum = 7208994;BA.debugLine="SetUnderline2NewPos";
__ref._setunderline2newpos /*String*/ (null);
RDebugUtils.currentLine=7208996;
 //BA.debugLineNum = 7208996;BA.debugLine="If withEvent = True Then";
if (_withevent==__c.True) { 
RDebugUtils.currentLine=7208997;
 //BA.debugLineNum = 7208997;BA.debugLine="If xui.SubExists(mCallBack, mEventName & \"_TabCli";
if (__ref._xui /*anywheresoftware.b4a.objects.B4XViewWrapper.XUI*/ .SubExists(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_TabClick",(int) (1))) { 
RDebugUtils.currentLine=7208998;
 //BA.debugLineNum = 7208998;BA.debugLine="CallSub2(mCallBack, mEventName & \"_TabClick\",tmp";
__c.CallSubNew2(ba,__ref._mcallback /*Object*/ ,__ref._meventname /*String*/ +"_TabClick",(Object)(_tmp_tab.Index /*int*/ ));
 };
 };
RDebugUtils.currentLine=7209001;
 //BA.debugLineNum = 7209001;BA.debugLine="End Sub";
return "";
}
public String  _settabbackgroundcolor(com.as.tabmenu.astabmenu __ref,int _index,int _colour) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "settabbackgroundcolor", false))
	 {return ((String) Debug.delegate(ba, "settabbackgroundcolor", new Object[] {_index,_colour}));}
anywheresoftware.b4a.objects.B4XViewWrapper _tmp_tab = null;
RDebugUtils.currentLine=4194304;
 //BA.debugLineNum = 4194304;BA.debugLine="Public Sub setTabBackgroundColor (index As Int, co";
RDebugUtils.currentLine=4194305;
 //BA.debugLineNum = 4194305;BA.debugLine="Dim tmp_tab As B4XView = xpnl_tabbase.GetView(ind";
_tmp_tab = new anywheresoftware.b4a.objects.B4XViewWrapper();
_tmp_tab = __ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_index);
RDebugUtils.currentLine=4194306;
 //BA.debugLineNum = 4194306;BA.debugLine="tmp_tab.Color = colour";
_tmp_tab.setColor(_colour);
RDebugUtils.currentLine=4194307;
 //BA.debugLineNum = 4194307;BA.debugLine="End Sub";
return "";
}
public String  _settabclickcolor(com.as.tabmenu.astabmenu __ref,int _color) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "settabclickcolor", false))
	 {return ((String) Debug.delegate(ba, "settabclickcolor", new Object[] {_color}));}
RDebugUtils.currentLine=5701632;
 //BA.debugLineNum = 5701632;BA.debugLine="Public Sub setTabClickColor(color As Int)";
RDebugUtils.currentLine=5701633;
 //BA.debugLineNum = 5701633;BA.debugLine="g_TabClickColor = color";
__ref._g_tabclickcolor /*int*/  = _color;
RDebugUtils.currentLine=5701634;
 //BA.debugLineNum = 5701634;BA.debugLine="End Sub";
return "";
}
public String  _settabicon(com.as.tabmenu.astabmenu __ref,int _index,anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper _icon) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "settabicon", false))
	 {return ((String) Debug.delegate(ba, "settabicon", new Object[] {_index,_icon}));}
com.as.tabmenu.astabmenu._tabs _tmp_tab = null;
RDebugUtils.currentLine=4849664;
 //BA.debugLineNum = 4849664;BA.debugLine="Public Sub setTabIcon(index As Int,icon As B4XBitm";
RDebugUtils.currentLine=4849665;
 //BA.debugLineNum = 4849665;BA.debugLine="Dim tmp_tab As Tabs = xpnl_tabbase.GetView(index)";
_tmp_tab = (com.as.tabmenu.astabmenu._tabs)(__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_index).getTag());
RDebugUtils.currentLine=4849666;
 //BA.debugLineNum = 4849666;BA.debugLine="tmp_tab.Icon = icon";
_tmp_tab.Icon /*anywheresoftware.b4a.objects.B4XViewWrapper.B4XBitmapWrapper*/  = _icon;
RDebugUtils.currentLine=4849667;
 //BA.debugLineNum = 4849667;BA.debugLine="xpnl_tabbase.GetView(index).Tag = tmp_tab";
__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_index).setTag((Object)(_tmp_tab));
RDebugUtils.currentLine=4849668;
 //BA.debugLineNum = 4849668;BA.debugLine="If g_commitmode = getCommitMode_AUTOMATIC Then Ba";
if ((__ref._g_commitmode /*String*/ ).equals(__ref._getcommitmode_automatic /*String*/ (null))) { 
__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());};
RDebugUtils.currentLine=4849669;
 //BA.debugLineNum = 4849669;BA.debugLine="End Sub";
return "";
}
public String  _settabtag(com.as.tabmenu.astabmenu __ref,int _index,Object _tag) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "settabtag", false))
	 {return ((String) Debug.delegate(ba, "settabtag", new Object[] {_index,_tag}));}
com.as.tabmenu.astabmenu._tabs _tmp_tab = null;
RDebugUtils.currentLine=4587520;
 //BA.debugLineNum = 4587520;BA.debugLine="Public Sub setTabTag(index As Int,tag As Object)";
RDebugUtils.currentLine=4587521;
 //BA.debugLineNum = 4587521;BA.debugLine="Dim tmp_tab As Tabs = xpnl_tabbase.GetView(index)";
_tmp_tab = (com.as.tabmenu.astabmenu._tabs)(__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_index).getTag());
RDebugUtils.currentLine=4587522;
 //BA.debugLineNum = 4587522;BA.debugLine="tmp_tab.Tag = tag";
_tmp_tab.Tag /*Object*/  = _tag;
RDebugUtils.currentLine=4587523;
 //BA.debugLineNum = 4587523;BA.debugLine="xpnl_tabbase.GetView(index).Tag = tmp_tab";
__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_index).setTag((Object)(_tmp_tab));
RDebugUtils.currentLine=4587524;
 //BA.debugLineNum = 4587524;BA.debugLine="End Sub";
return "";
}
public String  _settabtext(com.as.tabmenu.astabmenu __ref,int _index,String _text) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "settabtext", false))
	 {return ((String) Debug.delegate(ba, "settabtext", new Object[] {_index,_text}));}
com.as.tabmenu.astabmenu._tabs _tmp_tab = null;
RDebugUtils.currentLine=4718592;
 //BA.debugLineNum = 4718592;BA.debugLine="Public Sub setTabText(index As Int,text As String)";
RDebugUtils.currentLine=4718593;
 //BA.debugLineNum = 4718593;BA.debugLine="Dim tmp_tab As Tabs = xpnl_tabbase.GetView(index)";
_tmp_tab = (com.as.tabmenu.astabmenu._tabs)(__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_index).getTag());
RDebugUtils.currentLine=4718594;
 //BA.debugLineNum = 4718594;BA.debugLine="tmp_tab.TabText = text";
_tmp_tab.TabText /*String*/  = _text;
RDebugUtils.currentLine=4718595;
 //BA.debugLineNum = 4718595;BA.debugLine="xpnl_tabbase.GetView(index).Tag = tmp_tab";
__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_index).setTag((Object)(_tmp_tab));
RDebugUtils.currentLine=4718596;
 //BA.debugLineNum = 4718596;BA.debugLine="If g_commitmode = getCommitMode_AUTOMATIC Then Ba";
if ((__ref._g_commitmode /*String*/ ).equals(__ref._getcommitmode_automatic /*String*/ (null))) { 
__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());};
RDebugUtils.currentLine=4718597;
 //BA.debugLineNum = 4718597;BA.debugLine="End Sub";
return "";
}
public String  _settabtextcolor(com.as.tabmenu.astabmenu __ref,int _color) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "settabtextcolor", false))
	 {return ((String) Debug.delegate(ba, "settabtextcolor", new Object[] {_color}));}
RDebugUtils.currentLine=6553600;
 //BA.debugLineNum = 6553600;BA.debugLine="Public Sub setTabTextColor(color As Int)";
RDebugUtils.currentLine=6553601;
 //BA.debugLineNum = 6553601;BA.debugLine="g_TabTextColor = color";
__ref._g_tabtextcolor /*int*/  = _color;
RDebugUtils.currentLine=6553602;
 //BA.debugLineNum = 6553602;BA.debugLine="If g_commitmode = getCommitMode_AUTOMATIC Then Ba";
if ((__ref._g_commitmode /*String*/ ).equals(__ref._getcommitmode_automatic /*String*/ (null))) { 
__ref._base_resize /*String*/ (null,__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());};
RDebugUtils.currentLine=6553603;
 //BA.debugLineNum = 6553603;BA.debugLine="SetUnderline2NewPos";
__ref._setunderline2newpos /*String*/ (null);
RDebugUtils.currentLine=6553604;
 //BA.debugLineNum = 6553604;BA.debugLine="End Sub";
return "";
}
public String  _setunderlinecolor(com.as.tabmenu.astabmenu __ref,int _clr) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "setunderlinecolor", false))
	 {return ((String) Debug.delegate(ba, "setunderlinecolor", new Object[] {_clr}));}
RDebugUtils.currentLine=4980736;
 //BA.debugLineNum = 4980736;BA.debugLine="Public Sub setUnderLineColor(clr As Int)";
RDebugUtils.currentLine=4980737;
 //BA.debugLineNum = 4980737;BA.debugLine="ul_clr = clr";
__ref._ul_clr /*int*/  = _clr;
RDebugUtils.currentLine=4980738;
 //BA.debugLineNum = 4980738;BA.debugLine="Base_Resize(mBase.Width,mBase.Height)";
__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=4980739;
 //BA.debugLineNum = 4980739;BA.debugLine="End Sub";
return "";
}
public String  _setunderlineheight(com.as.tabmenu.astabmenu __ref,float _height) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "setunderlineheight", false))
	 {return ((String) Debug.delegate(ba, "setunderlineheight", new Object[] {_height}));}
RDebugUtils.currentLine=5111808;
 //BA.debugLineNum = 5111808;BA.debugLine="Public Sub setUnderLineHeight(height As Float)";
RDebugUtils.currentLine=5111809;
 //BA.debugLineNum = 5111809;BA.debugLine="ul_height = height";
__ref._ul_height /*float*/  = _height;
RDebugUtils.currentLine=5111810;
 //BA.debugLineNum = 5111810;BA.debugLine="SetUnderline2NewPos";
__ref._setunderline2newpos /*String*/ (null);
RDebugUtils.currentLine=5111811;
 //BA.debugLineNum = 5111811;BA.debugLine="Base_Resize(mBase.Width,mBase.Height)";
__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=5111812;
 //BA.debugLineNum = 5111812;BA.debugLine="End Sub";
return "";
}
public String  _viewenable(com.as.tabmenu.astabmenu __ref,boolean _enable) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "viewenable", false))
	 {return ((String) Debug.delegate(ba, "viewenable", new Object[] {_enable}));}
int _i = 0;
RDebugUtils.currentLine=6750208;
 //BA.debugLineNum = 6750208;BA.debugLine="Public Sub ViewEnable(enable As Boolean)";
RDebugUtils.currentLine=6750209;
 //BA.debugLineNum = 6750209;BA.debugLine="For i = 0 To xpnl_tabbase.NumberOfViews -1";
{
final int step1 = 1;
final int limit1 = (int) (__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getNumberOfViews()-1);
_i = (int) (0) ;
for (;_i <= limit1 ;_i = _i + step1 ) {
RDebugUtils.currentLine=6750214;
 //BA.debugLineNum = 6750214;BA.debugLine="xpnl_tabbase.GetView(i).Enabled = enable";
__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_i).setEnabled(_enable);
 }
};
RDebugUtils.currentLine=6750217;
 //BA.debugLineNum = 6750217;BA.debugLine="End Sub";
return "";
}
public String  _visibleat(com.as.tabmenu.astabmenu __ref,int _index,boolean _visible) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "visibleat", false))
	 {return ((String) Debug.delegate(ba, "visibleat", new Object[] {_index,_visible}));}
com.as.tabmenu.astabmenu._tabs _tmp_tab = null;
RDebugUtils.currentLine=7077888;
 //BA.debugLineNum = 7077888;BA.debugLine="Public Sub VisibleAt(index As Int,visible As Boole";
RDebugUtils.currentLine=7077889;
 //BA.debugLineNum = 7077889;BA.debugLine="Dim tmp_tab As Tabs = xpnl_tabbase.GetView(index)";
_tmp_tab = (com.as.tabmenu.astabmenu._tabs)(__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_index).getTag());
RDebugUtils.currentLine=7077890;
 //BA.debugLineNum = 7077890;BA.debugLine="tmp_tab.Visible = visible";
_tmp_tab.Visible /*boolean*/  = _visible;
RDebugUtils.currentLine=7077891;
 //BA.debugLineNum = 7077891;BA.debugLine="xpnl_tabbase.GetView(index).Tag = tmp_tab";
__ref._xpnl_tabbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .GetView(_index).setTag((Object)(_tmp_tab));
RDebugUtils.currentLine=7077892;
 //BA.debugLineNum = 7077892;BA.debugLine="Base_Resize(mBase.Width,mBase.Height)";
__ref._base_resize /*String*/ (null,__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getWidth(),__ref._mbase /*anywheresoftware.b4a.objects.B4XViewWrapper*/ .getHeight());
RDebugUtils.currentLine=7077893;
 //BA.debugLineNum = 7077893;BA.debugLine="setCurrentTabUnderline(g_CurrentTabUnderline)";
__ref._setcurrenttabunderline /*String*/ (null,__ref._g_currenttabunderline /*boolean*/ );
RDebugUtils.currentLine=7077894;
 //BA.debugLineNum = 7077894;BA.debugLine="End Sub";
return "";
}
public String  _xpnl_base_click(com.as.tabmenu.astabmenu __ref) throws Exception{
__ref = this;
RDebugUtils.currentModule="astabmenu";
if (Debug.shouldDelegate(ba, "xpnl_base_click", false))
	 {return ((String) Debug.delegate(ba, "xpnl_base_click", null));}
RDebugUtils.currentLine=7143424;
 //BA.debugLineNum = 7143424;BA.debugLine="Private Sub xpnl_base_Click";
RDebugUtils.currentLine=7143426;
 //BA.debugLineNum = 7143426;BA.debugLine="TabClick(Sender,True,g_EnableSelectedTabTextColor";
__ref._tabclick /*String*/ (null,(anywheresoftware.b4a.objects.B4XViewWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4a.objects.B4XViewWrapper(), (java.lang.Object)(__c.Sender(ba))),__c.True,__ref._g_enableselectedtabtextcolor /*boolean*/ );
RDebugUtils.currentLine=7143427;
 //BA.debugLineNum = 7143427;BA.debugLine="End Sub";
return "";
}
}