androidxamarintarget-sdk

Android targetSdkVersion behavior


I am confused about the requirement/behavior of targetSdkVersion. As far as I understood, setting the target SDK to a particular version indicates that behavior of the application (UI) is ensured up-to that particular version.

In my application, I had set my targetSdkVersion to 1 (for testing) and I have some buttons in my page. What I expected was, there will not be any ripple effects in button click (which was introduced in later versions of Android). But there was a ripple effect when I clicked the button.

Application was running on lollipop.

Can any one explain how this works.


Solution

  • There are three SDK levels of note: