android - Can I list all string resource files in folder tree? -
i create project free , pro edition based productflavors, , use different string resource file different edition, folders construction cc.png.
if change build variant in panel, values in android tab display 2 strings.xml(2), 1 located main folder, located free or pro folder, can see aa.png , bb.png.
i hope string resource files can displayed together, display 3 string.xml(3), first located main folder, sencond located free folder, third located pro folder. how can ? thanks!
cc.png
aa.png
bb.png
build.gradle
apply plugin: 'com.android.application' android { compilesdkversion 22 buildtoolsversion "22.0.1" defaultconfig { applicationid "info.dodata.messagecleanup" minsdkversion 9 targetsdkversion 22 versioncode 7 versionname "1.07" archivesbasename = "messagecleanup-v" + versionname } productflavors { free { applicationid "info.dodata.messagecleanup" buildconfigfield "string", "appname", "\"message cleanup\"" } pro { applicationid "info.dodata.messagecleanup.pro" buildconfigfield "string", "appname", "\"message cleanup pro\"" } } buildtypes { release { minifyenabled false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile filetree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.google.android.gms:play-services:7.3.0' }
unfortunately android project pane view not support behavior. android view designed show state of project given build variant, not across variants.
as have discovered, easiest way see resources in available configurations use "project" view instead of "android" view.
you free file feature request on android issue tracker option show resources available across variants.



Comments
Post a Comment