home_image_banner_view.xml 1.16 KB
Newer Older
ydl committed
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:gravity="center">

YKai committed
9
    <androidx.cardview.widget.CardView
10 11
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
ydl committed
12 13 14 15 16
        app:cardCornerRadius="8dp"
        app:cardElevation="0dp"
        >
        <com.ydl.ydlcommon.view.banner.Banner
            android:id="@+id/banner_search"
17 18
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
ydl committed
19 20 21 22
            app:pa_indicator_different_width="14dp"
            app:pa_indicator_drawable_selected="@drawable/home_banner_tip_select"
            app:pa_indicator_drawable_unselected="@drawable/home_banner_tip_unselect"
            app:pa_indicator_height="5dp"
23
            app:pa_indicator_margin="1.8dp"
ydl committed
24 25 26
            app:pa_is_selected_same_unselected="false"
            android:scaleType="centerCrop"
            />
YKai committed
27
    </androidx.cardview.widget.CardView>
ydl committed
28 29

</LinearLayout>