127 lines
5.1 KiB
XML
127 lines
5.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/drw_admob_bg"
|
|
android:orientation="vertical"
|
|
tools:ignore="MissingConstraints">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="12dp"
|
|
android:layout_marginVertical="12dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/im_event_icon"
|
|
android:layout_width="46dp"
|
|
android:layout_height="46dp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingBottom="4dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/drw_ad_tag_bg"
|
|
android:paddingStart="4dp"
|
|
android:paddingEnd="4dp"
|
|
android:text="AD"
|
|
android:textColor="@color/white"
|
|
android:textSize="12dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_event_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="end"
|
|
android:fontFamily="@string/Roboto_Medium"
|
|
android:lineSpacingExtra="0dp"
|
|
android:paddingStart="4dp"
|
|
android:paddingBottom="4dp"
|
|
android:singleLine="true"
|
|
android:textColor="@color/white"
|
|
android:textSize="16dp"
|
|
android:textStyle="bold"
|
|
tools:text="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" />
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/tv_advertiser"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="end"
|
|
android:fontFamily="@string/Roboto_Regular"
|
|
android:textColor="@color/white_60"
|
|
android:textSize="12dp"
|
|
android:visibility="visible"
|
|
tools:text="xxxxxxxxxxxxxxxxxxxxx" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_ad_options_view"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_marginTop="-10dp"
|
|
android:orientation="vertical"
|
|
android:visibility="visible">
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/tv_event_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="12dp"
|
|
android:layout_marginBottom="12dp"
|
|
android:ellipsize="end"
|
|
android:fontFamily="@string/Roboto_Regular"
|
|
android:lineSpacingExtra="0dp"
|
|
android:maxLines="2"
|
|
android:textColor="@color/white_60"
|
|
android:textSize="12dp"
|
|
tools:text="xxxxxxxxxxxxxxxxxxxxx" />
|
|
|
|
|
|
<FrameLayout
|
|
android:id="@+id/mv_event_con"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="152dp"
|
|
android:layout_marginHorizontal="12dp"
|
|
tools:background="@color/black_60"></FrameLayout>
|
|
|
|
<Button
|
|
android:id="@+id/tv_event_bt"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:layout_marginHorizontal="14dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginBottom="12dp"
|
|
android:background="@drawable/drw_btn_bg"
|
|
android:textColor="@color/white"
|
|
android:textSize="15dp"
|
|
android:textStyle="bold"
|
|
tools:text="action now " />
|
|
</LinearLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |