All Questions
Tagged with android-theme android-edittext
35
questions
0
votes
1
answer
325
views
How to make custom input pin code Android?
I make project on Kotlin Android. How can i make the same field and same input? It seems to me creating a few edittexts is not good decision
enter image description here
enter image description here
...
0
votes
2
answers
45
views
Android set EditText style globally in theme doesn't work
As mentioned here Android set edit text style globally in theme doesn't work
I have tried changing styles in theme file but globally it does not work.
When I add it on individual component it ...
1
vote
1
answer
1k
views
EditText style background specified in theme doesn't apply to EditTex?
I am creating an EditText like image. (Actually, I made it.)
Created drawable xml and set EditText as background.
However, to manage this more easily, I created a style in the theme and assigned it to ...
1
vote
1
answer
169
views
How do I change the color of the blob on an Android EditText view? [duplicate]
I'm trying to style an EditText but can't seem to find the right style for one of the UI elements. I don't even know it's name, which is slowing me down a bit :)
The background for this EditText is ...
4
votes
2
answers
4k
views
How to apply shapeAppreanace in EditText and TextView using Material Design in Android
I want to design a TextView and EditText with round corner.
There is one straight forward solution for this. Using custom shape background.
But since material design 1.1.0 introduces shapeAppearance ...
1
vote
1
answer
70
views
How to modify appcompat theme in android to get same spinner as basic theme?
When i use following theme
android:Theme.Light
and main class extends activity(Mainactivity extends Activity)
I get following output in which edittext and spinner are present
and when i use ...
0
votes
1
answer
230
views
EditText how to set colorControlActivated in Android 4.4 KitKat Api 19?
I'm trying to set the purple underline and cursor colors in an EditText to match green buttons in a dialog (see pic attached). I need to set the colors within the code, as different screens have ...
-1
votes
1
answer
49
views
Why EditText only accepts Theme?
I was trying to apply a style to an EditText to change it's colorAccent, I tried to set its style and android:textAppearance, but it completely ignored my new settings. The only way I got it to work ...
5
votes
4
answers
3k
views
EditText - Text selection background color change programmatically [duplicate]
I am working on dynamic theme apply on Android application concept. I am applying theme color programmatically for all UI. I want to change EditText selection background color programmatically.
Any ...
0
votes
2
answers
2k
views
Applying an accent color to an EditText
Is it possible to apply an accent color to an particular EditText while others are unaffected ?
i have this :
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- EditText on a ...
2
votes
2
answers
4k
views
How to change the color of the text selection handle of one of my EditText?
I have some of my EditText that are placed on a blue background, and for theses EditText i would like to setup a white color for the text selection handles (without uploading new png image if possible ...
2
votes
2
answers
1k
views
EditText uses color Accent for this pointer in the photo provided
I found that EditText uses a default color Accent for the pointer , so how can i change the color of it ?
On my EditText, if i insert android:theme= @style/mytheme, it will work but when i use style =...
10
votes
5
answers
16k
views
Cannot set colorControlNormal and android:textColor in style
I am trying to style a material EditText view:
<style name="AppTheme.EditText" parent="@style/Widget.AppCompat.EditText">
<item name="android:textColor">@color/white</item>
&...
5
votes
6
answers
3k
views
Android text selection handles have white background (instead of transparent)
The following screenshot shows my problem:
The text selection handles have a white background and overlay other UI elements. How can I make the background transparent?
Or the better question is ...
1
vote
1
answer
615
views
How to add curved underline to an Edittext or a Searchview?
I want to create a searchview if possible or an edittext similar to that, i beleive It's in holo theme but my project theme is Appcompact, thnx.