Hi All,

I have an App, which is being made up of Multiple Library Projects
> App
     > res
           >normal
           >large
           >x-large
> Library1
     > res
           >normal
           >large
           >x-large
> Library2
     > res
           >normal
           >large
           >x-large
> Library3
     > res
           >normal
           >large
           >x-large
> Library4
     > res
           >normal
           >large
           >x-large

Now because the App uses these libraries inside the build.gradle I have

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar’])
    compile project(':library1')
    compile project(':library2')
    compile project(':library3')
}

Question 1:  How do make the library not dependent, In Other words I wish to 
offer Library3 as an add on, So how do you check IF library 3 is available and 
if so, then use the Activities and classes of Library 3 ?

Question2:   How can I attach Library2   Only  to devices that are  X-Large    
and   *not*   attach it to   Normal   and   Large    Screen Resolutions ?

Thanks in Advance

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to