SORU
16 EKİM 2011, Pazar


Her çocuk aynı anda içinde LinearLayout manzaralı

Bir ben var TextViews birkaç çocuk içeren LinearLayout,. Nasıl LinerLayout çocuk manzarası bir döngü kullanarak alabilir miyim?

CEVAP
16 EKİM 2011, Pazar


bu olabilir gibi getChildCount() ve de getChildAt() kullanın

int childcount = ll.getChildCount();
for (int i=0; i < childcount; i  ){
      View v = ll.getChildAt(i);
}

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • BASS212M

    BASS212M

    15 Temmuz 2009
  • BurnedInDotCom

    BurnedInDotC

    3 NİSAN 2010
  • hydejiaqi

    hydejiaqi

    12 Mart 2008