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:background="#01ffff"
        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="com.example.hello.MainActivity" >
    
      <Button
          android:id="@+id/btn——one"
          android:layout_width="80dp"
          android:layout_height="80dp"
          android:background="#000000"
          android:layout_centerInParent="true"/>
      <Button
          android:id="@+id/btn——two"
          android:layout_width="80dp"
          android:layout_height="80dp"
          android:background="#fdfe00"
          android:layout_centerInParent="true"
          android:layout_above="@id/btn——one"
          android:layout_toRightOf="@id/btn——one"/>
      <Button
          android:id="@+id/btn——three"
          android:layout_width="80dp"
          android:layout_height="80dp"
          android:background="#fe0000"
          android:layout_centerInParent="true"
          android:layout_below="@id/btn——one"
          android:layout_toLeftOf="@id/btn——one"/>
      <Button
          android:id="@+id/btn——four"
          android:layout_width="80dp"
          android:layout_height="80dp"
          android:background="#fe1595"
          android:layout_centerInParent="true"
          android:layout_above="@id/btn——one"/>
      <Button
          android:id="@+id/btn——five"
          android:layout_width="80dp"
          android:layout_height="80dp"
          android:background="#f9f8fe"
          android:layout_centerInParent="true"
          android:layout_above="@id/btn——one"
          android:layout_toLeftOf="@id/btn——one"/>
      <Button
          android:id="@+id/btn——six"
          android:layout_width="80dp"
          android:layout_height="80dp"
          android:background="#006401"
          android:layout_centerInParent="true"
          android:layout_toLeftOf="@id/btn——one"/>
      <Button
          android:id="@+id/btn——seven"
          android:layout_width="80dp"
          android:layout_height="80dp"
          android:background="#0001cb"
          android:layout_centerInParent="true"
          android:layout_toRightOf="@id/btn——one"/>
      <Button
          android:id="@+id/btn——eight"
          android:layout_width="80dp"
          android:layout_height="80dp"
          android:background="#4268e3"
          android:layout_centerInParent="true"
          android:layout_below="@id/btn——one"/>
       <Button
          android:id="@+id/btn——nine"
          android:layout_width="80dp"
          android:layout_height="80dp"
          android:background="#00ff01"
          android:layout_centerInParent="true"
          android:layout_below="@id/btn——one"
          android:layout_toRightOf="@id/btn——one"/>
    </RelativeLayout>

  • 相关阅读:
    大数据量查询优化——数据库设计、SQL语句、JAVA编码
    vue项目全局修改字体
    vue项目使用iframe嵌入另一个vue项目的页面
    vue中解决chrome浏览器自动播放音频 和MP3语音打包到线上
    java的string方法使用
    java使用EasyExcel操作Excel
    vue中,使用 es6的 ` 符号给字符串之间换行
    vue显示后端传递的图片流
    最全vue的vue-amap使用高德地图插件画多边形范围
    vue+elementUI实现 分页表格的单选或者多选、及禁止部分选择
  • 原文地址:https://www.cnblogs.com/lj1221/p/11459106.html
Copyright © 2011-2022 走看看