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
  • 相关阅读:
    Java -- Matrix的一点认识
    LeetCode -- Sort List
    在Eclipse中调用weka包实现分类
    LeetCode -- Maximum Depth of Binary Tree
    LeetCode -- Lowest Common Ancestor of a Binary Search Tree
    LeetCode -- Ugly Number II
    LeetCode -- Ugly Number
    LeetCode -- Move Zeroes
    LeetCode -- Best Time to Buy and Sell Stock III
    LeetCode -- Best Time to Buy and Sell Stock II
  • 原文地址:https://www.cnblogs.com/lianxu61/p/4002236.html
Copyright © 2011-2022 走看看