jimu-decompiled/resources/res/layout/item_sub_official.xml
2025-05-13 19:24:51 +02:00

88 lines
4.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<com.ubt.jimu.widgets.screenAdaptive.XRelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="350px"
android:layout_height="match_parent"
android:layout_marginRight="24px">
<com.ubt.jimu.widgets.screenAdaptive.XRelativeLayout
android:id="@+id/rl_content"
android:layout_width="350px"
android:layout_height="173px"
android:layout_alignParentBottom="true">
<ImageView
android:id="@+id/img_bottom_background"
android:background="@drawable/shape_white"
android:layout_width="226px"
android:layout_height="114px"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"/>
<com.ubt.jimu.widgets.screenAdaptive.XRelativeLayout
android:id="@+id/rl_img_content"
android:layout_width="210px"
android:layout_height="117px"
android:layout_marginLeft="8px"
android:layout_marginRight="8px">
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:foreground="?android:attr/selectableItemBackground"
app:cardCornerRadius="10dp"
app:cardElevation="0dp">
<ImageView
android:id="@+id/img_play_background"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"/>
<ImageView
android:layout_gravity="center"
android:id="@+id/img_play"
android:background="@mipmap/icon_play"
android:layout_width="35px"
android:layout_height="35px"/>
</androidx.cardview.widget.CardView>
<ImageView
android:id="@+id/img_function"
android:background="@mipmap/community_icon_program"
android:layout_width="27px"
android:layout_height="20px"
android:layout_margin="10px"
android:layout_alignParentBottom="true"
android:layout_alignParentEnd="true"/>
</com.ubt.jimu.widgets.screenAdaptive.XRelativeLayout>
<com.ubt.jimu.widgets.screenAdaptive.XLinearLayout
android:orientation="horizontal"
android:id="@+id/ll_header"
android:layout_width="match_parent"
android:layout_height="34px"
android:layout_marginLeft="19px"
android:layout_marginTop="101px">
<ImageView
android:id="@+id/img_header"
android:background="@drawable/tab_base_user_default"
android:layout_width="34px"
android:layout_height="34px"/>
<TextView
android:textSize="14px"
android:textColor="@color/txt_1d2c42"
android:gravity="bottom"
android:layout_gravity="bottom"
android:id="@+id/tv_nickname"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="7px"
android:text="@string/hot_content_author"/>
</com.ubt.jimu.widgets.screenAdaptive.XLinearLayout>
<TextView
android:textSize="@dimen/text_16"
android:textColor="@color/txt_1d2c42"
android:ellipsize="end"
android:id="@+id/tv_hot_desc"
android:layout_width="191px"
android:layout_height="25px"
android:layout_marginLeft="13px"
android:layout_marginTop="12px"
android:layout_marginRight="22px"
android:maxLines="1"
android:layout_below="@+id/ll_header"/>
</com.ubt.jimu.widgets.screenAdaptive.XRelativeLayout>
</com.ubt.jimu.widgets.screenAdaptive.XRelativeLayout>