I have a PreferenceFragment added to the action, so I see my settings (and most importantly, I see my own action bar). But this snippet has nested preference screens inside, and when I click one of them, then the action bar changes to the default value (the nested preference screen is probably a new activity?).
PreferenceFragment
How can I stay with the custom set action bar?
In this PreferencesFragment I need to have an “About Us” button that displays some text (so probably show a different framework).
PreferencesFragment
OK. I did a crawl, for preference screens, I created a user activity, which I start with the settings, and this activity has another fragment of preferences in it, based on the intention extra
Sources for this: Android: run Activity from preferences.xml Is there a way to put additional settings in the setting?
If someone has a better solution, I will be glad to accept, this is the answer, but until then I will go with mine :)
Source: https://habr.com/ru/post/1501068/More articles:Android invalidate (rect) ignores borders - androidApache HTTP client, request from a specific network interface - javascrollTo always works, smoothScrollTo only sometimes - androidHow to extract some fields from real-time output of a command in a bash script - bashSecurity and stability issues around BitConverter.Int64BitsToDouble in C # - securityWhat is the difference between registerKeyboardAction (...) and getInputMap (). Put (...) + getActionMap (). Put (...)? - javaOn memory efficiency: vs xrange, zip vs izip range - pythoncodeigniter: how to avoid a db query returns the last statement as a key value - mysqlWhy variables are initialized with a maximum value instead of zero - c ++Connection between 2 ViewControllers in a bar-bar panel project - iosAll Articles