充电桩app代码

view_show_comment.xml 2.5KB

    <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@drawable/bg_bottom_dialog"> <TextView android:id="@+id/show_comment_title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:layout_marginTop="10dp" android:text="12sp12sp12sp" android:textColor="#c2c2c2" android:textSize="14sp" /> <View android:id="@+id/show_comment_close" android:layout_width="22dp" android:layout_height="22dp" android:layout_alignParentEnd="true" android:layout_marginTop="9dp" android:layout_marginEnd="14dp" android:background="#fff" /> <View android:layout_width="match_parent" android:layout_height="1dp" android:layout_marginTop="40dp" android:background="#505050" /> <android.support.v7.widget.RecyclerView android:id="@+id/show_comment_lv" android:layout_width="wrap_content" android:layout_height="320dp" android:layout_marginBottom="54dp" android:layout_marginTop="40dp" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/show_comment_lv" android:background="#535353" android:layout_marginTop="-54dp" android:gravity="center_vertical" android:minHeight="54dp"> <EditText android:id="@+id/show_comment_ed" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="14dp" android:layout_weight="1" android:background="@drawable/bg_comment_report" android:hint="写评论" android:minHeight="30dp" android:paddingStart="14dp" android:paddingEnd="14dp" android:textColorHint="#7e7e7e" /> <TextView android:id="@+id/show_comment_publish" android:layout_width="wrap_content" android:layout_height="match_parent" android:gravity="center" android:paddingStart="13dp" android:paddingEnd="13dp" android:text="发布" android:textColor="#7e7e7e" android:textSize="14sp" /> </LinearLayout> </RelativeLayout>