Re: [android-developers] Expandiblelistview same layouts takeing for both actvities

2012-07-02 Thread Justin Anderson

 HI
 i Resolved this issue

Great!  Would you mind posting the solution so that others who have similar
problems can get their issues resolved as well?


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


On Sat, Jun 30, 2012 at 10:28 AM, Jagadeesh mjagadeeshb...@gmail.comwrote:

 HI
 i Resolved this issue



 On Fri, Jun 22, 2012 at 1:13 AM, Nobu Games dev.nobu.ga...@gmail.comwrote:

 So you are actually having a problem with both activities abbottasia
 and abbottusa, because they are using the same layout even though you
 created two separate ones? Why are you posting the code for this ListView
 activity then? This is completely unrelated to your problem.

 Look into both activities abbottasia and abbottusa, check whether you
 set the correct layout resource ids with setContentView in these
 activities' onCreate methods.

 If the correct layouts are in fact assigned then you need to clean and
 rebuild your project because sometimes the generated R class files get
 messed up a bit.

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


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


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

Re: [android-developers] Expandiblelistview same layouts takeing for both actvities

2012-06-30 Thread Jagadeesh
HI
i Resolved this issue



On Fri, Jun 22, 2012 at 1:13 AM, Nobu Games dev.nobu.ga...@gmail.comwrote:

 So you are actually having a problem with both activities abbottasia and
 abbottusa, because they are using the same layout even though you created
 two separate ones? Why are you posting the code for this ListView activity
 then? This is completely unrelated to your problem.

 Look into both activities abbottasia and abbottusa, check whether you
 set the correct layout resource ids with setContentView in these
 activities' onCreate methods.

 If the correct layouts are in fact assigned then you need to clean and
 rebuild your project because sometimes the generated R class files get
 messed up a bit.

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


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

Re: [android-developers] Expandiblelistview same layouts takeing for both actvities

2012-06-21 Thread Justin Anderson
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 mjagadeeshb...@gmail.com 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 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

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

Re: [android-developers] Expandiblelistview same layouts takeing for both actvities

2012-06-21 Thread Nobu Games
So you are actually having a problem with both activities abbottasia and 
abbottusa, because they are using the same layout even though you created 
two separate ones? Why are you posting the code for this ListView activity 
then? This is completely unrelated to your problem.

Look into both activities abbottasia and abbottusa, check whether you 
set the correct layout resource ids with setContentView in these 
activities' onCreate methods.

If the correct layouts are in fact assigned then you need to clean and 
rebuild your project because sometimes the generated R class files get 
messed up a bit.

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