充电桩app代码

activity_screen.xml 11KB

    <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content"> <LinearLayout android:id="@+id/lLayout_bg" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_alignParentRight="true" android:layout_alignParentTop="true" android:orientation="vertical" > <ImageView android:id="@+id/iv1" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" android:background="@drawable/bg_ssyd2" android:visibility="gone"/> <ImageView android:id="@+id/iv2" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" /> <ImageView android:id="@+id/iv3" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" android:background="@drawable/bg_ssyd3" android:visibility="gone"/> <!--<TextView--> <!--android:layout_width="wrap_content"--> <!--android:layout_height="wrap_content"--> <!--android:layout_marginTop="16dp"--> <!--android:layout_marginLeft="16dp"--> <!--android:text="按充电接口"--> <!--android:textSize="15sp"--> <!--android:textColor="@color/title_row"/>--> <!--<RadioGroup--> <!--android:id="@+id/rg_chargetype"--> <!--android:layout_width="wrap_content"--> <!--android:layout_height="wrap_content"--> <!--android:layout_marginTop="8dp"--> <!--android:orientation="horizontal">--> <!--<RadioButton--> <!--android:id="@+id/rb_guo"--> <!--android:layout_width="fill_parent"--> <!--android:layout_height="wrap_content"--> <!--android:layout_marginLeft="16dp"--> <!--android:background="@drawable/btn_guobiao2"--> <!--android:button="@null"--> <!--/>--> <!--<RadioButton--> <!--android:id="@+id/rb_te"--> <!--android:layout_width="fill_parent"--> <!--android:layout_height="wrap_content"--> <!--android:layout_marginLeft="16dp"--> <!--android:background="@drawable/btn_tesila2"--> <!--android:button="@null"--> <!--/>--> <!--</RadioGroup>--> <!--<TextView--> <!--android:layout_width="wrap_content"--> <!--android:layout_height="wrap_content"--> <!--android:layout_marginTop="16dp"--> <!--android:layout_marginLeft="16dp"--> <!--android:text="按类型"--> <!--android:textSize="15sp"--> <!--android:textColor="@color/title_row"/>--> <!--<RadioGroup--> <!--android:id="@+id/rg_claimtype"--> <!--android:layout_width="wrap_content"--> <!--android:layout_height="wrap_content"--> <!--android:layout_marginTop="8dp"--> <!--android:orientation="horizontal">--> <!--<RadioButton--> <!--android:id="@+id/rb_claimed"--> <!--android:layout_width="fill_parent"--> <!--android:layout_height="wrap_content"--> <!--android:layout_marginLeft="16dp"--> <!--android:background="@drawable/btn_claimed2"--> <!--android:button="@null"--> <!--/>--> <!--<RadioButton--> <!--android:id="@+id/rb_claim"--> <!--android:layout_width="fill_parent"--> <!--android:layout_height="wrap_content"--> <!--android:layout_marginLeft="16dp"--> <!--android:background="@drawable/btn_claim2"--> <!--android:button="@null"--> <!--/>--> <!--</RadioGroup>--> <!--<TextView--> <!--android:layout_width="wrap_content"--> <!--android:layout_height="wrap_content"--> <!--android:layout_marginTop="16dp"--> <!--android:layout_marginLeft="16dp"--> <!--android:layout_marginBottom="8dp"--> <!--android:text="按支付方式"--> <!--android:textSize="15sp"--> <!--android:textColor="@color/title_row"/>--> <!--<LinearLayout--> <!--android:layout_width="wrap_content"--> <!--android:layout_height="wrap_content"--> <!--android:layout_marginBottom="8dp"--> <!--android:orientation="horizontal">--> <!--<CheckBox--> <!--android:id="@+id/cb_guowang"--> <!--android:layout_width="wrap_content"--> <!--android:layout_height="wrap_content"--> <!--android:button="@null"--> <!--android:layout_marginLeft="16dp"--> <!--android:text="国网电卡"--> <!--android:textColor="@color/transparent"--> <!--android:background="@drawable/btn_guowang2"/>--> <!--<CheckBox--> <!--android:id="@+id/cb_putian"--> <!--android:layout_width="wrap_content"--> <!--android:layout_height="wrap_content"--> <!--android:button="@null"--> <!--android:text="普天电卡"--> <!--android:textColor="@color/transparent"--> <!--android:background="@drawable/btn_putian2"--> <!--android:layout_marginLeft="16dp"/>--> <!--<CheckBox--> <!--android:id="@+id/cb_telaidian"--> <!--android:layout_width="wrap_content"--> <!--android:layout_height="wrap_content"--> <!--android:button="@null"--> <!--android:text="特来电APP"--> <!--android:textColor="@color/transparent"--> <!--android:layout_marginLeft="16dp"--> <!--android:background="@drawable/btn_telaidian2" />--> <!--</LinearLayout>--> <!--<LinearLayout--> <!--android:layout_width="wrap_content"--> <!--android:layout_height="wrap_content"--> <!--android:layout_marginBottom="8dp"--> <!--android:orientation="horizontal">--> <!--<CheckBox--> <!--android:id="@+id/cb_4s"--> <!--android:layout_width="wrap_content"--> <!--android:layout_height="wrap_content"--> <!--android:button="@null"--> <!--android:text="4S店电卡"--> <!--android:textColor="@color/transparent"--> <!--android:layout_marginLeft="16dp"--> <!--android:background="@drawable/btn_4s2"/>--> <!--<CheckBox--> <!--android:id="@+id/cb_xiaoyi"--> <!--android:layout_width="wrap_content"--> <!--android:layout_height="wrap_content"--> <!--android:button="@null"--> <!--android:text="小易充电"--> <!--android:textColor="@color/transparent"--> <!--android:background="@drawable/btn_xiaoyi2"--> <!--android:layout_marginLeft="16dp"/>--> <!--<CheckBox--> <!--android:id="@+id/cb_xianjin"--> <!--android:layout_width="wrap_content"--> <!--android:layout_height="wrap_content"--> <!--android:button="@null"--> <!--android:text="现金"--> <!--android:textColor="@color/transparent"--> <!--android:layout_marginLeft="16dp"--> <!--android:background="@drawable/btn_xianjin2" />--> <!--</LinearLayout>--> <!--<LinearLayout--> <!--android:layout_width="wrap_content"--> <!--android:layout_height="wrap_content"--> <!--android:orientation="horizontal"--> <!--android:layout_marginBottom="8dp">--> <!--<CheckBox--> <!--android:id="@+id/cb_gaosu"--> <!--android:layout_width="217dp"--> <!--android:layout_height="wrap_content"--> <!--android:button="@null"--> <!--android:text="国网高速公路专用卡"--> <!--android:textColor="@color/transparent"--> <!--android:layout_marginLeft="16dp"--> <!--android:background="@drawable/btn_gaosu2"/>--> <!--<CheckBox--> <!--android:id="@+id/cb_qita"--> <!--android:layout_width="wrap_content"--> <!--android:layout_height="wrap_content"--> <!--android:button="@null"--> <!--android:text="其他"--> <!--android:textColor="@color/transparent"--> <!--android:layout_marginLeft="16dp"--> <!--android:background="@drawable/btn_qita2" />--> <!--</LinearLayout>--> <!--<LinearLayout--> <!--android:layout_width="wrap_content"--> <!--android:layout_height="wrap_content"--> <!--android:orientation="horizontal">--> <!--<TextView--> <!--android:layout_width="wrap_content"--> <!--android:layout_height="wrap_content"--> <!--android:textSize="15sp"--> <!--android:gravity="center"--> <!--android:text="注:数字为当前站点空闲充电桩数量"--> <!--android:layout_marginLeft="16dp"--> <!--android:drawablePadding="4dp"--> <!--android:textColor="@color/title_row"--> <!--android:drawableLeft="@drawable/icon_screen1105"/>--> <!--</LinearLayout>--> <!--<LinearLayout--> <!--android:layout_width="wrap_content"--> <!--android:layout_height="wrap_content"--> <!--android:layout_gravity="center"--> <!--android:layout_marginTop="16dp"--> <!--android:layout_marginBottom="16dp">--> <!--<TextView--> <!--android:id="@+id/btn_sure"--> <!--android:layout_width="wrap_content"--> <!--android:layout_height="wrap_content"--> <!--android:background="@drawable/btn_sure"/>--> <!--<TextView--> <!--android:id="@+id/btn_clear"--> <!--android:layout_width="wrap_content"--> <!--android:layout_height="wrap_content"--> <!--android:layout_marginLeft="24dp"--> <!--android:background="@drawable/btn_clear"/>--> <!--</LinearLayout>--> </LinearLayout> </RelativeLayout>