android - Android Studio 的布局编辑器在哪里存储收藏属性信息?

标签 android android-layout android-studio

Android Studio 图形布局编辑器允许用户通过单击右侧属性面板中的星标将 View 的一个或多个属性指定为“最喜欢的属性”:

enter image description here

enter image description here

能够通过源代码控制文件与其他程序员共享最喜欢的属性可能会很好。 Android Studio 在哪里存储这个最喜欢的属性列表?

最佳答案

尝试 ~/.AndroidStudio2.3/config/options.xml并寻找 ANDROID.STARRED.PROPERTIES <property>元素。

注意:

  • 您需要根据 Android Studio 版本调整目录(如果您运行的是 Windows,则需要找到它的实际位置)

  • 这完全没有记录,因此可能因 Android Studio 版本而异

  • 这是基于约 45 秒的实验

关于android - Android Studio 的布局编辑器在哪里存储收藏属性信息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45285859/

相关文章:

android - 在 xml 预览中排除布局

android - 将一部分Android源代码(TextToSpeech)硬编码到应用中

android - 使用 ContentProvider 获取缩略图

android - 错误 :rendering problems The following classes could not be found android. support.v7.internal.widget.ActionBarOverlayLayout

Android 自动完成 TextView : How to verify if a user has selected a suggested value or entered a new one?

安卓 : How to simplify my layout?

android - Robolectric NullPointerException 与 BugSense

android - 构建 apk 扩展类型显示 Mobogenie APK?我不知道为什么

android - 使用 PercentRelativeLayout 仅指定宽度(高度自动)

android - android中的动态按钮问题