preference Questions
8
Solved
EDIT: The problem described below was due to a very peculiar device issue not caused by any coding-related problem.
I have a preferenceActivity in which I have many checkBoxPreferences.
The checkB...
Chondriosome asked 27/6, 2011 at 23:55
13
Solved
I did it many times, and each time I forgot where it was.
Menu File → Preferences → Settings.
I get this:
I want to open file settings.json (editable JSON file) instead. How can I do that?
Pinzler asked 26/1, 2021 at 20:42
9
Solved
Sometimes when I'm working I end up with several open tabs. My problem is that every time I need to switch to another file I need to constantly scroll until I find the desired file (which is not al...
Clair asked 28/3, 2019 at 5:10
17
I am facing very weird problem in designing preference screen. Though I am not giving any margin in layout,it is leaving some space in left.
As you can see in image below:
XML:
<Preference...
Craquelure asked 29/8, 2013 at 11:11
11
Solved
i need to set the defult value for a ListPreference when the Activity starts.
I've tried with ListPreference.setDefaultvalue("value"); but it makes the firts Entry of the List as default. I need it...
Ellaelladine asked 4/3, 2011 at 17:34
10
Solved
I want to change the integrated terminal to Cmder. I use Visual Studio Code on Windows 8.1.
I checked the documentation and also the preference file, but I am confused about which line to change.
...
Potsdam asked 8/11, 2016 at 12:51
3
Solved
I am using a PreferenceFragment (without a ListView), but am unable to set the background color, and it seems to be transparent.
How can I set the background color to white with PreferenceFragmen...
Curbing asked 6/6, 2013 at 19:7
4
Solved
I have PreferenceScreen with long title especially in some languages. I'm able to set multiple lines title for CheckBoxPreference or ListPreference with this:
Android preference summary . How to s...
Counterblow asked 9/2, 2012 at 22:40
2
I have created a custom EditTextPreference:
<EditTextPreference
android:key="alert_planed_edittext_preference"
android:title="@string/alert_planed_edittext_preference"
android:summary="@stri...
Ferric asked 22/1, 2013 at 9:19
8
Solved
If you look at either Android Settings screenshot or FragmentsBC screenshot, there are margin in PreferenceFragment. How can you get rid of it?
I tried making PreferenceFragment width to fill...
Pessary asked 16/2, 2012 at 16:15
3
Solved
I cannot find any tutorials on checkbox preference. I can use a listpreference, but I can't use checkbox preference. For now, I want that if user sets on the checbox, a toast msg says "true" and if...
Bentlee asked 27/6, 2011 at 17:15
2
Solved
Summary of preference is allowed only 2 lines .
If I want to display 3 lines or more in summary . How can I do ?
Cumulonimbus asked 18/7, 2011 at 6:51
5
Solved
Before I asked to remove the padding of the PreferenceActivity/PreferenceFragment:
Android: How to maximize PreferenceFragment width (or get rid of margin)?
This time I having trouble adjusting m...
Camiecamila asked 2/3, 2012 at 20:17
4
How can I create a ListPreference with checkbox?
I know how to use ListPreference, but I need multiple selection like in Alarm application on "repeat" preference.
like this screenshot:
Occupation asked 3/11, 2010 at 8:21
5
I want to hide the divider between preferences in fragment.
The code is below:
1.SettingsActivity.java
public class SettingsActivity extends PreferenceActivity {
super.onCreate(savedInstanceStat...
Trichloroethylene asked 17/12, 2014 at 3:59
2
I'm writing a program that executes do javascript in Safari. The only problem is that I'm trying to make the app give its self permission to do it. I'm trying to locate the file that handles the Sa...
Intermission asked 14/6, 2016 at 3:52
3
I have gone back and fourth on this and I just can not get it. I am setting up my settings using a preference fragment. I can get the settings to work and I can even get the "summary" to update whe...
Kory asked 26/3, 2014 at 4:42
5
Solved
I've created an Android live wallpaper and i'm trying to let a user choose an image from their phone and apply it as a background image, but when I launch the activity that start the intent to pick...
Mont asked 13/3, 2012 at 2:45
2
Solved
I can set appropriate layout for preference through android:layout attribute. For an example
<Preference
android:key="friction"
android:title="@string/friction"
android:layout="@layout/fri...
Callboard asked 20/10, 2011 at 3:28
4
Solved
I am on Lion - and in the command line, when I open up my project using "subl ." in my project folder - it opens up the last project I had open before I quit Sublime.
I have the Max Preference "Re...
Heliogabalus asked 25/10, 2011 at 13:35
3
How to generate dynamic listPreference in android?
I want to get all wifi access points and make a list using in preference Activity(i.e. make a list using listpreference).
How to do this?
Sacroiliac asked 21/3, 2011 at 8:37
2
Solved
My requirements
Note: I need to support Android API 15 and onwards.
In my PreferenceFragment I am dynamically adding PreferenceScreen's to a PreferenceCategory.
PreferenceScreen as = mgr.create...
Acclivity asked 30/1, 2015 at 16:42
2
Solved
I'm trying to create my own ImagePreference that I will use in my app preferences in order to pick the picture the user chooses to represent himself.
I'm not too sure about what I'm doing, but bas...
Debussy asked 8/8, 2013 at 6:32
3
Solved
I have created a Custom SeekBarPreference such that it displays a range of time to be selected from (say 0.2 sec to 2.2 sec). My problem is onProgressChanged() is called twice - once with progress ...
Cirrostratus asked 14/8, 2014 at 10:52
3
Solved
I would like to get View instance that is used to display specific Preference in my
PreferenceActivity, so i can modify its properties, for example:
public class SettingsActivity extends Preferen...
Upstroke asked 8/12, 2011 at 13:53
1 Next >
© 2022 - 2025 — McMap. All rights reserved.