首页 > 其他分享 >5.6博客

5.6博客

时间:2024-06-16 19:43:01浏览次数:12  
标签:状态 5.6 安卓 博客 学习 五一

过完五一假了

该进入学习状态了

学习内容:安卓

<LinearLayout 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="@color/orange"     android:orientation="vertical">
    <include layout="@layout/title_shopping" />
    <ScrollView         android:layout_width="match_parent"         android:layout_height="wrap_content">
        <RelativeLayout             android:layout_width="match_parent"             android:layout_height="wrap_content">
            <LinearLayout                 android:id="@+id/ll_content"                 android:layout_width="match_parent"                 android:layout_height="wrap_content"                 android:orientation="vertical"                 android:visibility="visible">
                <LinearLayout                     android:layout_width="match_parent"                     android:layout_height="wrap_content"                     android:orientation="horizontal">
                    <TextView                         android:layout_width="85dp"                         android:layout_height="wrap_content"                         android:gravity="center"                         android:text="图片"                         android:textColor="@color/black"                         android:textSize="15sp" />
                    <TextView                         android:layout_width="0dp"                         android:layout_height="wrap_content"                         android:layout_weight="3"                         android:gravity="center"                         android:text="名称"                         android:textColor="@color/black"                         android:textSize="15sp" />
                    <TextView                         android:layout_width="0dp"                         android:layout_height="wrap_content"                         android:layout_weight="1"                         android:gravity="center"                         android:text="数量"                         android:textColor="@color/black"                         android:textSize="15sp" />
                    <TextView                         android:layout_width="0dp"                         android:layout_height="wrap_content"                         android:layout_weight="1"                         android:gravity="center"                         android:text="单价"                         android:textColor="@color/black"                         android:textSize="15sp" />
                    <TextView                         android:layout_width="0dp"                         android:layout_height="wrap_content"                         android:layout_weight="1"                         android:gravity="center"                         android:text="总价"                         android:textColor="@color/black"                         android:textSize="15sp" />
                </LinearLayout>
                <LinearLayout                     android:id="@+id/ll_cart"                     android:layout_width="match_parent"                     android:layout_height="wrap_content"                     android:orientation="vertical" />
                <LinearLayout                     android:layout_width="match_parent"                     android:layout_height="wrap_content"                     android:orientation="horizontal"                     android:padding="0dp">
                    <Button                         android:id="@+id/btn_clear"                         android:layout_width="wrap_content"                         android:layout_height="wrap_content"                         android:gravity="center"                         android:text="清空"                         android:textColor="@color/black"                         android:textSize="17sp" />
                    <TextView                         android:layout_width="0dp"                         android:layout_height="wrap_content"                         android:layout_weight="1"                         android:gravity="center|right"                         android:text="总金额:"                         android:textColor="@color/black"                         android:textSize="17sp" />
                    <TextView                         android:id="@+id/tv_total_price"                         android:layout_width="wrap_content"                         android:layout_height="wrap_content"                         android:layout_marginRight="10dp"                         android:gravity="center|left"                         android:textColor="@color/red"                         android:textSize="25sp" />
                    <Button                         android:id="@+id/btn_settle"                         android:layout_width="wrap_content"                         android:layout_height="wrap_content"                         android:gravity="center"                         android:text="结算"                         android:textColor="@color/black"                         android:textSize="17sp" />                 </LinearLayout>
            </LinearLayout>
            <LinearLayout                 android:id="@+id/ll_empty"                 android:layout_width="match_parent"                 android:layout_height="wrap_content"                 android:orientation="vertical"                 android:visibility="gone"                 tools:visibility="visible">
                <TextView                     android:layout_width="match_parent"                     android:layout_height="wrap_content"                     android:layout_marginTop="100dp"                     android:layout_marginBottom="100dp"                     android:gravity="center"                     android:text="哎呀,购物车空空如也,快去选购商品吧"                     android:textColor="@color/black"                     android:textSize="17sp" />
                <Button                     android:id="@+id/btn_shopping_channel"                     android:layout_width="match_parent"                     android:layout_height="wrap_content"                     android:gravity="center"                     android:text="逛逛手机商场"                     android:textColor="@color/black"                     android:textSize="17sp" />             </LinearLayout>         </RelativeLayout>     </ScrollView>
</LinearLayout>

标签:状态,5.6,安卓,博客,学习,五一
From: https://www.cnblogs.com/zjm921/p/18251144

相关文章

  • 4.30博客
    上午计网下午建民课晚上跑步真是充实学习内容:安卓<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"  android:layout_width="match_parent"  android:layout_height="match_parent"  android:orientation="vertical&qu......
  • 2024年6月16日 18:10,cnblog博客园的第一天!!!
    终于A了P06614迷宫游戏5,原来是动态规划......点击查看代码#include<bits/stdc++.h>#definedebug(a);cout<<#a<<"="<<a<<endl;#definerep(i,a,b)for(inti=a;i<=b;i++)#definepep(i,a,b)for(inti=a;i>=b;i--)usingnamespacestd;......
  • css样式综合案例----博客园首页简单搭建
    1<!DOCTYPEhtml>2<htmllang="en">3<head>4<metacharset="UTF-8">5<title>博客园</title>6<metaname="viewport"content="width=device-width,initial-scal......
  • 博客园入门
    一、语言:通常博客都是采用markdown语言。1.1markdown语言教程1:https://markdown.com.cn/basic-syntax/教程2:https://forum-zh.obsidian.md/t/topic/435/教程3:https://markdown.com.cn/intro.html1.2Html语言(1)markdown提供了可无缝转换为HTML的轻量级语法。对于......
  • 博客园商业化之路-众包平台:继续召集早期合作开发者
    会员、周边、广告是园子现在维持生存的主要收入来源,而众包平台是园子未来实现商业化规模增长的希望所在。今年5月开始的众包平台建设是万里长征,不仅需要融资,还需要找到合伙人组建新的团队。虽然当前既没有钱又没人,但万里长征已经迈出了第一步,采用企业微信+自己搭建的gitlab以原......
  • 4.23博客
    建民老师的课真是今天的快乐源泉学习内容:安卓<?xmlversion="1.0"encoding="utf-8"?><LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"  android:layout_width="match_parent"  android:layout_height=&qu......
  • 4.24博客
    python学习importmathclassShape:defcal_perimeter(self):    pass defcal_area(self):    pass defcal_volume(self):    passclassPoint(Shape):def\__init_\_(self,x=0,y=0):    self.x=x    self.y=y defsetX(s......
  • 【工具推荐】基于Win10系统自带软件Xbox Game Bar录屏后下载安装ffmpeg然后使用ffmpeg
    本文详细介绍了如何基于Win10系统自带软件XboxGameBar录屏,以及如何下载安装ffmpeg,然后如何使用ffmpeg将录屏得到的mp4视频转换为可用于博客中做功能演示用的gif动态图片,同时还提供了一个一键转换脚本,减少繁琐的操作步骤。......
  • 团队博客
    项目原型展示说明“冀网社区聘”——社区招聘项目是否为日常生活问题感到困扰?是否在因不熟悉的工作愁眉苦脸?我们“冀网社区聘”平台致力于为客户提供快捷,直接的服务。在我们的“冀网社区聘”平台上,雇主可以轻松发布社区内或者跨社区招聘需求,而相应的求职者则可以浏览并选择适合......
  • 博客&公众号管理
    1:博客平台评价1.1:CSDN广告多,复制之前还要登录,大量无营养价值的转载图文(油猴插件解决)。国内引流有一手,要说哪家涨粉快,还得是CSDN,这都是百度的功劳。提供下载资源,资源都要积分/钱/VIP,其实很多人原因花点小钱买资源,但提供积分下载的资源只有用积分/VIP才能下载,大多不是创......