Add ability to add icon to PreferenceView

This commit is contained in:
Moez Bhatti
2018-01-26 13:58:20 -05:00
parent fc8baa32a8
commit 218b611ae3
4 changed files with 38 additions and 2 deletions
@@ -31,6 +31,14 @@
android:gravity="center_vertical"
android:orientation="horizontal">
<ImageView
android:id="@+id/icon"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="8dp"
android:visibility="gone" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"