第一次提交
This commit is contained in:
67
app/src/main/res/layout/sys_info_single_image.xml
Normal file
67
app/src/main/res/layout/sys_info_single_image.xml
Normal file
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tool="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:fresco="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_margin="@dimen/dp16"
|
||||
android:background="@drawable/chat_bg_white"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<com.facebook.drawee.view.SimpleDraweeView
|
||||
fresco:roundTopLeft="true"
|
||||
fresco:roundTopRight="true"
|
||||
fresco:roundBottomLeft="false"
|
||||
fresco:roundBottomRight="false"
|
||||
fresco:roundedCornerRadius="@dimen/dp8"
|
||||
android:id="@+id/sv_single_image"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp200" />
|
||||
|
||||
<TextView
|
||||
android:padding="@dimen/dp5"
|
||||
android:background="#50000000"
|
||||
android:id="@+id/tv_single_category"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginTop="@dimen/dp16"
|
||||
android:layout_marginRight="@dimen/dp16"
|
||||
tool:text="类别"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="14sp"/>
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_single_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp16"
|
||||
android:layout_marginRight="@dimen/dp16"
|
||||
android:paddingTop="@dimen/dp12"
|
||||
android:paddingBottom="@dimen/dp12"
|
||||
android:textColor="@color/one_text"
|
||||
android:textSize="16sp"
|
||||
tool:text="title" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_single_context"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="@dimen/dp12"
|
||||
android:layout_marginLeft="@dimen/dp16"
|
||||
android:layout_marginRight="@dimen/dp16"
|
||||
android:minLines="1"
|
||||
android:text="title"
|
||||
android:textColor="@color/three_text"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user