Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there way how to use paddingEnd and paddingStart with minSdkVersion <17?

I just have found there is android:marginStart, android:marginEnd, android:paddingStart and android:paddingEnd in API 17. This margins and paddings use text orientation. Is there way to use this definitions and build application for Android 2.2+ ?

like image 921
Salw Avatar asked Dec 17 '12 15:12

Salw


1 Answers

There is way to use new support for Right To Left languages on devices with Android 4.2+ and support lower Android versions at same time. There is a blog article on Android Developers about it.

like image 77
Salw Avatar answered Oct 01 '22 13:10

Salw