This question already has answers here:
Android Studio Editor Font Sizing
(11 answers)
Closed 10 months ago.
I was working with my class 9 project of android studio and while editing the font size I mistakenly changed it to 222 instead of 22, and now i can't see anything properly. How can i make it normal again?
Well this is not the right way to ask a question on stackoverflow and you should read the guidelines before asking questions.
But for your issue go to the xml file you were working on, located in res-> layout.
Press (ctrl + F) on Windows and type "size". This will help you to find the font size easily in your xml file.
Once you have found it change it to 22dp or anything you need.
Related
This question already has answers here:
Disable Button click sound in android
(4 answers)
Closed 6 months ago.
I can't find in our segment of the Internet this decide.
I work on Android game, and I can't disable click sound on application level, when the user click on clickable elements: buttons, imageViews etc.
But I know that I can do this using smartphone menu, but this solution not good.
Then, how I can disable this sounds using android studio code?
Thanks for your all answers and your wasted time!
you just have to add this line off code to disable the sound
Button.setSoundEffectsEnabled(false);
This question already has answers here:
Swing rendering appears broken in JDK 1.8, correct in JDK 1.7
(8 answers)
Closed 8 years ago.
I know this is not a programming issue, but I couldn't find any solution for two days. I have installed Windows builder and created my first hello world app, but something is wrong with the controls.
For example, this line
JOptionPane.showMessageDialog(null, "hello world");
gives me output.
What is wrong?
or type something jtextField
This could be a problem of your graphics card rendering poor quality images. Like greg-449 suggested, look at stackoverflow.com/q/22737535/2670892
This question already has answers here:
What is the easiest way to design Java Swing GUIs in Eclipse IDE?
(2 answers)
Closed 8 years ago.
I used Netbeans a lot but recently switched to Eclipse Luna. I am trying to create a GUI app in Java but I am having some trouble with this.
The drag and drop of Swing is very restrictive in Eclipse, I can get the label or text field any where on the screen I want, it keeps snapping to these weird "grid lines", or am I doing something wrong?
Are there extra plugins I need or am I doing something wrong?
Fixed the problem. I had to change the type of layout my form uses.
Thanks for your help.
This question already has answers here:
Is there an Eclipse plugin for collaborative editing? [closed]
(3 answers)
Closed 5 years ago.
A friend and I would like to do some real-time collaboration with Eclipse. Does anyone know a way we can share the entire project? I've looked around and I can't really find anything but something called Cola, and I can't find anything more on that than a video of them using it.
We've already installed the latest ECF, so if we're headed in the right direction, what's next?
I think Saros is what you are looking for.
The instructions for Cola are right here.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to change current Theme at runtime in Android
Hi so I'm nearing the completion of my first app and now there are just some things I'd like to add in for user interface for instance the current mms app I have on my droid is a modded stock one where it has in the settings a check box to change the apps theme between black and white.
I was wondering if someone could show me how to do that or at least point me in the right direction. I've read a few guides on adding check boxes to my app so that's no problem its the actual change how do I put in the code both themes and then set the app to look at one or the other based on the selection of the check box.
Thank you for any input and help.
Call Activity.setTheme() in onCreate, before you set up your layout.