Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Dynamically get resources of module

OP TheLexus

22nd August 2014, 12:12 PM   |  #1  
OP Senior Member
Thanks Meter: 12
 
139 posts
Join Date:Joined: Jun 2011
Hi guys,

i try to replace a drawable ressource using a drawable packaged inside my module. It works if i use the R.drawable.something constant. But i need to use Resources.getIdentifier() to get the resouce. My problem is, how do i get a Resource class that uses my modules resources?

Thanks!
Bye
TL
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes