Falcoa
Falcoa

Reputation: 2720

How to use PercentRelativeLayout in API 25

I want to use PercentRelativeLayout but I have the compileSdkVersion 25. Which dependency should I add to build.grade(Module: app)?

Upvotes: 1

Views: 170

Answers (2)

Nilabja
Nilabja

Reputation: 4276

add this in your build.grade(Module: app) dependencies

apply plugin:
   {
   .
   .
   .
   .
   }
dependencies {
    .
    .
    .
    .
    compile 'com.android.support:percent:25.1.1'

}

Upvotes: 1

arjun
arjun

Reputation: 3574

Here is the dependency for PercentRelativeLayout

compile 'com.android.support:percent:25.0.0'

Upvotes: 1

Related Questions