自定义view 布局

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/img6"
    xmlns:app="http://schemas.android.com/apk/res-auto">
    <com.bwie.view.MyView02
        android:layout_width="66dp"
        android:layout_height="66dp"
        android:id="@+id/my_view"
        android:layout_alignParentRight="true"
        app:MyView02radius="30dp"
        android:layout_alignParentTop="true"

        />
</RelativeLayout> 

猜你喜欢

转载自blog.csdn.net/qq_41946491/article/details/80964717