Search code examples
javaandroidandroid-relativelayout

Does API 17 support Percent Relative Layout?


I am creating an app and want to use percent relative layout, does API 17 and up support that or am I out of luck? I have not found anything saying no, or anything say yes.


Solution

  • As @kris larson said in the comment. PercentRelativeLayout comes from the Percent Support Library, if you want to use it, just import it:

    com.android.support:percent:24.1.1
    

    It has nothing to do with what API level you are using.