自定义控件

自定义控件可能因为命名空间错误而不起作用

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:PowerView2="http://schemas.android.com/apk/res-auto"
xmlns:TotalTimeView="http://schemas.android.com/tools"
android:background="@color/white_overlay">
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:PowerView2="http://schemas.android.com/apk/res-auto"
xmlns:TotalTimeView="http://schemas.android.com/apk/res-auto"
android:background="@color/white_overlay">
posted @ 2019-09-24 10:38  四五五*  阅读(82)  评论(0)    收藏  举报