search

Home  >  Q&A  >  body text

android-studio - AndroidStudio res目录下新建anim等文件夹

操作系统: Mac OS X 10.10.4
软件:Android Studio 1.3(2015.7.28 更新)
问题描述:如图,想在res目录下建立入anim等文件夹,但是新建文件夹后不在res目录下显示,这里是在Android视图下,切换到project文件夹也不在res下,即文件位置不正确
提问:如何AndroidStudio res目录下新建anim等文件夹

感谢回复

PHPzPHPz2772 days ago1031

reply all(1)I'll reply

  • 巴扎黑

    巴扎黑2017-04-17 13:53:24

    Explore by yourself:
    First, in the project view, create a new resource directory under the res directory and name it anim
    Then, create a new android resource file under the anim folder. As shown in the figure, you can select the root node as translate (drop-down The frame system comes with this node)

    When switching to android view, the directory is displayed normally under res.

    Additional note: The root element pop-up window will only pop up when you create a new android resource file in the project view. In the Android view, the default is set root node

    reply
    0
  • Cancelreply