adapter_eventlist_new

for add a upcoming and past event title
 avatar
Nensi
plain_text
a year ago
2.4 kB
0
No Index
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:card_view="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:orientation="vertical"
    android:padding="10dp"
    android:layout_height="wrap_content">
    <com.TheMarineInsurer.Util.BoldTextView
        android:id="@+id/event_type"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center"
        android:layout_toRightOf="@+id/demoimg"
        android:fontFamily="@font/dmsans_medium"
        card_view:font_name="regular"
        android:paddingBottom="10dp"
        android:text="Upcoming Events"
        android:textColor="@color/black"
        android:textSize="16sp"/>

    <androidx.cardview.widget.CardView
        android:id="@+id/app_back"
        android:layout_width="match_parent"
        android:layout_height="160dp"
        card_view:cardCornerRadius="10dp"
        card_view:cardElevation="1dp"
        >

        <FrameLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent">


            <ImageView
                android:id="@+id/EventImg"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:scaleType="centerCrop"
                android:visibility="visible" />

            <ImageView
                android:id="@+id/graybg"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:background="@drawable/eventlist_rounded_corner"
                android:visibility="gone"/>

            <com.TheMarineInsurer.Util.BoldTextView
                android:id="@+id/Eventname"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:layout_margin="10dp"
                android:gravity="center"
                android:text=""
                android:textColor="@color/white"
                android:textSize="22sp"
                card_view:font_name="bold"
                android:visibility="gone"/>
        </FrameLayout>


    </androidx.cardview.widget.CardView>
</androidx.appcompat.widget.LinearLayoutCompat>
Editor is loading...
Leave a Comment