充电桩app代码

layout_location_permissions.xml 2.1KB

    <?xml version="1.0" encoding="utf-8"?> <com.zhy.autolayout.AutoLinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/lLayout_bg" android:layout_width="800px" android:layout_height="450px" android:background="@drawable/offlinearrow_but_normal" android:orientation="vertical" > <TextView android:id="@+id/txt_msg" android:gravity="center" android:textSize="14sp" android:hint="需要确定您所在的城市,首页才能显示您所在的城市的信息,请您授权定位" android:layout_marginEnd="12dp" android:layout_marginStart="12dp" android:layout_marginBottom="20dp" android:layout_marginTop="20dp" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_weight="1" android:layout_height="wrap_content"/> <com.zhy.autolayout.AutoLinearLayout android:id="@+id/autoLayout" android:layout_width="match_parent" android:layout_height="130px" android:orientation="horizontal" > <Button android:id="@+id/btn_left" android:layout_width="wrap_content" android:layout_height="130px" android:layout_weight="1" android:background="@drawable/alertdialog_left_selector" android:gravity="center" android:textColor="@color/actionsheet_green" android:textSize="16sp" /> <ImageView android:id="@+id/img_line" android:layout_width="0.5dp" android:layout_height="130px" android:background="@color/Line" /> <Button android:id="@+id/btn_right" android:layout_width="wrap_content" android:layout_height="130px" android:layout_weight="1" android:background="@drawable/alertdialog_right_selector" android:gravity="center" android:textColor="@color/actionsheet_green" android:textSize="16sp" /> </com.zhy.autolayout.AutoLinearLayout> </com.zhy.autolayout.AutoLinearLayout>