<?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"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="#fafafa"
android:orientation="horizontal">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#fafafa">
<com.electric.chargingpile.view.CircleImageView
android:layout_width="30dp"
android:layout_height="30dp"
android:id="@+id/iv_icon"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
app:border_color="@color/white"
android:layout_marginTop="12dp"
android:layout_gravity="center_vertical"
android:src="@drawable/icon_touxiang0128"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:text="EV200车主"
android:textSize="13sp"
android:id="@+id/tv_carType"
android:textColor="@color/ui_65"
android:layout_marginLeft="10dp"
android:layout_gravity="center_vertical"
android:layout_alignTop="@+id/iv_icon"
android:layout_toRightOf="@+id/iv_icon"
android:layout_toEndOf="@+id/iv_icon" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:text="北京市"
android:textSize="13sp"
android:textColor="#888888"
android:id="@+id/tv_city"
android:visibility="gone"
android:layout_marginLeft="5dp"
android:layout_gravity="center_vertical"
android:layout_alignTop="@+id/tv_carType"
android:layout_toRightOf="@+id/tv_carType"
android:layout_toEndOf="@+id/tv_carType" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:text="桩在哪里呢?桩在哪里呢?桩在哪里呢?桩在哪里呢?桩在哪里呢?桩在哪里呢?桩在哪里呢?桩在哪里呢?桩在哪里呢?"
android:id="@+id/tv_comment"
android:textSize="15sp"
android:layout_marginTop="10dp"
android:layout_marginRight="15dp"
android:layout_marginBottom="15dp"
android:layout_below="@+id/tv_carType"
android:layout_alignLeft="@+id/tv_carType"
android:layout_alignStart="@+id/tv_carType" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:text="15分钟前"
android:textSize="12sp"
android:textColor="#c8c8c8"
android:id="@+id/tv_time"
android:layout_alignTop="@+id/tv_carType"
android:layout_marginRight="15dp"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:text="回复"
android:id="@+id/tv_reply"
android:layout_marginLeft="20dp"
android:layout_alignTop="@+id/tv_time"
android:layout_toRightOf="@+id/tv_time"
android:layout_toEndOf="@+id/tv_time"
android:visibility="gone"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:text="IEV5车主"
android:layout_marginTop="10dp"
android:id="@+id/tv_childName"
android:layout_below="@+id/tv_time"
android:layout_alignLeft="@+id/tv_time"
android:layout_alignStart="@+id/tv_time"
android:visibility="gone"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:text="回复"
android:id="@+id/textView14"
android:layout_marginLeft="8dp"
android:layout_alignBaseline="@+id/tv_childName"
android:layout_alignBottom="@+id/tv_childName"
android:layout_toRightOf="@+id/tv_childName"
android:visibility="gone"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:text="EV200车主:"
android:id="@+id/tv_parentName"
android:layout_marginLeft="8dp"
android:layout_alignBottom="@+id/textView14"
android:layout_toRightOf="@+id/textView14"
android:layout_toEndOf="@+id/textView14"
android:visibility="gone"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:text="有故障!"
android:id="@+id/tv_commentDetail"
android:layout_alignBottom="@+id/tv_parentName"
android:layout_toRightOf="@+id/tv_parentName"
android:layout_toEndOf="@+id/tv_parentName"
android:layout_marginLeft="8dp"
android:visibility="gone"/>
</RelativeLayout>
</LinearLayout>
|