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

  • iMasterful

    iMasterful

    11 EYLÜL 2009
  • Jaclyn W

    Jaclyn W

    5 Mayıs 2006
  • TrenchTech Computer Repair Tutorials

    TrenchTech C

    19 EYLÜL 2014