每日总结2/25
所花时间:3小时
代码量:android的界面代码量如下:
博客量:本学期截至目前7篇
了解到的知识点:对android的界面的了解
在今天我学习了安卓的界面的代码 如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | <?xml version= "1.0" encoding= "utf-8" ?> <LinearLayout xmlns:android= "http://schemas.android.com/apk/res/android" android:layout_width= "match_parent" android:layout_height= "match_parent" android:orientation= "vertical" > android:background= "@color/purple_200" <RelativeLayout android:id= "@+id/main_top_layout" android:layout_width= "match_parent" android:layout_height= "50dp" > <TextView android:layout_width= "wrap_content" android:layout_height= "match_parent" android:gravity= "center" android:padding= "10dp" android:text= "@string/app_name" android:textColor= "@color/black" android:textSize= "18sp" android:textStyle= "bold" /> <ImageView android:id= "@+id/main_iv_add" android:layout_width= "wrap_content" android:layout_height= "match_parent" android:src= "@mipmap/add" android:layout_alignParentRight= "true" android:padding= "10dp" /> </RelativeLayout> <ListView android:id= "@+id/main_lv" android:layout_width= "match_parent" android:layout_height= "match_parent" android:layout_below= "@+id/main_top_layout" android:background= "@color/purple_200" android:divider= "@null" android:dividerHeight= "6dp" android:padding= "10dp" android:scrollbars= "none" /> <ImageButton android:layout_width= "50dp" android:layout_height= "50dp" android:src= "@mipmap/back" /> </LinearLayout> |
这些仅仅一一小部分的代码,还没有完成全部的代码。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 【杭电多校比赛记录】2025“钉耙编程”中国大学生算法设计春季联赛(1)