- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
189 lines
9.6 KiB
XML
189 lines
9.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:background="@color/mbridge_reward_endcard_hor_bg"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<RelativeLayout
|
|
android:id="@+id/mbridge_native_ec_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="3">
|
|
<ImageView
|
|
android:id="@+id/mbridge_iv_adbanner_bg"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="fitXY"/>
|
|
<com.mbridge.msdk.videocommon.view.RoundImageView
|
|
android:id="@+id/mbridge_iv_adbanner"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="20dp"
|
|
android:layout_centerInParent="true"/>
|
|
<ImageView
|
|
android:id="@+id/mbridge_iv_flag"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/mbridge_reward_flag_en"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_alignParentEnd="true"/>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="2">
|
|
<ImageView
|
|
android:id="@+id/mbridge_iv_icon"
|
|
android:layout_width="96dp"
|
|
android:layout_height="96dp"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignParentStart="true"/>
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:id="@+id/mbridge_title_layout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_toRightOf="@+id/mbridge_iv_icon"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginStart="16dp">
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
<TextView
|
|
android:textSize="15sp"
|
|
android:textColor="@color/mbridge_reward_title_textcolor"
|
|
android:ellipsize="end"
|
|
android:layout_gravity="center_vertical"
|
|
android:id="@+id/mbridge_tv_apptitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:maxEms="7"
|
|
android:singleLine="true"/>
|
|
<com.mbridge.msdk.videocommon.view.StarLevelView
|
|
android:layout_gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:id="@+id/mbridge_sv_starlevel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginTop="2dp"
|
|
android:layout_marginStart="16dp"/>
|
|
<TextView
|
|
android:textSize="12sp"
|
|
android:textColor="@color/mbridge_reward_desc_textcolor"
|
|
android:ellipsize="end"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="4dp"
|
|
android:text="("
|
|
android:singleLine="true"
|
|
android:layout_marginStart="4dp"/>
|
|
<TextView
|
|
android:textSize="12sp"
|
|
android:textColor="@color/mbridge_reward_desc_textcolor"
|
|
android:ellipsize="end"
|
|
android:layout_gravity="center_vertical"
|
|
android:id="@+id/mbridge_tv_number"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:singleLine="true"
|
|
android:drawableLeft="@drawable/mbridge_reward_user"/>
|
|
</LinearLayout>
|
|
<TextView
|
|
android:textSize="12sp"
|
|
android:textColor="@color/mbridge_reward_desc_textcolor"
|
|
android:ellipsize="end"
|
|
android:id="@+id/mbridge_tv_appdesc"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginRight="16dp"
|
|
android:maxLines="3"
|
|
android:lineSpacingMultiplier="1.2"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:id="@+id/mbridge_cta_layout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_alignTop="@+id/mbridge_iv_icon"
|
|
android:layout_alignBottom="@+id/mbridge_iv_icon"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_alignParentEnd="true">
|
|
<TextView
|
|
android:textSize="24sp"
|
|
android:textColor="@android:color/white"
|
|
android:gravity="center"
|
|
android:layout_gravity="center_horizontal"
|
|
android:id="@+id/mbridge_tv_cta"
|
|
android:background="@drawable/mbridge_reward_shape_end_pager"
|
|
android:layout_width="240dp"
|
|
android:layout_height="50dp"
|
|
android:layout_marginTop="6dp"
|
|
android:text="Install Now"/>
|
|
<ImageView
|
|
android:layout_gravity="bottom|center_horizontal"
|
|
android:id="@+id/mbridge_iv_logo"
|
|
android:layout_width="54dp"
|
|
android:layout_height="10dp"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_marginBottom="16dp"
|
|
android:src="@drawable/mbridge_reward_end_pager_logo"
|
|
android:scaleType="fitXY"/>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
<RelativeLayout
|
|
android:gravity="center"
|
|
android:id="@+id/mbridge_native_ec_controller"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="9dp">
|
|
<ImageView
|
|
android:id="@+id/mbridge_iv_link"
|
|
android:layout_width="35dp"
|
|
android:layout_height="35dp"
|
|
android:src="@drawable/mbridge_reward_notice"
|
|
android:layout_alignParentLeft="true"
|
|
android:contentDescription="noteLinkButton"
|
|
android:layout_alignParentStart="true"/>
|
|
<com.mbridge.msdk.widget.FeedBackButton
|
|
android:gravity="center"
|
|
android:id="@+id/mbridge_native_endcard_feed_btn"
|
|
android:paddingLeft="10dp"
|
|
android:paddingRight="10dp"
|
|
android:visibility="gone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="27dp"
|
|
android:layout_marginLeft="9dp"
|
|
android:layout_marginTop="4dp"
|
|
android:text="@string/mbridge_cm_feedback_btn_text"
|
|
android:layout_toRightOf="@+id/mbridge_iv_link"
|
|
android:layout_alignTop="@+id/mbridge_iv_link"
|
|
android:layout_marginStart="9dp"/>
|
|
<ImageView
|
|
android:id="@+id/mbridge_iv_close"
|
|
android:layout_width="35dp"
|
|
android:layout_height="35dp"
|
|
android:src="@drawable/mbridge_reward_close_ec"
|
|
android:layout_alignParentRight="true"
|
|
android:contentDescription="closeButton"
|
|
android:layout_alignParentEnd="true"/>
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|