Yes, this can be done:
The action templates are here: [ANDROID_STUDIO_DIR] \ plugins \ android \ lib \ templates \ activities
find the template you want to change
open \ XXXActivity \ root \ src \ app_package \ XXXActivity.java.ftl , find and replace the import of ActionBarActivity and ActionBarActivity using AppCompatActivity.
source share