error: invalid symbol: 'switch'

来源:互联网 发布:mysql查询当前时间 编辑:程序博客网 时间:2024/06/06 07:02
   
    <Switch
        android:id="@+id/switch"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:checked="false"
        android:textOff="纵向排列"

        android:textOn="横向排列" />


   
    <Switch
        android:id="@+id/switch1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:checked="false"
        android:textOff="纵向排列"
        android:textOn="横向排列" />



id的问题,,R文件里面是关键字

0 0
原创粉丝点击