| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <layout> |
| | | <data> |
| | | <variable |
| | | name="gpio" |
| | | type="safeluck.drive.evaluation.bean.MCUInfo" /> |
| | | </data> |
| | | <TableLayout |
| | | xmlns:android="http://schemas.android.com/apk/res/android" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:padding="10dp"> |
| | | <TableRow android:layout_marginBottom="10dp"> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="喇叭" |
| | | android:id="@+id/tv_loudspeaker" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | |
| | | <TableLayout |
| | | xmlns:android="http://schemas.android.com/apk/res/android" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:padding="10dp"> |
| | | <TableRow android:layout_marginBottom="10dp"> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="喇叭" |
| | | android:id="@+id/tv_loudspeaker" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="远光灯" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_high_beam" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="档位一" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_gear_one" |
| | | android:layout_toRightOf="@+id/tv_high_beam" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | </TableRow> |
| | | <TableRow android:layout_marginBottom="10dp" > |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="远光灯" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_high_beam" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="档位一" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_gear_one" |
| | | android:layout_toRightOf="@+id/tv_high_beam" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | </TableRow> |
| | | <TableRow android:layout_marginBottom="10dp" > |
| | | |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="安全带" |
| | | android:id="@+id/tv_seat_belt" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="雾灯" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_fog_lamp" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="档位二" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_gear_two" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | </TableRow> |
| | | <TableRow android:layout_marginBottom="10dp" > |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="安全带" |
| | | android:id="@+id/tv_seat_belt" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="空档" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_null_engine" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="档位二" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_gear_two" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | </TableRow> |
| | | <TableRow android:layout_marginBottom="10dp" > |
| | | |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="熄火" |
| | | android:id="@+id/tv_cut_off" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="示宽灯" |
| | | android:id="@+id/tv_width_lamp" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:layout_marginLeft="30dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="档位三" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_gear_three" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | </TableRow> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="熄火" |
| | | android:id="@+id/tv_cut_off" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="示宽灯" |
| | | android:id="@+id/tv_width_lamp" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:layout_marginLeft="30dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="档位三" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_gear_three" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | </TableRow> |
| | | |
| | | <TableRow android:layout_marginBottom="10dp" > |
| | | <TableRow android:layout_marginBottom="10dp" > |
| | | |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="门锁" |
| | | android:id="@+id/tv_gate_lock" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="双闪" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_emergency_flasher" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="档位四" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_gear_four" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | </TableRow> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="门锁" |
| | | android:id="@+id/tv_gate_lock" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="双闪" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_emergency_flasher" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="档位四" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_gear_four" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | </TableRow> |
| | | |
| | | |
| | | <TableRow android:layout_marginBottom="10dp" > |
| | | <TableRow android:layout_marginBottom="10dp" > |
| | | |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="手刹" |
| | | android:id="@+id/tv_parking_brake" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="脚刹" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_foot_brake" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="Signal3-5" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_signal3_5" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | </TableRow> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="手刹" |
| | | android:id="@+id/tv_parking_brake" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="脚刹" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_foot_brake" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="档位五" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_gear_five" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | </TableRow> |
| | | |
| | | <TableRow android:layout_marginBottom="10dp" > |
| | | <TableRow android:layout_marginBottom="10dp" > |
| | | |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="左转向" |
| | | android:id="@+id/tv_trun_left" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="绕车一" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_winding_one" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="Signal3-6" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_signal3_6" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | </TableRow> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="左转向" |
| | | android:id="@+id/tv_trun_left" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="倒挡" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_winding_one" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="Signal3-6" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_signal3_6" |
| | | android:visibility="gone" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | </TableRow> |
| | | |
| | | <TableRow android:layout_marginBottom="10dp" > |
| | | <TableRow android:layout_marginBottom="10dp" > |
| | | |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="右转向" |
| | | android:id="@+id/tv_turn_right" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="绕车二" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_winding_two" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="Signal3-7" |
| | | android:id="@+id/tv_signal3_7" |
| | | android:layout_marginLeft="30dp" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | </TableRow> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="右转向" |
| | | android:id="@+id/tv_turn_right" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="钥匙START位" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_winding_two" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="Signal3-7" |
| | | android:id="@+id/tv_signal3_7" |
| | | android:visibility="gone" |
| | | android:layout_marginLeft="30dp" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | </TableRow> |
| | | |
| | | <TableRow android:layout_marginBottom="10dp" > |
| | | <TableRow android:layout_marginBottom="10dp" > |
| | | |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="近光灯" |
| | | android:id="@+id/tv_low_lamp" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="离合" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_clutch_pedal" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="Signal3-8" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_signal3_8" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | </TableRow> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="近光灯" |
| | | android:id="@+id/tv_low_lamp" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="离合" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_clutch_pedal" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="Signal3-8" |
| | | android:visibility="gone" |
| | | android:layout_marginLeft="30dp" |
| | | android:id="@+id/tv_signal3_8" |
| | | android:drawableLeft="@drawable/gray_light" |
| | | android:drawablePadding="5dp" |
| | | android:textColor="@android:color/black"/> |
| | | </TableRow> |
| | | |
| | | </TableLayout> |
| | | </TableLayout> |
| | | </layout> |
| | | |