package gunav2.keymon.com.mx.designerscripts;
import anywheresoftware.b4a.objects.TextViewWrapper;
import anywheresoftware.b4a.objects.ImageViewWrapper;
import anywheresoftware.b4a.BA;


public class LS_cliente{

public static void LS_general(anywheresoftware.b4a.BA ba, android.view.View parent, anywheresoftware.b4a.keywords.LayoutValues lv, java.util.Map props,
java.util.Map<String, anywheresoftware.b4a.keywords.LayoutBuilder.ViewWrapperAndAnchor> views, int width, int height, float scale) throws Exception {
anywheresoftware.b4a.keywords.LayoutBuilder.setScaleRate(0.3);
//BA.debugLineNum = 2;BA.debugLine="AutoScaleAll 'uncomment to scale all views based on the device physical size."[cliente/General script]
anywheresoftware.b4a.keywords.LayoutBuilder.scaleAll(views);
//BA.debugLineNum = 3;BA.debugLine="imgPlanLealtad.HorizontalCenter = 50%x"[cliente/General script]
views.get("imgplanlealtad").vw.setLeft((int)((50d / 100 * width) - (views.get("imgplanlealtad").vw.getWidth() / 2)));
//BA.debugLineNum = 4;BA.debugLine="HIST.HorizontalCenter = 50%x"[cliente/General script]
views.get("hist").vw.setLeft((int)((50d / 100 * width) - (views.get("hist").vw.getWidth() / 2)));
//BA.debugLineNum = 9;BA.debugLine="Label1.HorizontalCenter = 20%x"[cliente/General script]
views.get("label1").vw.setLeft((int)((20d / 100 * width) - (views.get("label1").vw.getWidth() / 2)));
//BA.debugLineNum = 10;BA.debugLine="Label2.HorizontalCenter = 20%x"[cliente/General script]
views.get("label2").vw.setLeft((int)((20d / 100 * width) - (views.get("label2").vw.getWidth() / 2)));
//BA.debugLineNum = 11;BA.debugLine="Label3.HorizontalCenter = 20%x"[cliente/General script]
views.get("label3").vw.setLeft((int)((20d / 100 * width) - (views.get("label3").vw.getWidth() / 2)));
//BA.debugLineNum = 12;BA.debugLine="Label6.HorizontalCenter = 20%x"[cliente/General script]
views.get("label6").vw.setLeft((int)((20d / 100 * width) - (views.get("label6").vw.getWidth() / 2)));
//BA.debugLineNum = 13;BA.debugLine="Label18.HorizontalCenter = 20%x"[cliente/General script]
views.get("label18").vw.setLeft((int)((20d / 100 * width) - (views.get("label18").vw.getWidth() / 2)));
//BA.debugLineNum = 16;BA.debugLine="Label9.HorizontalCenter = 20%x"[cliente/General script]
views.get("label9").vw.setLeft((int)((20d / 100 * width) - (views.get("label9").vw.getWidth() / 2)));
//BA.debugLineNum = 17;BA.debugLine="Label17.HorizontalCenter = 20%x"[cliente/General script]
views.get("label17").vw.setLeft((int)((20d / 100 * width) - (views.get("label17").vw.getWidth() / 2)));
//BA.debugLineNum = 18;BA.debugLine="la_cuenta.HorizontalCenter = 60%x"[cliente/General script]
views.get("la_cuenta").vw.setLeft((int)((60d / 100 * width) - (views.get("la_cuenta").vw.getWidth() / 2)));
//BA.debugLineNum = 19;BA.debugLine="La_nombre.HorizontalCenter = 60%x"[cliente/General script]
views.get("la_nombre").vw.setLeft((int)((60d / 100 * width) - (views.get("la_nombre").vw.getWidth() / 2)));
//BA.debugLineNum = 20;BA.debugLine="la_Calle.HorizontalCenter = 60%x"[cliente/General script]
views.get("la_calle").vw.setLeft((int)((60d / 100 * width) - (views.get("la_calle").vw.getWidth() / 2)));
//BA.debugLineNum = 21;BA.debugLine="la_col.HorizontalCenter = 60%x"[cliente/General script]
views.get("la_col").vw.setLeft((int)((60d / 100 * width) - (views.get("la_col").vw.getWidth() / 2)));
//BA.debugLineNum = 22;BA.debugLine="l_entre1.HorizontalCenter = 60%x"[cliente/General script]
views.get("l_entre1").vw.setLeft((int)((60d / 100 * width) - (views.get("l_entre1").vw.getWidth() / 2)));
//BA.debugLineNum = 23;BA.debugLine="l_entre2.HorizontalCenter = 60%x"[cliente/General script]
views.get("l_entre2").vw.setLeft((int)((60d / 100 * width) - (views.get("l_entre2").vw.getWidth() / 2)));
//BA.debugLineNum = 24;BA.debugLine="l_atiende.HorizontalCenter = 60%x"[cliente/General script]
views.get("l_atiende").vw.setLeft((int)((60d / 100 * width) - (views.get("l_atiende").vw.getWidth() / 2)));
//BA.debugLineNum = 25;BA.debugLine="Label19.HorizontalCenter = 60%x"[cliente/General script]
views.get("label19").vw.setLeft((int)((60d / 100 * width) - (views.get("label19").vw.getWidth() / 2)));
//BA.debugLineNum = 28;BA.debugLine="ImageView4.HorizontalCenter = 85%X"[cliente/General script]
views.get("imageview4").vw.setLeft((int)((85d / 100 * width) - (views.get("imageview4").vw.getWidth() / 2)));
//BA.debugLineNum = 29;BA.debugLine="Guardar.HorizontalCenter = 78%X"[cliente/General script]
views.get("guardar").vw.setLeft((int)((78d / 100 * width) - (views.get("guardar").vw.getWidth() / 2)));
//BA.debugLineNum = 30;BA.debugLine="Tels.HorizontalCenter = 78%X"[cliente/General script]
views.get("tels").vw.setLeft((int)((78d / 100 * width) - (views.get("tels").vw.getWidth() / 2)));
//BA.debugLineNum = 31;BA.debugLine="b_preventa2.HorizontalCenter = 78%X"[cliente/General script]
views.get("b_preventa2").vw.setLeft((int)((78d / 100 * width) - (views.get("b_preventa2").vw.getWidth() / 2)));
//BA.debugLineNum = 32;BA.debugLine="b_enviarTicket.HorizontalCenter = 78%X"[cliente/General script]
views.get("b_enviarticket").vw.setLeft((int)((78d / 100 * width) - (views.get("b_enviarticket").vw.getWidth() / 2)));
//BA.debugLineNum = 33;BA.debugLine="btnPlanLealtad.HorizontalCenter = 78%X"[cliente/General script]
views.get("btnplanlealtad").vw.setLeft((int)((78d / 100 * width) - (views.get("btnplanlealtad").vw.getWidth() / 2)));
//BA.debugLineNum = 34;BA.debugLine="b_foto.HorizontalCenter = 50%x"[cliente/General script]
views.get("b_foto").vw.setLeft((int)((50d / 100 * width) - (views.get("b_foto").vw.getWidth() / 2)));

}
}