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

  • Dave Wallace

    Dave Wallace

    27 Kasım 2007
  • Epic Tutorials for iPhone, iPad and iOS

    Epic Tutoria

    18 EYLÜL 2011
  • thegeniuses.tv

    thegeniuses.

    11 Aralık 2006