Questions tagged as 'android-styles'

1
answer

How to replace the space character with another?

The title of the question is to understand that it is simple I ask fool, but I would not like to know how to replace the spaces of a EditText with something else, as in the image below: In the case of the image the spaces are replaced...
asked by 11.02.2018 / 02:30
1
answer

Android themes support on custom components using AppCompat-v7

I started using AppCompat-v7 for use the concept of Material Design in my project . But now I realized that my custom components even inheriting from native components are not applying themes like native components, for example: I have the...
asked by 10.04.2015 / 15:38
1
answer

How to put the default styles of android ex .. edittext spinner etc

I'm in need of some help. My android app is in trouble, all the elements I add it plays on the screen in a different way. Ex: when I add an EditText it does not stick to the border only shows the same when it gains focus and so to the others...
asked by 21.07.2015 / 21:49
3
answers

Texts style of EditText - Underline on ZigZag

I have an edittext that when it detects a specific word it highlights it for example: print("Destaque") The word print will be highlighted. But until that's fine, I want every time it detects a variable or a word that is wrong acc...
asked by 09.11.2017 / 22:35
1
answer

Customizing themes for Android API 9 and 10

I have an App that runs from API 9 to 23 of Android, however the text colors are different from the colors set, the correct Blue Toolbar with white text. The problem occurs only in APIs 9 and 10. Andthestyleisasfollows:<!--Baseapplication...
asked by 05.01.2016 / 13:08
0
answers

Change the text color of a button via XML when clicking on it

Good afternoon!   I'm creating a styleGuides for an android application and I'm having a hard time changing the text color of the button to the moment it is clicked by the user:   In this example I'm creating a cancel button, where, initially, t...
asked by 05.05.2018 / 20:08
0
answers

theme for android spinner

Good Night! I want to define a custom theme for my Spinner since the background of the application has a dark color, I would like to set a clear color for the spinner button and for the texts, but I can not accomplish this feat by setting a them...
asked by 11.02.2018 / 00:04
0
answers

How to set height of ActionBar?

I want to set the height of ActionBar to 80dp but the way I did it is not working: <style name="LargeActionBar" parent="Base.Theme.AppCompat.Light.DarkActionBar"> <!-- Customize your theme here. --> <item name="c...
asked by 13.05.2017 / 20:04
2
answers

Change background color

I'm starting to learn how to program, and I've decided to create an App in intel xdk . This App is a book I wrote at a certain time, it's a very simple App , but I wanted to add a button where by clicking it, for easy reading, but I d...
asked by 22.06.2016 / 22:44
1
answer

I would like to know how do I change the color of the selected items, ActionBar?

<!--styles.xml--><resources><!--Basedotemadaaplicação.--><stylename="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> <!-- Customize your theme here. --> <item name="colorPrimary">@color/...
asked by 21.12.2017 / 23:04