Inflate an xml in ANDROID

Posted by Unknown Selasa, 12 Maret 2013 0 komentar
  RelativeLayout mainLayout = (RelativeLayout)findViewById(R.id.relative);
//create a view to inflate the layout_item (
the xml with the textView created before)
View view = getLayoutInflater().inflate(R.layout.inflate,mainLayout,false);
//add the view to the main layout
mainLayout.addView(view);

                         
TERIMA KASIH ATAS KUNJUNGAN SAUDARA
Judul: Inflate an xml in ANDROID
Ditulis oleh Unknown
Rating Blog 5 dari 5
Semoga artikel ini bermanfaat bagi saudara. Jika ingin mengutip, baik itu sebagian atau keseluruhan dari isi artikel ini harap menyertakan link dofollow ke http://androidpopuler.blogspot.com/2013/03/inflate-xml-in-android.html. Terima kasih sudah singgah membaca artikel ini.

0 komentar:

Posting Komentar

Trik SEO Terbaru support Online Shop Baju Wanita - Original design by Bamz | Copyright of android populer.