Resource ID for android: height

As recommended here for Android L development, I used the property android:elevationin my application, but it shows the following error:

Resource ID not found to raise attribute in Android package

I am using eclipse and I downloaded the latest version just 2 days ago. I also set the target sdk address as API level 21minimum as API level 14. I also installed the latest updates in the sdk-build tools shown in the sdk manager.

Does anyone know a solution? Plz help me.

+4
source share
4 answers

1) "" > " " > "" > " Android L" > "" > ""

2) android:minSdkVersion="L"

, .

+1

, Android Lollipop API level 21. () API level 22.

, android:minSdkVersion android:targetSdkVersion "21".

0

"", "", "Android" Android 5.0. , android:minSdkVersion. Android , , .

lint xml, tools:ignore="NewApi" . xmlns:tools="http://schemas.android.com/tools", .

AppCompat v21 Material Design , , Eclipse.

0

android:elevationor View.setElevation()entered with Android API 21. So, if you installed android:minSdkVersion="14", this is not normal. android:minSdkVersion="14"is integral.

0
source

All Articles