0

I want to use a custom layout for a DropDownPreference.

When I specify the layout as an android:layout="@layout/mylayout", I get a runtime error. Can anyone confirm if they have done this previously?

Maverick
  • 1
  • 2

1 Answers1

0

I solved it myself.

The issue was that I was not implementing Spinner component inside my custom Layout and DropDownPreference uses a Spinner component internally.

Maverick
  • 1
  • 2