I don't understand what you are asking...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Jun 21, 2012 at 9:05 AM, Jagadeesh <[email protected]> wrote:

> Hi
> i have implemented expandable list view with group items =5 and child
> items 7 for each group having 7 child items in
>  that for all child items useing with onclicklistener onclicklistener and
> calling another actvity ,. its working .
>  but group o items contains calling actvities its taking same layout how
> to rectify this it would be great help .
>
> if(groupPosition  == 0)
> {
>    tv1usa = new TextView(this.context);
>   tv1usa.setText("USA");
>   tv1usa.setTextSize(20);
>               tv1usa.setPadding(80, 0,0 ,0);
>               tv1usa.setTextColor(Color.BLUE);
>               tv1usa.setOnClickListener(new OnClickListener() {
>
>               public void onClick(View v) {
>               Intent myintent=new Intent();
>
>  myintent.setClass(getApplicationContext(),AbottUSAActivity.class);
>               startActivity(myintent);
>               }
>
>               });
>
>                 tv4Asia=new TextView(this.context);
>                 tv4Asia.setText("ASIA");
>                 tv4Asia.setTextSize(20);
>                 tv4Asia.setPadding(80, 40,0 ,0);
>                 tv4Asia.setTextColor(Color.BLUE);
>                 tv4Asia.setOnClickListener(new View.OnClickListener(){
>                  public void onClick(View v)
>                  {
>                  Intent clickintent=new Intent();
>                  clickintent.setClass(getApplicationContext(),
> AbottASIAActivity.class);
>                  startActivity(clickintent);
>                  }
>                 });
>                 }
>
> Thanks
> Jagadeesh
>
> --
> 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 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

Reply via email to