你的位置:首页 > 软件开发 > 操作系统 > Android 常用数据适配器ArrayAdapter

Android 常用数据适配器ArrayAdapter

发布时间:2016-06-14 19:00:23
接着上篇文章《Android 采用Layout Inflater创建一个View对象》,本文采用常用数据适配器ArrayAdapter新建项目后,在layout文件夹下新建list_item.<??><LinearLayout ="http://sch ...

Android 常用数据适配器ArrayAdapter

接着上篇文章《Android 采用Layout Inflater创建一个View对象》,本文采用常用数据适配器ArrayAdapter

新建项目后,在layout文件夹下新建list_item.

<??><LinearLayout ="http://schemas.android.com/apk/res/android"  android:layout_width="match_parent"  android:layout_height="wrap_content"  android:orientation="horizontal" >  <ImageView    android:layout_width="wrap_content"    android:layout_height="wrap_content"    android:src='/images/loading.gif' data-original="@drawable/ic_launcher" />  <TextView    android:id="@+id/tv"    android:layout_width="wrap_content"    android:layout_height="wrap_content" /></LinearLayout>

原标题:Android 常用数据适配器ArrayAdapter

关键词:Android

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

可能感兴趣文章

我的浏览记录