<TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content" 
    android:text="@string/userName"
    android:textColor="@drawable/darkgray"
    android:layout_x="61px"
    android:layout_y="69px"
    />
但是效果背景和字体颜色变了,相对位移么任何变化

解决方案 »

  1.   

    你是不是没用 AbsoluteLayout 布局?
      

  2.   

        android:layout_x="61px" 
        android:layout_y="69px
    1 一是没有动态提醒,很明显么的标签库
    2 二是写了上述标签就直接报错,头疼呀,又卡这了
      

  3.   

    android:layout_x,为什么么有提示呀
      

  4.   

    我晕,不用看了,跟html的盒子模型一样,
    android:margin_left属性控制,
    android:margin_top,实在是晕
      

  5.   

    大哥,你怎么能随便自定义一些属性呢。。
    android:layout_marginLeft
    android:layout_marginTop
      

  6.   

    android:layout_x
    android:layout_y
    只能使用在绝对布局AbsoluteLayout里面
      

  7.   

    在坐标布局中使用
    <AbsoluteLayout>中使用