Preference activity label

bluedude

Well-Known Member
Licensed User
Longtime User
Hi,

Is there a way to just add a label to a preference activity? I don't want to have an edit box.

I'm using the AHPreference library.

Cheers,
 

yttrium

Active Member
Licensed User
Longtime User
I don't think so. Maybe you can use another category instead.

Do you think there's a way to do it with AHPreferenceActivity?

Specifically, with an intent that does nothing?
 
Upvote 0

yttrium

Active Member
Licensed User
Longtime User
Sorry but I do not know.

AHPreferenceActivity has a function that creates a new entry in the list with a header and description. When tapped, it starts a pre-specified intent. If we could figure out a way to create an intent that does nothing, then we could in theory create this label.
 
Upvote 0
Top