zoukankan      html  css  js  c++  java
  • 第二次作业

    <?xml version="1.0" encoding="utf-8"?>
    <RelativeLayout
    
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        xmlns:tools="http://schemas.android.com/tools"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        tools:context=".MainActivity"
        android:background="#00BCD4"
    
        >
    
        <Button
            android:id="@+id/button"
            android:layout_width="80dp"
            android:layout_height="80dp"
            android:text=""
            android:background="#000000"
            android:layout_centerVertical="true"
            android:layout_centerHorizontal="true"
            />
        <Button
            android:layout_width="80dp"
            android:layout_height="80dp"
            android:background="#020C72"
            android:layout_toRightOf="@id/button"
            android:layout_centerVertical="true"
            />
    
        <Button
            android:layout_width="80dp"
            android:layout_height="80dp"
            android:layout_centerVertical="true"
           android:layout_toLeftOf="@id/button"
            android:background="#125315"
            />
    
        <Button
            android:id="@+id/b"
        android:layout_width="80dp"
        android:layout_height="80dp"
        android:layout_centerHorizontal="true"
        android:layout_above="@id/button"
        android:background="#F2EC0F30"
        />
        <Button
            android:id="@+id/c"
            android:layout_width="80dp"
            android:layout_height="80dp"
            android:layout_centerHorizontal="true"
            android:layout_below="@id/button"
            android:background="#1E3DCA"
            />
        <Button
            android:layout_width="80dp"
            android:layout_height="80dp"
           android:layout_alignTop="@id/b"
            android:layout_toLeftOf="@id/b"
            android:background="#F1F2F8"
            />
        <Button
    
            android:layout_width="80dp"
            android:layout_height="80dp"
            android:layout_alignTop="@id/b"
            android:layout_toRightOf="@id/b"
            android:background="#F5EBBE3A"
            />
        <Button
            android:layout_width="80dp"
            android:layout_height="80dp"
            android:layout_alignTop="@id/b"
            android:layout_toLeftOf="@id/b"
            android:background="#F1F2F8"
            />
        <Button
            android:layout_width="80dp"
            android:layout_height="80dp"
            android:layout_alignTop="@id/c"
            android:layout_toLeftOf="@id/c"
            android:background="#E70B0B"
            />
        <Button
    
            android:layout_width="80dp"
            android:layout_height="80dp"
            android:layout_alignTop="@id/c"
            android:layout_toRightOf="@id/c"
            android:background="#F208F811"
            />
    </RelativeLayout

  • 相关阅读:
    刷新验证码
    网页的超链接传递中文参数乱码问题
    Button获取Repeater一行的两个值
    <asp:FileUpload>上传一张图片并且重命名
    <asp:DropDownList数据库读取
    <asp:DropDownList>用法
    <%#Eval(" ")%>用法总结
    DropDownList1 .cs指定初始值
    redolog(未完工)
    cap理论
  • 原文地址:https://www.cnblogs.com/zf08/p/11460464.html
Copyright © 2011-2022 走看看