my code is:-

Drawabel partlycloud=res.getDrawable(R.drawable.a65_color_31);

I have more images like

a65_color_31
a66_color_31
a67_color_31
a68_color_31
a69_color_31
a70_color_31
a71_color_31

If user gives input as 67 then my drawable should be

Drawabel partlycloud=res.getDrawable(R.drawable.a67_color_31);

if it is 70

Drawabel partlycloud=res.getDrawable(R.drawable.a70_color_31);


like this i have more than 100 images how can give in simple code with
less codes.

please reply me..............




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to