充电桩app代码

layout_update_dialog.xml 1.9KB

    <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/layout_bg" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@drawable/offlinearrow_but_normal" android:orientation="vertical"> <TextView android:gravity="center" android:text="下载中" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center|left" android:textColor="@color/color_0e0e0e" android:layout_marginTop="30dp" android:layout_marginBottom="20dp" android:textSize="16sp" /> <ProgressBar style="?android:attr/progressBarStyleHorizontal" tools:progress="45" android:id="@+id/qMUIProgressBar" android:layout_width="match_parent" android:layout_height="10dp" android:progressDrawable="@drawable/progressbar_color" android:textSize="12sp" android:layout_marginBottom="6dp" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" /> <TextView android:id="@+id/txt_msg" tools:text="12" android:textColor="#3EC34C" android:textSize="14sp" android:layout_marginEnd="18dp" android:layout_gravity="end" android:layout_marginBottom="30dp" android:layout_width="wrap_content" android:layout_height="wrap_content"/> <ImageView android:id="@+id/imgCancel" android:layout_marginBottom="30dp" android:layout_gravity="center" android:src="@drawable/ic_cancel_updata" android:layout_width="wrap_content" android:layout_height="wrap_content"/> </LinearLayout>