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

enter image description here

aa.png

enter image description here

bb.png

enter image description here

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

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -