Why does Android Studio 1.2 use ActionBarActivity

213 Views Asked by At

I am new to Android programming. I have installed Android Studio 1.2.1.1. I created a new project with min SDK = API 17 and target SDK = API 22.

Studio automatically extends MainActivity etc. with ActionBarActivity even through this is deprecated.

I have done some reading and now know how to change the code to use "extends Activity" or even "extends AppCompatActivity".

Why is Android Studio using this? I am not even trying to build for very old SDK versions.

1

There are 1 best solutions below

0
On BEST ANSWER

If you update to the Canary version, it will use AppCompatActivity.