122 lines
5.3 KiB
XML
122 lines
5.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:paddingLeft="25px"
|
|
android:paddingTop="60px"
|
|
android:paddingRight="25px"
|
|
android:layout_width="226dp"
|
|
android:layout_height="208dp">
|
|
<RelativeLayout
|
|
android:layout_width="400px"
|
|
android:layout_height="155px"
|
|
android:layout_alignParentBottom="true">
|
|
<View
|
|
android:background="@drawable/bg_ranking_20"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="149px"
|
|
android:layout_alignParentBottom="true"/>
|
|
<androidx.cardview.widget.CardView
|
|
android:background="#ffffff"
|
|
android:clickable="true"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="149px"
|
|
android:foreground="?android:attr/selectableItemBackground"
|
|
app:cardCornerRadius="20px">
|
|
<TextView
|
|
android:textSize="16px"
|
|
android:textStyle="bold"
|
|
android:textColor="@color/color_community_title_text"
|
|
android:ellipsize="end"
|
|
android:layout_gravity="bottom"
|
|
android:id="@+id/tv_creativity_title"
|
|
android:paddingLeft="25px"
|
|
android:paddingRight="25px"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="17px"
|
|
android:text="Get The Boot A Birds Eye Get The Boot A Birds Eye Get The Boot A Birds Eye Get The Boot A Birds Eye"
|
|
android:lines="2"/>
|
|
<ImageView
|
|
android:id="@+id/im_creativity_image"
|
|
android:background="#55eeeeee"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="centerCrop"/>
|
|
</androidx.cardview.widget.CardView>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="118dp"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginRight="8dp">
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="120px">
|
|
<androidx.cardview.widget.CardView
|
|
android:clickable="true"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:foreground="?android:attr/selectableItemBackground"
|
|
app:cardCornerRadius="20px">
|
|
<ImageView
|
|
android:layout_gravity="center"
|
|
android:background="@drawable/community_img"
|
|
android:layout_width="50px"
|
|
android:layout_height="50px"/>
|
|
<ImageView
|
|
android:layout_gravity="center"
|
|
android:id="@+id/im_creativity_video"
|
|
android:background="@drawable/icon_play"
|
|
android:visibility="gone"
|
|
android:layout_width="35px"
|
|
android:layout_height="35px"/>
|
|
<ImageView
|
|
android:layout_gravity="bottom|right"
|
|
android:id="@+id/im_creativity_icon"
|
|
android:background="@drawable/community_icon_course"
|
|
android:layout_width="42px"
|
|
android:layout_height="42px"
|
|
android:layout_marginRight="5px"
|
|
android:layout_marginBottom="5px"/>
|
|
</androidx.cardview.widget.CardView>
|
|
</FrameLayout>
|
|
<ImageView
|
|
android:id="@+id/im_comm_head"
|
|
android:background="@drawable/community_bg_head"
|
|
android:paddingLeft="2px"
|
|
android:paddingTop="2px"
|
|
android:paddingRight="2px"
|
|
android:paddingBottom="4px"
|
|
android:layout_width="38px"
|
|
android:layout_height="41px"
|
|
android:layout_marginLeft="10px"
|
|
android:src="@drawable/community_img_head"
|
|
android:layout_alignParentBottom="true"/>
|
|
<TextView
|
|
android:textSize="14px"
|
|
android:textStyle="bold"
|
|
android:textColor="@color/color_community_title_text"
|
|
android:ellipsize="end"
|
|
android:id="@+id/tv_creativity_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="6px"
|
|
android:text="Marry"
|
|
android:lines="1"
|
|
android:maxEms="35"
|
|
android:layout_toRightOf="@+id/im_comm_head"
|
|
android:layout_alignParentBottom="true"/>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
|
android:id="@+id/maskView"
|
|
android:background="@drawable/shape_mask"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<ImageView
|
|
android:id="@+id/editImageView"
|
|
android:background="@drawable/ripple"
|
|
android:layout_width="@dimen/dp_50"
|
|
android:layout_height="@dimen/dp_50"
|
|
android:layout_centerInParent="true"/>
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|