How to maintain the same layout for different versions?

4

How can I keep the layout of my apps for different versions of Android?

Example: A EditText has layout in version 2.1 and another in versions 4.x, how to keep the layout of version 4 in previous versions? >     

asked by anonymous 06.11.2014 / 04:35

1 answer

2

Just tell us a background color that it will already lose the features of the version. Example:

<EditText
  android:background="#DDDDDD" />
    
22.11.2016 / 17:25