tmap/res/layout/tmap_main_ad_content.xml
2022-06-10 21:38:30 +09:00

9 lines
2.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.motion.widget.MotionLayout android:id="@id/ad_motion_view" android:tag="layout/tmap_main_ad_content_0" android:layout_width="fill_parent" android:layout_height="@dimen/tmap_148dp" app:layoutDescription="@xml/main_ad_scene"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<ImageView android:id="@id/ad_button_image_view" android:layout_width="fill_parent" android:layout_height="@dimen/tmap_60dp" android:scaleType="fitCenter" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" />
<View android:id="@id/ad_button_image_cover_view" android:background="@drawable/main_ad_background" android:layout_width="fill_parent" android:layout_height="@dimen/tmap_60dp" app:layout_constraintBottom_toBottomOf="@id/ad_button_image_view" app:layout_constraintEnd_toEndOf="@id/ad_button" app:layout_constraintStart_toStartOf="parent" />
<ImageView android:id="@id/ad_image_view" android:layout_width="fill_parent" android:layout_height="@dimen/tmap_60dp" android:scaleType="fitCenter" app:layout_constraintBottom_toBottomOf="@id/ad_button_image_view" app:layout_constraintStart_toStartOf="parent" />
<com.airbnb.lottie.LottieAnimationView android:id="@id/ad_button" android:layout_width="@dimen/tmap_69dp" android:layout_height="@dimen/tmap_60dp" app:layout_constraintBottom_toBottomOf="@id/ad_image_view" app:layout_constraintEnd_toEndOf="parent" app:lottie_autoPlay="true" app:lottie_loop="false" />
<com.tmapmobility.tmap.exoplayer2.ui.PlayerView android:id="@id/ad_video_view" android:background="@drawable/main_ad_bg" android:visibility="visible" android:layout_width="wrap_content" android:layout_height="@dimen/tmap_148dp" app:controller_layout_id="@layout/main_video_ad_control_layout" app:layout_constraintBottom_toBottomOf="@id/ad_button_image_view" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/ad_image_view" app:show_timeout="0" app:shutter_background_color="@color/black_color" app:surface_type="texture_view" />
</androidx.constraintlayout.motion.widget.MotionLayout>