I have on the main layout  and FrameLayout  which by default is  blank or empty

I then select between two radio buttons

radio Button 1  Loads  client_single.xml      and  radio Button 2  Loads 
client_multiple.xml
into the above parent layout  using the following

FrameLayout    parent  = (FrameLayout)    findViewById(R.id.client_data);
parent.removeAllViews();
switch (RadioButton) {
        case R.id.button1:      View view = 
inflate.inflate(R.layout.client_single,  null);
                                parent.addView(view);
                                break;
        case R.id.button2       inflate.inflate(R.layout.client_multiple, 
parent);
}                               break;


When the client_single  or client_multiple  layout appear  the EditText  , 
Buttons and Spinners  all appear transparent or translucent
How do I keep them looking the normal way ?

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 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