filtering recyclerview android

Solutions on MaxInterview for filtering recyclerview android by the best coders in the world

showing results for - "filtering recyclerview android"
Archie
16 Feb 2017
1<?xml version="1.0" encoding="utf-8"?>
2<android.support.v7.widget.CardView
3   xmlns:android="http://schemas.android.com/apk/res/android"
4   xmlns:app="http://schemas.android.com/apk/res-auto"
5   android:orientation="vertical"
6   android:layout_width="match_parent"
7   android:layout_height="wrap_content"
8   android:layout_marginBottom="4dp"
9   app:cardCornerRadius="4dp">
10   <RelativeLayout
11      android:layout_width="match_parent"
12      android:layout_height="match_parent"
13      android:layout_margin="4dp">
14   <ImageView
15      android:id="@+id/image_view"
16      android:layout_width="50dp"
17      android:layout_height="50dp"
18      android:padding="2dp" />
19   <TextView
20      android:id="@+id/textView1"
21      android:layout_width="wrap_content"
22      android:layout_height="wrap_content"
23      android:layout_alignParentTop="true"
24      android:layout_toEndOf="@+id/image_view"
25      android:text="Line 1"
26      android:textColor="@android:color/black"
27      android:textSize="20sp"
28      android:textStyle="bold" />
29   <TextView
30      android:id="@+id/textView2"
31      android:layout_width="wrap_content"
32      android:layout_height="wrap_content"
33      android:layout_below="@+id/text_view1"
34      android:layout_marginStart="8dp"
35      android:layout_toEndOf="@+id/image_view"
36      android:text="Line 2"
37      android:textSize="15sp" />
38   </RelativeLayout>
39</android.support.v7.widget.CardView>