How to keep the same layout for different versions?

Asked

Viewed 104 times

4

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

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

  • You can check this other question. [http://answall.com/questions/71731/design-em-diferentes-vers%C3%B5es-do-android/71736#71736]

1 answer

2

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

<EditText
  android:background="#DDDDDD" />

Browser other questions tagged

You are not signed in. Login or sign up in order to post.