WEB开发网
开发学院手机开发Android 开发 编写自定义的 Android Preference 组件 阅读

编写自定义的 Android Preference 组件

 2010-05-28 15:00:00 来源:WEB开发网   
核心提示:< !-- Layout used by ImageOptionPreference for the image option style.This is inflated inside android.R.layout.preference.-- >< ImageView xmlns:android

< !-- Layout used by ImageOptionPreference for the image option style.

This is inflated inside android.R.layout.preference.

-- >

< ImageView xmlns:android="http://schemas.android.com/apk/res/android"

android:id="@+id/pref_current_img"

android:layout_width="54dip"

android:layout_height="54dip"

android:layout_marginRight="4dip"

android:layout_gravity="center_vertical"

android:focusable="false"

android:clickable="false"

android:background="#eeeeee"

android:padding="2dip"

/ >

而这个 ImageView 的 Layout 就是在选项右边显示的图片。

上一页  1 2 3 4 

Tags:编写 定义 Android

编辑录入:coldstar [复制链接] [打 印]
赞助商链接