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

    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:paddingBottom="@dimen/activity_vertical_margin"
        android:paddingLeft="@dimen/activity_horizontal_margin"
        android:paddingRight="@dimen/activity_horizontal_margin"
        android:paddingTop="@dimen/activity_vertical_margin"
        tools:context=".MainActivity" >
    
        <View
            android:id="@+id/view1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentTop="true"
            android:background="#40E0D0" />
    
        <Button
            android:id="@+id/Buttondeepgreen"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignBaseline="@+id/Buttonblack"
            android:layout_alignBottom="@+id/Buttonblack"
            android:layout_toLeftOf="@+id/Buttonblack"
            android:background="#006400"
            android:minHeight="80dip"
            android:minWidth="80dip" />
    
        <Button
            android:id="@+id/Buttonblack"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerInParent="true"
            android:background="#000000"
            android:minHeight="80dip"
            android:minWidth="80dip" />
    
        <Button
            android:id="@+id/Buttondeepblue"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignBaseline="@+id/Buttonblack"
            android:layout_alignBottom="@+id/Buttonblack"
            android:layout_toRightOf="@+id/Buttonblack"
            android:background="#0000AA"
            android:minHeight="80dip"
            android:minWidth="80dip" />
    
        <Button
            android:id="@+id/Buttonred"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@+id/Buttondeepgreen"
            android:layout_toLeftOf="@+id/Button

  • 相关阅读:
    I
    poj 3414 pots (bfs+路径记录)
    hdoj 1495 非常可乐(bfs)
    hdoj 1241 Oil Deposits (dfs)
    hdoj 2612 find a way (两次bfs)
    poj 3984 迷宫问题
    poj 3087 Shuffle'm Up (bfs)
    poj 3126 Prime Path (bfs)
    poj 3279 Fliptile
    hdu_3068 最长回文(Manacher算法)
  • 原文地址:https://www.cnblogs.com/yanzhen108/p/11460306.html
Copyright © 2011-2022 走看看