relativelayout

    9热度

    1回答

    我很确定一个参数会做的伎俩,但我找不到我正在寻找的。 我想在file_title TextView下面显示一个TextView -file_type-。 什么是我应该添加到file_typeTevxtView块下的file_title TextView块的参数? 有我在做什么: <?xml version="1.0" encoding="utf-8"?> <LinearLayout x

    0热度

    1回答

    我在做一个xml布局文件,我想让我的微调在textview的右边,但我有问题......当我测试布局时,我的微调不是在正确的位置上,它会下降一点,它的长度非常小,不像我在版面中所说的那样是180px。 存在的xml: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_

    0热度

    1回答

    我想要priceText右对齐。它出现左对齐。 <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_h

    3热度

    2回答

    如何在不缩小字体大小的情况下防止发生重叠?下面是我的XML: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:l

    4热度

    1回答

    ,Android支持从1.6版起向前的声明。 在的manifest.xml已经调整了分SDK和目标SDK要求都为“4”,从蚀布局编辑器仍抱怨在一个相对布局未知的声明: <xml> <CheckBox android:layout_width="wrap_content" android:layout_height="wrap_content" android:id

    0热度

    1回答

    我有一个平铺背景的RelativeLayout。有没有办法让一个补间动画淡出现有的图像并淡入一个新的?

    1热度

    2回答

    我有一个线性布局的布局xml文件。其中一个孩子又是一个ViewGroup相对布局。在我的java代码中,我想为我的需求更改此子Viewgroup的宽度。我想这 enter code here ViewGroup childViewGroup = (LinearLayout)findViewById(childViewGroup); LayoutParams l = child

    4热度

    2回答

    我无法准确找到需要用于在相对布局的子视图上设置参数的语法。我有我想设置2子textviews根相对布局彼此相邻这样 ---------- --------- | Second | | First | ---------- --------- 所以我 public class RL extends RelativeLayout{ public RL(context){

    1热度

    3回答

    我在layout.xml中有以下代码。 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent"

    2热度

    1回答

    我在动态添加文本框到我的视图时遇到问题。更具体地说,文本框加法器的作品,但我试图在它下面移动的按钮不。原始视图是以下超链接中的第一张图片。 按下+/-按钮后,它应该在第二个文本框和决定按钮之间添加一个文本框,然后向下移动+/-按钮,使其位于新框的旁边。取而代之的是,第二张照片发生了: http://i.stack.imgur.com/mzBL3.png 我的代码如下所示: EditText tex