Android – add a title or description to EditText
                                        
                    •
                    Android                                    
                If you open an application like Gmail and compose a new email in the to and subject lines, the to and subject will be displayed in the corresponding EditText. How do you add such a title to EditText? Which custom views? Or can I do this using the default widget?
thank you.
resolvent:
It is called a hint. Set the hint programmatically or use it as an XML attribute
                            The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
                        
                                            
                        THE END
                    
                    
                    
                                                        二维码
                        
                        
                                                
                        