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

  • BlackmillMusic

    BlackmillMus

    3 Kasım 2010
  • Flash CS6 Video Tutorials for Beginners (Actionscript 3 Gaming)

    Flash CS6 Vi

    14 EYLÜL 2012
  • Pituvision

    Pituvision

    11 Mart 2006