Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create custom preferences #106

Open
Robotxm opened this issue Dec 18, 2022 · 1 comment
Open

Create custom preferences #106

Robotxm opened this issue Dec 18, 2022 · 1 comment

Comments

@Robotxm
Copy link

Robotxm commented Dec 18, 2022

In PreferencesAdapter#onCreateViewHolder() only few types of layouts can be used. How can I create a custom preferences with custom layout?

@Maxr1998
Copy link
Owner

It's not possible to set the layout of the whole preference view. You can, however, specify a custom layout for the preference's widget by overriding getWidgetLayoutResource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants