| | |
| | | |
| | | <com.makeramen.roundedimageview.RoundedImageView |
| | | android:id="@+id/icon" |
| | | android:layout_width="@dimen/dp_68" |
| | | android:layout_height="@dimen/dp_32" |
| | | android:layout_marginTop="@dimen/dp_12" |
| | | android:layout_width="@dimen/dp_78" |
| | | android:layout_height="@dimen/dp_36" |
| | | android:layout_marginTop="@dimen/dp_20" |
| | | android:adjustViewBounds="true" |
| | | android:scaleType="centerCrop" |
| | | android:src="@mipmap/img_work_car" |
| | |
| | | android:id="@+id/name" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginHorizontal="@dimen/dp_7" |
| | | android:layout_marginTop="@dimen/dp_10" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:maxLines="1" |
| | | android:text="粤A XV7029" |
| | | android:textColor="@color/gray_9" |
| | | android:textSize="@dimen/sp_10" |
| | | android:textSize="@dimen/sp_12" |
| | | android:textStyle="bold" |
| | | app:layout_constraintLeft_toLeftOf="parent" |
| | | app:layout_constraintRight_toRightOf="parent" |
| | |
| | | android:maxLines="1" |
| | | android:text="NO.0088" |
| | | android:textColor="@color/gray_6" |
| | | android:textSize="@dimen/sp_10" |
| | | android:textSize="@dimen/sp_12" |
| | | android:textStyle="bold" |
| | | app:layout_constraintLeft_toLeftOf="parent" |
| | | app:layout_constraintRight_toRightOf="parent" |
| | |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/dp_20" |
| | | android:layout_height="@dimen/dp_22" |
| | | android:layout_marginTop="@dimen/dp_4" |
| | | android:background="@mipmap/img_work_car_bg1" |
| | | android:gravity="center" |
| | |
| | | |
| | | <com.xw.common.custom.BatteryView |
| | | android:id="@+id/batteryView" |
| | | android:layout_width="@dimen/dp_23" |
| | | android:layout_height="@dimen/dp_11" |
| | | android:layout_width="@dimen/dp_28" |
| | | android:layout_height="@dimen/dp_12" |
| | | app:batteryFrame="@mipmap/ic_battery" |
| | | app:batteryLevel="75" |
| | | app:showPercentage="false" /> |
| | |
| | | android:id="@+id/batteryLife" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginStart="@dimen/dp_4" |
| | | android:layout_marginStart="@dimen/dp_6" |
| | | android:maxLines="1" |
| | | android:text="543KM" |
| | | android:textColor="@color/green_5" |
| | | android:textSize="@dimen/sp_8" /> |
| | | android:textSize="@dimen/sp_11" /> |
| | | |
| | | </LinearLayout> |
| | | |