2/28每日总结
所花时间:3小时
代码量:如下:
博客量:本学期截至目前12篇
了解到的知识点:android的布局
今天上学习了数据库原理和英语准备四级,但下午发烧严重就请了半天假,晚上退烧之后学习了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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | <?xml version= "1.0" encoding= "utf-8" ?> <LinearLayout xmlns:android= "http://schemas.android.com/apk/res/android" android:orientation= "vertical" android:layout_width= "match_parent" android:layout_height= "match_parent" android:background= "@color/frey_f3f3f3" > <RelativeLayout android:layout_width= "match_parent" android:layout_height= "wrap_content" android:background= "@color/white" android:padding= "20dp" > <TextView android:id= "@+id/item_mainlv_top_tv1" android:layout_width= "wrap_content" android:layout_height= "wrap_content" android:text= "@string/month_out" /> <TextView android:id= "@+id/item_mainlv_top_out" android:layout_width= "wrap_content" android:layout_height= "wrap_content" android:text= "💴 0" android:layout_below= "@id/item_mainlv_top_tv1" android:textSize= "26sp" android:textStyle= "bold" android:layout_marginTop= "10dp" android:layout_marginBottom= "10dp" android:layout_marginStart= "10dp" android:textColor= "@color/black" /> <ImageView android:id= "@+id/item_mainlv_top_iv_hide" android:layout_width= "wrap_content" android:layout_height= "wrap_content" android:layout_alignParentRight= "true" android:src= "@mipmap/ih_show" android:layout_alignTop= "@+id/item_mainlv_top_out" /> <TextView android:id= "@+id/item_mainlv_top_tv2" android:layout_width= "wrap_content" android:layout_height= "wrap_content" android:text= "@string/month_in" android:layout_below= "@id/item_mainlv_top_out" /> <TextView android:id= "@+id/item_mainlv_top_in" android:layout_width= "wrap_content" android:layout_height= "wrap_content" android:textColor= "@color/black" android:text= "💴 0" android:layout_below= "@id/item_mainlv_top_out" android:layout_toRightOf= "@id/item_mainlv_top_tv2" android:layout_marginLeft= "5dp" /> <TextView android:id= "@+id/item_mainlv_top_budget" android:layout_width= "wrap_content" android:layout_height= "wrap_content" android:text= "💴 0" android:textColor= "@color/black" android:layout_alignParentRight= "true" android:layout_alignBottom= "@id/item_mainlv_top_tv2" /> <TextView android:id= "@+id/item_mainlv_top_tv3" android:layout_width= "wrap_content" android:layout_height= "wrap_content" android:layout_alignBottom= "@id/item_mainlv_top_tv2" android:layout_toLeftOf= "@id/item_mainlv_top_budget" android:text= "@string/budget" /> <TextView android:id= "@+id/item_mainlv_top_tv4" android:layout_width= "wrap_content" android:layout_height= "wrap_content" android:drawableLeft= "@mipmap/ih_biaoge" android:layout_below= "@id/item_mainlv_top_tv2" android:layout_centerHorizontal= "true" android:layout_marginTop= "20dp" android:text= "@string/see_excel" android:textColor= "@color/green_006400" android:drawblePadding= "10dp" /> </RelativeLayout> <TextView android:id= "@+id/item_mainlv_top_day" android:layout_width= "match_parent" android:layout_height= "wrap_content" android:text= "今日支出 💴0 收入 💴0" android:textStyle= "bold" android:layout_marginTop= "20dp" android:layout_marginBottom= "10dp" /> </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)