在android的布局文件中 android:Layout_Height 和android:Height有什么区别啊??

解决方案 »

  1.   

    android:layout_height, Specifies the basic height of the view
    一个大概的值。android:height · setHeight(int), Makes the TextView be exactly this many pixels tall
    一个确切的值例如,一个button,设置
    android:layout_height="wrap_content"
    android:height="70px"
      

  2.   

    android:layout_height 一般用 dip ,都是相对性的标准
    android:height 按照楼上的意思应该是跟设备无关的绝对的标准