Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have searched Google and several sites for an already existent answer to this question and have done so to no avail. I've applied Alpha Animations before to TextViews, like so:
Java
TextView textview = (TextView) findViewById(R.id.textview);
        
        Typeface x = Typeface.createFromAsset(getAssets(), "x.ttf");  
        textview.setTypeface(x);
        
        AlphaAnimation animation = new AlphaAnimation( 1.0f , 0.0f );
        animation_fade.setDuration(2400);
        animation_fade.setFillAfter(true);
        
        textview.startAnimation(animation); 

However, I've no idea how to apply this sort of animation to the hint of an EditText View. Obviously, applying the animation to the EditText View itself animates the entire View, rather than just the hint. Does anyone have a solution?

Any help is very much appreciated! -ZS
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900