- android:maxLines="1"
- android:ellipsize="end"
- android:paddingStart="20dp"
- android:paddingEnd="20dp"
- android:paddingTop="8dp"
- android:paddingBottom="8dp"
- android:textSize="18sp"
- android:textColor="?attr/appbarSpinnerTextColorSelector"
- android:background="?attr/spinnerBackground" />
\ No newline at end of file
+ android:orientation="horizontal"
+ android:background="?attr/spinnerBackground" >
+
+ <ImageView
+ android:id="@+id/spinner_item_imageview"
+ android:layout_height="30dp"
+ android:layout_width="30dp"
+ android:layout_gravity="center_vertical"
+ android:layout_marginStart="10dp"
+ tools:ignore="contentDescription" />
+
+ <!-- A checked text view allows the color of the text to be changed when it is selected (checked). -->
+ <CheckedTextView
+ android:id="@+id/spinner_item_textview"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:lines="1"
+ android:ellipsize="end"
+ android:paddingStart="20dp"
+ android:paddingEnd="20dp"
+ android:paddingTop="8dp"
+ android:paddingBottom="8dp"
+ android:textSize="18sp"
+ android:textColor="?attr/appbarSpinnerTextColorSelector" />
+</com.stoutner.privacybrowser.views.CheckedLinearLayout>
\ No newline at end of file