Use RecyclerView instead of LinearLayout for contact numbers

This commit is contained in:
Moez Bhatti
2018-08-10 23:37:51 -04:00
parent caae77a189
commit 883904f529
3 changed files with 73 additions and 16 deletions
@@ -39,7 +39,7 @@
android:id="@+id/avatar"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginRight="16dp" />
android:layout_marginEnd="16dp" />
<LinearLayout
android:layout_width="match_parent"
@@ -55,7 +55,8 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
android:layout_marginTop="2dp">
<com.moez.QKSMS.common.widget.QkTextView
android:id="@+id/address"
@@ -83,10 +84,11 @@
</LinearLayout>
<LinearLayout
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/addresses"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" />
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
tools:listitem="@layout/contact_number_list_item" />
</LinearLayout>