你在xml文件中,使用你自定义的控件就好了,然后就可以R.layout.xxxxx
解决方案 »
- 改动布局XML文件后一运行就forced Close,请帮看看有什么问题?
- android项目
- Android系统下运行J2SE应用程序
- 有人遇到过某个Layout的背景突然消失变成透明的问题?
- android2.3.3用MediaRecroder录制开始结束都有个提示音能去掉么?
- android sharedpreference 背景图片怎样添加?
- 请问,哪位知道哪里有可运行的android calendar(日程表)的源代码或者例子?
- 从服务器返回的json格式数据往google map上标记问题~SOS!
- 新手,请教android模拟器启动出错?
- 虹软免费人脸识别活体检测离线的SDK有没有大神测试过?
- Android SDK
- android布局中自动换行的问题
节点名字是你这个view的类名(<com.xx.xx.xx />)
基本用法同LS的。
xmlns:charge="http://schemas.android.com/apk/res/com.hondalink.ev"
android:id="@+id/scrollview_id"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:fadingEdge="none"
android:fillViewport="true"
android:focusable="false"
android:orientation="vertical"
android:scrollbars="none" >
<com.crosscountryauto.rsa.component.RSATextView
android:id="@+id/TextViewServiceProviderAddressId"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
fontStyle="trebuc"
android:background="@drawable/oem_9_location"
android:gravity="top"
android:paddingBottom="20dp"
android:paddingLeft="20dp"
android:paddingRight="20dp"
android:paddingTop="20dp"
android:singleLine="false"
android:textColor="@color/textgray2"
android:textSize="15.5sp" />
android:id="@+id/mainView" android:layout_width="150dip"
android:layout_height="150dip" />