Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/jenkins/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 我是如何设计这种布局的?这个按钮在这种布局中使用吗?要单击它,请移动其他布局_Android_Android Xml - Fatal编程技术网

Android 我是如何设计这种布局的?这个按钮在这种布局中使用吗?要单击它,请移动其他布局

Android 我是如何设计这种布局的?这个按钮在这种布局中使用吗?要单击它,请移动其他布局,android,android-xml,Android,Android Xml,我试着用巴顿做,但没用 <item android:bottom="4dp" android:layout_alignParentLeft="true" android:layout_alignParentStart="true"> <shape android:shape="rectangle"> <!-- Set the background color of you

我试着用巴顿做,但没用

<item android:bottom="4dp"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true">
        <shape
            android:shape="rectangle">
            <!-- Set the background color of your layout here -->
            <stroke android:width="1dp" android:color="#000000" />
            <solid android:color="#000000" />`enter code here`
        </shape>
    </item>

`在这里输入代码`


文本视图和视图的组合就可以了。您想要列表视图还是自定义视图?不,我不想要列表视图。
 <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:background="#ffffff">
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="40dp"
            android:background="#5f06ef"
            android:layout_marginBottom="3dp"/>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="40dp"
            android:background="#ffffff">
            <TextView
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:text="TEXT"
                android:background="#5f06ef"/>
        </LinearLayout>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="40dp">

        </LinearLayout>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="40dp">

        </LinearLayout>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="40dp">

        </LinearLayout>
        <LinearLayout
            android:enter code herelayout_width="match_parent"
            android:layout_height="40dp"/>
    </LinearLayout>