Questions tagged [customizing]
101 questions
14
votes
2 answers
Customizing the layout of a PreferenceScreen
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.createPreferenceScreen(context);
as.setTitle(name);…

se22as
- 2,282
- 5
- 32
- 54
13
votes
1 answer
How to add a searchbar to JSQMessagesViewController
In my chat application I am using JSQMessagesViewController for rendering the conversation. The application also has public messages that I want to search in. I am now trying to display them using JSQMessagesViewController. For this I want to hide…

Edwin Vermeer
- 13,017
- 2
- 34
- 58
12
votes
2 answers
Customizing OpenFileDialog
I am working on winforms application in C#. What I want to achieve is to get a file from user for which I am using the following code:
OpenFileDialog dlg = new OpenFileDialog();
if (dlg.ShowDialog() == DialogResult.OK)
{
string sFileName =…

Jame
- 21,150
- 37
- 80
- 107
6
votes
4 answers
custom Toast at screen top
Please read the question before answering with your standard routine to print a Toast :)
I'd like to display a Custom Toast at the top left corner of the screen. I use this code to create the Toast:
Toast mFixedToast = new…

rupps
- 9,712
- 4
- 55
- 95
4
votes
2 answers
Grails 3 Customizing Error object
What is the best way to customize the default error object returned by grails domain constraint validation failures?
The current JSON I am getting is
{"errors": [{"object": "com.self.learning.grails.demo.api.Person",
"field": "name",
…

Karan
- 45
- 4
4
votes
1 answer
Customizing Android Lock Screen functionality?
I will like to develop an App which modifies LockScreen of Android. I have read in some forums that it is not supported as yet in the SDK but there are some applications available that does exactly that.
One can surf Screen Suite Lock Screen
Can…

sunil
- 9,541
- 18
- 66
- 88
3
votes
3 answers
UINavigationBar with solid color iOS 5
I'm using the category to customize nav bar. My code is:
- (void) drawRect:(CGRect)rect {
CGContextRef context = UIGraphicsGetCurrentContext();
CGContextSetFillColor(context, CGColorGetComponents([self.tintColor CGColor]));
…

Anton Filimonov
- 1,655
- 15
- 19
3
votes
2 answers
How to make a JFileChooser with a different language?
I want to know how I can make a JFileChooser in the Swedish language.
Unfortunately it turns out that if I could use a JDK version 10 or earlier i could actually do this by creating a Locale object and make it the default.
But we are discouraged to…

Oscar Josefsson
- 41
- 4
3
votes
1 answer
How can I rename builtin functions e.g "if" -> "hehe", "elif" -> "haha", "else" -> "hihi"?
How can I change function names so that Python will read hehe as if, haha as elif and hihi as else.
Code right now is something like:
if x == 7 or x == 2:
print(":)")
elif x == 3:
print(":(")
else:
print(":|")
I want my code to be like…

Georxy
- 41
- 4
3
votes
1 answer
How Do You Customize Bootstrap 4's JavaScript File
I'm building a website that only needs Bootstrap 4's collapse.js and dropdown.js so I can use it's Navbar component.
I don't want to use the entire Bootstrap file.
So I downloaded Bootstrap's source code and dropped bootstrap-4.3.1 ▸ js ▸ src…

Larry Azevedo
- 31
- 3
3
votes
1 answer
Customize Search Portlet in Liferay DXP 7
I would like your support in order to get some help in customizing the search component in Liferay DXP 7.0 Enterprise.
I have reviewed all the available documentation but although I have found many articles about the issue, the step by step is not…

Klayton de Oliveira
- 31
- 2
3
votes
2 answers
Customize rails scaffolding template
I want to customize the 'new' and 'edit' pages in rails scaffolding. Where can i coustomize it.
can any1 please provide me a tutorial for that.
I tried to override the default _form.html.erb page and got error
create app/models/
exists …

Okky
- 10,338
- 15
- 75
- 122
2
votes
1 answer
iOS: Can the UIImagePickerController Default UI be modified?
I am working with a small camera app for a client and I have now finished all functionality of it. In the standard camera controls i need to modify one thing , the cancel button should say gallery instead.
But unless i am missing something i will…

FredrikJansson
- 135
- 2
- 10
2
votes
0 answers
Google translate widget - customizing the look
I have this code on my website to add translate widget:
How can I customize…

smogg
- 1,494
- 3
- 19
- 27
2
votes
0 answers
Is it possible to change the default flags in tmux window-format?
I'm trying to customize my tmux environment. I'm now working on window-status-format and window-status-current-format. The default is: #I:#W#F but I'm wondering if these default values could be changed in any way.
For example, instead of arabic…

ma4strong
- 300
- 2
- 8