zoukankan      html  css  js  c++  java
  • 四则运算第二次冲刺

    最新一课 老师指点用Listview适配器

    <?xml version="1.0" encoding="utf-8"?>
        <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"  
         android:layout_width="fill_parent"  
         android:layout_height="fill_parent"  
         android:fadingEdge="vertical">  
        <RelativeLayout  
          android:layout_width="fill_parent"   
          android:layout_height="wrap_content">  

             
                <ImageButton
                    android:id="@+id/byButton1"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_alignParentLeft="true"
                    android:layout_alignParentTop="true"
                    android:src="@drawable/empty_p" />

                <ImageButton
                    android:id="@+id/byButton2"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_below="@+id/byButton1"
                    android:src="@drawable/empty_p" />

                <ImageButton
                    android:id="@+id/byButton3"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_below="@+id/byButton2"
                    android:src="@drawable/empty_p" />

                <ImageButton
                    android:id="@+id/byButton4"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_below="@+id/byButton3"
                    android:src="@drawable/empty_p" />

                <ImageButton
                    android:id="@+id/byButton5"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_below="@+id/byButton4"
                    android:src="@drawable/empty_p" />

                <ImageButton
                    android:id="@+id/byButton6"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_below="@+id/byButton5"
                    android:src="@drawable/empty_p" />

                <ImageButton
                    android:id="@+id/byButton7"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_below="@+id/byButton6"
                    android:src="@drawable/empty_p" />

                <ImageButton
                    android:id="@+id/byButton8"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_below="@+id/byButton7"
                    android:src="@drawable/empty_p" />

                <ImageButton
                    android:id="@+id/byButton9"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_below="@+id/byButton8"
                    android:src="@drawable/empty_p" />          
            
        </RelativeLayout>  
        </ScrollView> 

    上完课后我们知道了可以用Listview适配器便可达到我们团队想要的,可以加进去实现小小的功能

  • 相关阅读:
    关于遇到问题的解决方法(仅此献给初学者吧,我工作还没两年,这点经验对于大神,不值一谈的)
    chm TO html 另类方法
    Android EditText setOnClickListener事件 只有获取焦点才能响应 采用setOnTouchListener解决
    Jquery UI 中Tree组件的json格式,java递归拼接demo
    汇编 二则运算
    创建 macvlan 网络
    准备 macvlan 环境
    overlay 是如何隔离的?- 每天5分钟玩转 Docker 容器技术(53)
    overlay 如何实现跨主机通信?- 每天5分钟玩转 Docker 容器技术(52)
    在 overlay 中运行容器
  • 原文地址:https://www.cnblogs.com/zengwei35/p/5009732.html
Copyright © 2011-2022 走看看