充电桩app代码

activity_alter_three.xml 7.6KB

    <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/bkg_body_main" android:orientation="vertical" android:focusable="true" android:focusableInTouchMode="true"> <RelativeLayout android:layout_width="fill_parent" android:layout_height="0dp" android:layout_weight="1" android:background="#3ED36A"> <ImageView android:id="@+id/iv_back" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:contentDescription="@null" android:paddingBottom="5dp" android:paddingLeft="10dp" android:paddingRight="15dp" android:paddingTop="5dp" /> <TextView android:id="@+id/textview" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" android:text="@string/chargingpile_share_name" android:textColor="#ffffff" android:textSize="23sp"/> </RelativeLayout> <View android:layout_width="fill_parent" android:layout_height="8dp" android:background="#ffffff"/> <LinearLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="9" android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="0.2"> <CheckBox android:id="@+id/cb1" android:layout_width="match_parent" android:layout_height="match_parent" android:text="没找到" android:textSize="20sp"/> </LinearLayout> <View android:layout_width="fill_parent" android:layout_height="8dp" android:background="@color/bg_grey"/> <LinearLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="0.2"> <CheckBox android:id="@+id/cb2" android:layout_width="match_parent" android:layout_height="match_parent" android:text="已搬迁" android:textSize="20sp" android:layout_gravity="center"/> </LinearLayout> <View android:layout_width="fill_parent" android:layout_height="8dp" android:background="@color/bg_grey"/> <LinearLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="0.2"> <CheckBox android:id="@+id/cb3" android:layout_width="match_parent" android:layout_height="match_parent" android:text="已停用" android:textSize="20sp"/> </LinearLayout> <View android:layout_width="fill_parent" android:layout_height="8dp" android:background="@color/bg_grey"/> <LinearLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="0.2"> <CheckBox android:id="@+id/cb4" android:layout_width="match_parent" android:layout_height="match_parent" android:text="其它" android:textSize="20sp"/> </LinearLayout> <View android:layout_width="fill_parent" android:layout_height="8dp" android:background="@color/bg_grey"/> <EditText android:id="@+id/et_three_opinion" style="?android:attr/textViewStyle" android:background="@null" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="0.5" android:maxLines="15"/> <View android:layout_width="fill_parent" android:layout_height="0dp" android:layout_weight="0.1" android:background="@color/bg_grey"/> <LinearLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="0.18" android:background="@color/bg_grey"> <Button android:id="@+id/button_submit" android:layout_width="match_parent" android:layout_height="match_parent" android:textColor="@color/white" android:text="提交" android:background="@drawable/btn_bkg_green" android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:textSize="23sp"/> </LinearLayout> <View android:layout_width="fill_parent" android:layout_height="0dp" android:layout_weight="0.1" android:background="@color/bg_grey"/> </LinearLayout> <View android:layout_width="match_parent" android:layout_height="1dp" android:background="#ffffff"/> <LinearLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="0.8" android:background="#ffffff"> <TextView android:id="@+id/tv_one_introduce" android:layout_width="0dp" android:layout_height="match_parent" android:layout_alignParentLeft="true" android:layout_alignParentStart="true" android:layout_centerVertical="true" android:layout_weight="1" android:gravity="center" android:text="纠正介绍" android:textSize="21sp"/> <View android:layout_width="1dp" android:layout_height="match_parent" android:layout_marginLeft="1dp" android:background="#dbdbdb"/> <TextView android:id="@+id/tv_two_position" android:layout_width="0dp" android:layout_height="match_parent" android:layout_alignParentEnd="true" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:layout_weight="1" android:gravity="center" android:text="纠正位置" android:textSize="21sp"/> <View android:layout_width="1dp" android:layout_height="match_parent" android:layout_marginLeft="1dp" android:background="#dbdbdb"/> <TextView android:id="@+id/tv_three_other" android:layout_width="0dp" android:layout_height="match_parent" android:layout_alignParentEnd="true" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:layout_weight="1" android:gravity="center" android:background="#3ED36A" android:textColor="@color/white" android:text="其他错误" android:textSize="21sp"/> </LinearLayout> </LinearLayout>