zoukankan      html  css  js  c++  java
  • 下面这个布局什么地方错了?有人知道吗?我的软件不能运行。。报错


    ====================问题描述====================
    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:paddingBottom="@dimen/activity_vertical_margin"
        android:paddingLeft="@dimen/activity_horizontal_margin"
        android:paddingRight="@dimen/activity_horizontal_margin"
        android:paddingTop="@dimen/activity_vertical_margin"
        tools:context=".MainActivity" >
        
    <button  android:id="@+id/hzp"
    android:text=" 化妆品"
    android:layout_width="wrap_content"
        android:layout_height="wrap_content"   
         >
    </button>
    <button   android:id="@+id/fs"
        android:text=" 服饰"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"    
       android:layout_below="@id/hzp">
        </button>
    <button   android:id="@+id/shyp"
        android:text=" 生活用品"
    android:layout_width="wrap_content"
        android:layout_height="wrap_content"    
        android:layout_below="@id/fs">
    </button>
    <button   android:id="@+id/wm"
        android:text=" 外卖"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"   
        android:layout_below="@id/shyp" > 
    </button>
    <button   android:id="@+id/dexw"
        android:text=" 第二学位"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"   
        android:layout_below="@id/wm" >  
    </button>
    <button   android:id="@+id/qt"
        android:text=" 其他"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"   
        android:layout_below="@id/dexw" >
    </button>

    </RelativeLayout>
    ====================解决方案1====================
    button
    =>
    Button
  • 相关阅读:
    ES6
    ES6
    ES6
    ES6
    ES6
    ES6
    ES6
    IOS 最新开发上架流程 以及发布打包注意事项
    JavaScript Arguments
    函数防抖和函数节流
  • 原文地址:https://www.cnblogs.com/lianxu61/p/4002236.html
Copyright © 2011-2022 走看看