Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 23f1cc9f authored by Sergey Ten's avatar Sergey Ten Committed by Josh Guilfoyle
Browse files

Make ListView widgets theme'able. Other widgets (e.g. cgeckbox) will need to...

Make ListView widgets theme'able. Other widgets (e.g. cgeckbox) will need to be made theme'able as well.
parent 412919f3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -504,7 +504,9 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
        TypedArray a = context.obtainStyledAttributes(attrs,
                com.android.internal.R.styleable.AbsListView, defStyle, 0);

        a.getResources().setContext(context);
        Drawable d = a.getDrawable(com.android.internal.R.styleable.AbsListView_listSelector);
        a.getResources().setContext(null);
        if (d != null) {
            setSelector(d);
        }