How to target the absolute path when using file template in Android Studio Arctic Fox?

289 Views Asked by At

version: Arctic Fox 2020.3.1 patch 3.

I want to create a Fragment file and let Android Studio generate the layout file for me using the file template feature.

My problem is when create the fragment, the child template always generate the layout file in the same directory as the fragment file. How can I give the absolute path like "/app/res/layout/" for layout xml file? Any ideas?

enter image description here

0

There are 0 best solutions below