I created PreferenceActivity. Some of the preferences are purely informative. I want them to be a little gray, so it will be clear that clicking on them should not do anything.
How should I do it?
You can try to set your activated attribute to false
<Preference android:enabled="false" ... />
style="?android:preferenceInformationStyle"
Source: https://habr.com/ru/post/1795472/More articles:Run the specified command on error without try / catch in Matlab - matlabC # parser calculation - stringLoading screens in games (providing animation does not stutter during the transition) - iphoneproblems with div breakdown - htmlHow to change Internet ShortCut.url file in C # and Windows 7 - c #Using a single emacs instance from multiple (virtual) machines - emacsHow can I use the latest version of HttpComponents on Android? - javaEnter dates from Python groupby group - pythonWhy does my application crash when I add an insert row in my table view? - iosWhy does the application crash when I add a row to the table view? - iphoneAll Articles