Posts by Everton Luis • 1,499 points
39 posts
-
0
votes1
answer32
viewsQ: How to close Drawer after changing orientation?
How do I get my Drawer to close after a change of orientation? Example: At first I opened the Drawer, right after I turned my smartphone horizontally, now I want this Drawer that April previously…
-
0
votes3
answers958
viewsQ: ANDROID: How to identify user screen density?
I want the application to just download the images that are adaptable to the user screen, such as: if the user device supports xxhdpi images, it will not be necessary to store the images of xxxhdpi,…
-
0
votes1
answer1570
viewsQ: How to assign click effects to an Imagebutton?
For example, I added to my xml layout an Imagebutton, put an image and left with transparent background, for having done that it lost the characteristics of a button, how do I add click effect?…
-
2
votes1
answer215
viewsQ: How to block an item from a listview?
I have a list of Textview in a Listview, and by clicking on one of the Textview I have access to a Fragment. How do I stop, when I’m in one Fragment, the Textview responsible for opening it is…
-
3
votes1
answer690
viewsQ: How to add reticence if content leaks from Android layout?
How to add ellipsis if content leaks from Android layout? For example: I have a very large text in my Actionbar, and instead of having to decrease it in size, I want it to add reticence in case…
-
0
votes2
answers318
viewsQ: How to remove a View from an xml layout?
for example... I want that when inflating a layout with a certain class, it removes the unnecessary views and uses only the necessary ones... There is a method to remove views?
-
3
votes1
answer1941
viewsQ: What is the setProperty method of the System class for on Android?
In my case I used so: System.setProperty("file.encoding", "UTF-8"); It would be the identification of the language used?
-
4
votes1
answer3345
viewsQ: How to write the percentage symbol on a string in Java?
How to make the string accept the percentage symbol '%' ?
-
1
votes1
answer891
viewsQ: How to set margin in a Textview in java source code?
When I’m in the xml, only applies the property: android:margin="15" I want to make the application of this same property, only, in the source code of the java, how do I do that?…
-
4
votes2
answers8611
viewsA: How to justify the text in a Textview?
@Guilherme’s reply is correct, but in my case, for android identify the enconding used... mWebView.loadData(text,"text/html;charset=UTF-8",null);
-
7
votes2
answers8611
viewsQ: How to justify the text in a Textview?
It is possible to justify (align) the text of a TextView? Besides justifying, I want to apply other types of formatting.
-
1
votes1
answer290
viewsQ: How to set up an Activity to take up all screen space?
I want to hide to the notification bar!!
androidasked Everton Luis 1,499 -
0
votes1
answer1534
viewsQ: How to change the text color of Actionbar menu items?
In addition to changing the text of the menu item, how do I change the background of the drop-down menu? In this case, what only appears when you click on the 3 dots.
-
3
votes1
answer6178
viewsQ: How to configure the back button action on android?
How to perform certain activities in the app when the back button is heard?
-
3
votes2
answers2746
viewsQ: How to recover a string-array item within my Activity layout in the "xml" case?
I created an array of xml strings in my strings.xml folder, now I want to know how to recover a specific item according to its position, both in the Java source code itself and in the XML code...…
-
0
votes1
answer143
viewsQ: How to return to my Actionbaractivity?
For example, for example... I have an application that has a main Actionbar and I "Seto" an Activity that has a drawerLayout (which has a side menu)... In each menu option -case selected- I replace…
-
2
votes1
answer265
viewsQ: How to insert a Toolbar into Actionbardrawertoggle?
I want to insert an icon like Toolbar but my Android Studio denounces a conversion error to Toolbar... this is the code from which he denounces the error: actionBarDrawerToggle = new…
androidasked Everton Luis 1,499 -
5
votes2
answers3895
viewsQ: Drawable or Mipmap?? What’s the difference?
Since version 1.1 of android studio appeared a new folder called mipmap with the same features of drawable. What is the usefulness of this new folder?
-
2
votes2
answers4746
viewsQ: How to adapt an Android app to various screen sizes?
For example, for example... I want the app on Android to be presented equally both on screens from 5" to 3"... And how do I apply a "scrolling" layout, how to add a scroll to the Android layout?…
-
-2
votes1
answer1477
viewsQ: Is there a Framework for JAVA Desktop programming?
There is a graphic development kit for the Java language, for desktop applications?
javaasked Everton Luis 1,499 -
7
votes1
answer3635
viewsQ: Has Marquee been discontinued in HTML5?
If yes, what the tag that I can use to enjoy its functions? How can I limit the beginning and its end, for example: When using the tag Marquee, in the transition of images or texts there is always a…
-
7
votes1
answer9427
viewsQ: I can’t update my app on google play?
I know it is necessary to change the version number, but when I make the change and try to generate an apk gives error and shows me a message... Error:XML version "2.0" not supported; only XML 1.0…
-
3
votes1
answer15733
viewsQ: How to change the name in the android app package?
The current name of my package is com.newapp.nomedopacote. Well, in case I want to change it to com.newapp.novopacote, without damage to the application. I tried to simply make a refactor and it…
-
14
votes5
answers1721
viewsQ: Is it possible to change the type of the variable in Java?
Is it possible to change the type of my variable in Java? For example, I created a variable x, she being a Double: double x; I want to continue using my variable x but she is now a int: int x;…
-
3
votes1
answer465
viewsA: How to reduce a decimal number in java?
I’ve already found the answer. Just use the DecimalFormat, thus: double x = 1.3333; DefimalFormat df = new DecimalFormat("0,##"); df.format(x);
-
1
votes1
answer465
viewsQ: How to reduce a decimal number in java?
For example, for example... Calculating 8/6 I will have a periodic tithe equal to 1.333333... But I just want to show the user only 2 digits after the comma, that is, 1.33. How can I do this?
-
1
votes1
answer474
viewsQ: Android Studio does not save project changes
Before this problem happened, I compiled and recompiled my projects without any problem. But at the moment, when I compile my project, the IDE compiles the original project state, i.e., it compiles…
-
1
votes1
answer4842
viewsQ: How to Restore Factory Settings from Android Studio?
My Android Studio IDE is giving many problems to compile my android project... How do I "reset" it?
-
3
votes1
answer80
viewsQ: Can you determine a line of code for each browser?
I want my Google Chrome site to have width: Xpx; and in Safari have width: Ypx;, this is possible?
-
9
votes3
answers94464
viewsQ: How to mask an HTML5 input?
For example... I want one input unique to phone numbers. By typing the DDD it automatically receives the parentheses: (xx). When typing the rest of the numbers it divides with a hyphen, for example:…
-
0
votes2
answers226
viewsQ: Custom HTML font inside IE10?
When testing on Chrome, Firefox and Safari, they all ran fluidly with the source on my site, but when I tested on IE9 it didn’t recognize the source I imported, what’s the problem? I imported the…
-
0
votes2
answers20112
viewsQ: How to add a horizontal scrolling in CSS?
Like, for example, on the Netflix website when movies are rolling horizontally.
-
1
votes1
answer60
viewsQ: Is it possible to apply an external and internal shadow effect to a box in css3?
For example, I want to add to a menu button an internal and external shadow effect, is it possible? I applied it once but one removed the other!
css3asked Everton Luis 1,499 -
4
votes2
answers5553
viewsQ: Where to create the Assets folder in an android project?
Where the folder should be created Assets? I want to use it to store my sources.
-
0
votes2
answers5266
viewsQ: I can’t remove the title bar from the android app
I’ve tried using android:theme="@android:style/Theme.NoTitleBar", but when I run my app it gives error.
-
22
votes1
answer68862
viewsQ: How to generate a . apk file in Android Studio?
If it is already generated in which folder it is located?
-
6
votes2
answers13289
viewsQ: How to indent code in Android Studio?
How do I indent my XML and JAVA code in Android Studio? I would also like to know how to increase the source of the code.
android-studioasked Everton Luis 1,499 -
4
votes3
answers42289
viewsQ: Is it possible to emulate a single ticket with mobile NFC?
Example: Instead of being necessary to pass the ticket in the bus machine, pass the cell phone! Or better.. the TAG identification would be the same on both devices, both ticket and mobile!
mobileasked Everton Luis 1,499 -
6
votes2
answers3795
viewsQ: How do I run a video inside Jframe?
I want to open a screen and contain a player to run the video that is attached to the project!