Untitled

 avatar
unknown
plain_text
a year ago
1.3 kB
1
Indexable
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:orientation="vertical"
    android:layout_marginStart="5dp"
    android:layout_marginEnd="10dp"
    android:paddingBottom="10dp"
    android:layout_gravity="center"
    android:gravity="center"
    xmlns:android="http://schemas.android.com/apk/res/android">
    <ImageView
        
        android:layout_marginTop="@dimen/DP5"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:id="@+id/imgProduct"
        android:layout_width="96dp"
        android:layout_height="96dp"
        android:src="@drawable/hallmark_logo"
        app:civ_border_width="2dp"
        app:civ_border_color="@color/colorPrimary"/>
    <TextView
        android:id="@+id/tvCategory"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="10dp"
        android:text=""
        android:maxLines="2"
        android:ellipsize="end"
        app:fontFamily="@font/open_sans_semibold"
        android:textColor="@color/black"
        android:textSize="15sp"
        android:paddingLeft="8dp"
        android:paddingRight="8dp"/>
</LinearLayout>
Leave a Comment