@Rich: Agreed a switch would work out better. My mistake.
Thanks
On Sat, Sep 3, 2011 at 7:56 PM, TreKing wrote:
> On Sat, Sep 3, 2011 at 1:29 AM, Hitendrasinh Gohil <
> hitendrasin...@gmail.com> wrote:
>
>> because if i put all the images under drawable folder then i need to give
>> different na
On Sat, Sep 3, 2011 at 1:29 AM, Hitendrasinh Gohil wrote:
> because if i put all the images under drawable folder then i need to give
> different names to images and do many if...else condition in code.
>
I don't know how themes work, but don't they just reference some resources
(images, styles,
How is putting them in seperate folders going to make it any different? You are
still going to have to name them and call them somehow...
@Appholics a switch statement is wy better in that situation.
--
You received this message because you are subscribed to the Google
Groups "Android Devel
I don't think so. I am not saying that you can't create sub folders but I
have never done that so I don't know.
On Sat, Sep 3, 2011 at 12:21 PM, Hitendrasinh Gohil <
hitendrasin...@gmail.com> wrote:
> is there any better way that i can manage it through single method?
>
> On Sat, Sep 3, 2011 at 1
is there any better way that i can manage it through single method?
On Sat, Sep 3, 2011 at 12:17 PM, Appaholics wrote:
> You don't need so many if else statements. For five themes you will need
> five conditions.
>
> if (theme == 1)
> {
> applyTheme1();
> }
> else if (theme == 2)
> {
> applyTheme
You don't need so many if else statements. For five themes you will need
five conditions.
if (theme == 1)
{
applyTheme1();
}
else if (theme == 2)
{
applyTheme2();
}
and so on. Simply call a method that will set the imageviews to the required
images.
Thanks
On Sat, Sep 3, 2011 at 11:59 AM, Hiten
Hi,
I am having 5 different themes(5 set of images).If user selects
particular particular theme images related to that theme should come.
is there anyway that i can make 5 different folders in res folder and
from there i can manage it?
because if i put all the images under drawable folder then
7 matches
Mail list logo