android购物车界面代码,android购物车实现源码

这是一个关于Android应用开发的资源,包含了实现购物车功能的源代码。主要涉及Activity、DataBean、布局XML文件、图片资源以及各种样式和尺寸配置。通过这个资源,开发者可以学习到如何在Android应用中实现商品选择、数量增减和界面交互等购物车核心功能。
摘要由CSDN通过智能技术生成

android购物车实现源码

资源下载此资源下载价格为3D币,请先登录

资源文件列表

main/AndroidManifest.xml , 681

main/java/com/leezy/shoppingcart/DataBean.java , 776

main/java/com/leezy/shoppingcart/MainActivity.java , 11041

main/res/drawable/check_box_bg.xml , 281

main/res/drawable/list_selector.xml , 438

main/res/drawable/text_angle.xml , 278

main/res/drawable/text_angle_gray.xml , 572

main/res/drawable/text_angle_right.xml , 573

main/res/drawable-hdpi/ic_back_normal.png , 596

main/res/drawable-hdpi/ic_launcher.png , 7658

main/res/drawable-mdpi/ic_launcher.png , 3777

main/res/drawable-xhdpi/checkbox_checked.png , 989

main/res/drawable-xhdpi/checkbox_normal.png , 1183

main/res/drawable-xhdpi/ic_launcher.png , 12516

main/res/drawable-xhdpi/mmx.jpg , 49057

main/res/drawable-xhdpi/shop_ico.png , 1433

main/res/drawable-xhdpi/s_jr_ico.png , 1269

main/res/drawable-xxhdpi/bottombar_background.9.png , 14963

main/res/drawable-xxhdpi/bottombar_icon_add_contact.png , 1513

main/res/drawable-xxhdpi/bottombar_icon_copy_number.png , 404

main/res/drawable-xxhdpi/bottombar_icon_delete.png , 418

main/res/drawable-xxhdpi/ic_launcher.png , 24777

main/res/drawable-xxhdpi/topbar_background.9.png , 6643

main/res/drawable-xxhdpi/topbar_up.png , 1690

main/res/layout/activity_main.xml , 6342

main/res/layout/bottombar_item.xml , 2157

main/res/layout/bottom_view.xml , 3720

main/res/layout/cart_list_item.xml , 6797

main/res/layout/list_item.xml , 2334

main/res/layout/main_activity.xml , 6342

main/res/layout/top_view_batch.xml , 1908

main/res/layout/top_view_normal.xml , 1338

main/res/menu/menu.xml , 448

main/res/mipmap-hdpi/ic_launcher.png , 3418

main/res/mipmap-mdpi/ic_launcher.png , 2206

main/res/mipmap-xhdpi/ic_launcher.png , 4842

main/res/mipmap-xxhdpi/ic_launcher.png , 7718

main/res/mipmap-xxxhdpi/ic_launcher.png , 10486

main/res/values/colors.xml , 403

main/res/values/dimens.xml , 789

main/res/values/strings.xml , 301

main/res/values/styles.xml , 697

main/res/values-v11/styles.xml , 334

main/res/values-v14/styles.xml , 391

main/res/values-w820dp/dimens.xml , 381

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
<?xml version="1.0" encoding="UTF-8"?> -<LinearLayout android:background="@drawable/aaa" android:weightSum="1" android:layout_height="match_parent" android:layout_width="match_parent" android:orientation="vertical" xmlns:android="http://schemas.android.com/apk/res/android"> <ImageView android:layout_height="153dp" android:layout_width="198dp" android:id="@+id/imageView1" android:src="@drawable/xitongji"> </ImageView> -<LinearLayout android:weightSum="1" android:layout_height="32dp" android:layout_width="234dp" android:orientation="horizontal" android:layout_weight="0.23"> <ImageButton android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/jian" android:src="@drawable/jianjian"> </ImageButton> -<EditText android:layout_height="wrap_content" android:layout_width="39dp" android:id="@+id/jishu" android:layout_weight="0.34"> <requestFocus/> </EditText> <ImageButton android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/jia" android:src="@drawable/jiajia"> </ImageButton> </LinearLayout> -<LinearLayout android:weightSum="1" android:layout_height="30dp" android:layout_width="83dp" android:orientation="horizontal"> <TextView android:layout_height="match_parent" android:layout_width="wrap_content" android:id="@+id/jiagequding" android:text="单价:"/> <TextView android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/jiage" android:text="45"/> </LinearLayout> -<LinearLayout android:weightSum="1" android:layout_height="wrap_content" android:layout_width="210dp" android:orientation="horizontal" android:layout_weight="0.09"> <TextView android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/zongji" android:text="总计:"> </TextView> <EditText android:layout_height="wrap_content" android:layout_width="56dp" android:id="@+id/editTextzongji"> </EditText> </LinearLayout> -<LinearLayout android:weightSum="1" android:layout_height="wrap_content" android:layout_width="190dp" android:orientation="horizontal"> <Button android:layout_height="match_parent" android:layout_width="wrap_content" android:id="@+id/gouwuquding" android:text="确定购买"> </Button> <Button android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/gouwuquxiao" android:text="取消购买"> </Button> </LinearLayout> </LinearLayout>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值