lizhanwei
2020-04-23 b1241719066f2636d6e30be525cef8bcc6d30619
app/src/main/res/layout/layout_base_datas.xml
@@ -2,10 +2,11 @@
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:lee="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    <Button
        android:layout_width="wrap_content"
        android:layout_width="96dp"
        android:layout_height="wrap_content"
        android:id="@+id/btn_save_platform"
        android:textColor="@android:color/white"
@@ -17,7 +18,7 @@
        android:text="保存"/>
    <LinearLayout
        android:layout_width="774dp"
        android:layout_height="320dp"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:padding="10dp"
        android:id="@+id/ll_container_set"
@@ -30,7 +31,8 @@
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_height="60dp"
            android:gravity="center_vertical"
            android:orientation="horizontal">
            <TextView
                android:layout_width="wrap_content"
@@ -38,64 +40,33 @@
                android:textColor="@android:color/white"
                android:textSize="@dimen/network_train_textsize25px"
                android:text="考试平台地址:"/>
            <EditText
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="47.93.157.103"
                android:layout_marginLeft="25dp"
                android:drawableLeft="@drawable/set_arg_et_drawable"
                android:id="@+id/et_platform_ip"
                android:background="@android:drawable/editbox_background_normal"/>
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="10dp"
                android:text="Port:"/>
            <EditText
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="2020"
                android:id="@+id/et_platform_port"
                android:background="@android:drawable/editbox_background_normal"/>
            <safeluck.drive.evaluation.customview.MyArgEditText
                android:layout_height="50dp"
                android:layout_width="200dp"
                android:id="@+id/platform_ip"
                lee:txt="47.93.157.103"
                lee:txt_des="IP"
                android:layout_marginLeft="31dp"
                lee:txt_unit="false"
                lee:txt_unit_des ="r/min"
                />
            <safeluck.drive.evaluation.customview.MyArgEditText
                android:layout_height="50dp"
                android:layout_width="200dp"
                android:id="@+id/platform_port"
                lee:txt="12125"
                lee:txt_des="Port"
                android:layout_marginLeft="@dimen/ui_margin_10dp"
                lee:txt_unit="false"
                lee:txt_unit_des ="r/min"
                />
        </LinearLayout>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:visibility="gone"
            android:orientation="horizontal">
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textColor="@android:color/black"
                android:text="模拟器"/>
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="15dp"
                android:text="IP:"/>
            <EditText
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:id="@+id/simulate_ip"
                android:text="192.168.23.12"
                android:background="@android:drawable/editbox_background_normal"/>
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="10dp"
                android:text="Port:"/>
            <EditText
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:id="@+id/simulate_port"
                android:text="9001"
                android:background="@android:drawable/editbox_background_normal"/>
        </LinearLayout>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_height="60dp"
            android:gravity="center_vertical"
            android:layout_marginTop="10dp"
            android:layout_marginBottom="10dp"
            android:orientation="horizontal">
@@ -105,31 +76,33 @@
                android:textColor="@android:color/white"
                android:textSize="@dimen/network_train_textsize25px"
                android:text="@string/rtk_addr_des"/>
            <EditText
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
            <safeluck.drive.evaluation.customview.MyArgEditText
                android:layout_height="50dp"
                android:layout_width="200dp"
                android:id="@+id/rtk_addr_ip"
                android:text="192.168.23.12"
                android:layout_marginLeft="26dp"
                android:background="@android:drawable/editbox_background_normal"/>
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="10dp"
                android:text="Port:"/>
            <EditText
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                lee:txt="47.93.157.103"
                lee:txt_des="IP"
                android:layout_marginLeft="33dp"
                lee:txt_unit="false"
                lee:txt_unit_des ="r/min"
                />
            <safeluck.drive.evaluation.customview.MyArgEditText
                android:layout_height="50dp"
                android:layout_width="200dp"
                android:id="@+id/rtk_addr_port"
                android:text="8080"
                android:background="@android:drawable/editbox_background_normal"/>
                lee:txt="12125"
                lee:txt_des="Port"
                android:layout_marginLeft="@dimen/ui_margin_10dp"
                lee:txt_unit="false"
                lee:txt_unit_des ="r/min"
                />
        </LinearLayout>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="10dp"
            android:layout_marginBottom="10dp"
            android:layout_height="60dp"
            android:gravity="center_vertical"
            android:orientation="horizontal">
            <TextView
                android:layout_width="wrap_content"
@@ -137,45 +110,31 @@
                android:textColor="@android:color/white"
                android:textSize="@dimen/network_train_textsize25px"
                android:text="登录信息:"/>
            <EditText
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:id="@+id/et_provice_id"
                android:text="12"
                android:layout_marginLeft="68dp"
                android:inputType="numberDecimal"
                android:background="@android:drawable/editbox_background_normal"/>
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="10dp"
                android:text="市ID:"/>
            <EditText
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:id="@+id/et_city_id"
                android:text="192"
                android:inputType="numberDecimal"
                android:background="@android:drawable/editbox_background_normal"/>
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="10dp"
                android:visibility="gone"
                android:text="电话:"/>
            <EditText
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:id="@+id/et_phone"
                android:text="19234567894"
                android:visibility="gone"
                android:inputType="numberDecimal"
                android:background="@android:drawable/editbox_background_normal"/>
            <safeluck.drive.evaluation.customview.MyArgEditText
                android:layout_height="50dp"
                android:layout_width="200dp"
                android:layout_marginLeft="65dp"
                android:id="@+id/province_id"
                lee:txt="23"
                lee:txt_des="省ID"
                lee:txt_unit="false"
                lee:txt_unit_des ="r/min"
                />
            <safeluck.drive.evaluation.customview.MyArgEditText
                android:layout_height="50dp"
                android:layout_width="200dp"
                android:id="@+id/city_id"
                lee:txt="1"
                lee:txt_des="市ID"
                android:layout_marginLeft="@dimen/ui_margin_10dp"
                lee:txt_unit="false"
                lee:txt_unit_des ="r/min"
                />
        </LinearLayout>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_height="60dp"
            android:gravity="center_vertical"
            android:layout_marginTop="10dp"
            android:layout_marginBottom="10dp"
            android:orientation="horizontal">
@@ -185,23 +144,23 @@
                android:textColor="@android:color/white"
                android:textSize="@dimen/network_train_textsize25px"
                android:text="车载信号配置:"/>
            <Button  android:layout_width="410dp"
            <Button  android:layout_width="395dp"
                android:layout_height="wrap_content"
                android:text="信号配置"
                android:padding="5dp"
                android:textColor="@android:color/white"
                android:id="@+id/btn_signal_conf"
                android:layout_marginLeft="25dp"
                android:textSize="@dimen/network_train_textsize24px"
                android:background="@drawable/btn_bg_baseset"/>
                android:layout_marginLeft="@dimen/ui_margin_25dp"
                android:background="@drawable/btn_bg1_baseset"/>
        </LinearLayout>
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_marginTop="10dp"
        android:layout_marginBottom="10dp"
        android:layout_height="wrap_content"
        android:layout_height="60dp"
        android:gravity="center_vertical"
        android:orientation="horizontal">
        <TextView
            android:layout_width="wrap_content"
@@ -209,51 +168,36 @@
            android:textColor="@android:color/white"
            android:textSize="@dimen/network_train_textsize25px"
            android:text="配置参数:"/>
        <TableLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:gravity="center">
        <TableRow android:gravity="center_horizontal"
            android:layout_marginBottom="10dp">
            <Button  android:layout_width="wrap_content"
                android:layout_height="wrap_content"
            <Button  android:layout_width="129dp"
                android:layout_height="@dimen/ui_margin_50dp"
                android:text="协处理器升级"
                android:padding="5dp"
                android:textColor="@android:color/white"
                android:textSize="@dimen/network_train_textsize21px"
                android:layout_marginLeft="60dp"
                android:id="@+id/btn_mcu_upgrade"
                android:layout_marginLeft="15dp"
                android:background="@drawable/btn_bg_baseset"/>
            <Button  android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="场考地图选择"
            <Button  android:layout_width="129dp"
                android:layout_height="@dimen/ui_margin_50dp"
                android:text="考试地图选择"
                android:padding="5dp"
                android:textColor="@android:color/white"
                android:textSize="@dimen/network_train_textsize21px"
                android:id="@+id/btn_map_select"
                android:layout_marginLeft="15dp"
                android:layout_marginLeft="8dp"
                android:background="@drawable/btn_bg_baseset"/>
            <Button  android:layout_width="wrap_content"
                android:layout_height="wrap_content"
            <Button   android:layout_width="129dp"
                android:layout_height="@dimen/ui_margin_50dp"
                android:text="车辆模型选择"
                android:padding="5dp"
                android:textColor="@android:color/white"
                android:textSize="@dimen/network_train_textsize21px"
                android:id="@+id/btn_car_select"
                android:layout_marginLeft="15dp"
                android:layout_marginLeft="8dp"
                android:background="@drawable/btn_bg_baseset"/>
            <Button  android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="路考地图选择"
                android:padding="5dp"
                android:textColor="@android:color/white"
                android:textSize="@dimen/network_train_textsize21px"
                android:id="@+id/btn_roadmap_select"
                android:layout_marginLeft="15dp"
                android:background="@drawable/btn_bg_baseset"/>
        </TableRow>
        </TableLayout>
    </LinearLayout>