intLayout
android:id="@+id/likeView"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:paddingLeft="17dp"
android:paddingRight="17dp"
app:layout_constraintRight_toRightOf="parent"
tools:background="#ff0000">
<ImageView
android:id="@+id/likeIcon"
android:layout_width="18dp"
android:layout_height="18dp"
android:src="@drawable/like_small_icon"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/likeLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="4dp"
android:textColor="#888888"
android:textSize="12sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toRightOf="@+id/likeIcon"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:text="123" />
</android.support.constraint.ConstraintLayout>
</android.support.constraint.ConstraintLayout>
<TextView
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="39dp"
android:layout_marginRight="37dp"
android:textColor="#ffffff"
android:textSize="14sp"
app:layout_constraintTop_toBottomOf="@+id/topView"
tools:text="充电桩挺多的,但是油车也多,充电的车也多。园区进门就收费,还好去了两次都充上了。"></TextView>
<TextView
android:id="@+id/deleteComment"
android:layout_width="wrap_content"
android:layout_height="42dp"
android:gravity="center"
android:paddingLeft="29dp"
android:paddingRight="10dp"
android:text="删除"
android:textColor="#c2c2c2"
android:textSize="12sp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toBottomOf="@+id/content"
tools:background="#790f59" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="16dp"
android:layout_marginTop="10dp"
android:background="#505050"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@+id/deleteComment" />
</android.support.constraint.ConstraintLayout>