码迷,mamicode.com
首页 >  
搜索关键字:scrollview 商品详情    ( 1852个结果
Android中监听ScrollView滑动停止和滑动到底部
1.监听ScrollView滑动停止:[java]view plaincopy/********************监听ScrollView滑动停止*****************************/scrollView.setOnTouchListener(newOnTouchList...
分类:移动开发   时间:2015-05-26 22:56:21    阅读次数:228
Android 中使用代码动态布局
Android 中使用代码动态布局 本文介绍在android中使用代码动态布局,有时候根据不同的需求,比如需要根据服务器上的条目个数来决定app中页面布局控件(显示个数,图标等)。此处介绍通过java代码进行动态布局。 一、效果图: 图片随便找的,将就将就吧 二、给出xml文件布局 <ScrollView xmlns:android="http://sc...
分类:移动开发   时间:2015-05-26 18:59:24    阅读次数:136
UIScrollView使用 UIPageControl
iOS的pagecontroller...
分类:其他好文   时间:2015-05-26 18:59:06    阅读次数:205
android 实现侧滑菜单
1.主布局<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:background="@drawa...
分类:移动开发   时间:2015-05-25 16:48:31    阅读次数:211
IOS中的UIScrollView
要引用UIScrollView 首先要遵循UIScrollViewDelegate协议然后重写//1.拖拽方法-(void)scrollViewDidScroll:(UIScrollView *)scrollView;//2.即将开始拖拽的方法-(void)scrollViewWillBeginDr...
分类:移动开发   时间:2015-05-25 12:46:00    阅读次数:153
android 自定义滚动上下回弹scollView
这是一个自定义view,在xml布局中用这个view嵌套要使之可以上下回弹的view, 就能实现布局可以滚动上下回弹了,自定义view代码如下: package com.loopfire.meitaotao.view.scrollView; import android.content.Context; import android.graphics.Rect; import android...
分类:移动开发   时间:2015-05-25 10:05:10    阅读次数:189
Android的GridView和ScrollView的嵌套
来源于回答频道答题,因此内容都是基于回答频道的原题布局进行 1、布局文件如下 文件名:testxm.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="ma...
分类:移动开发   时间:2015-05-24 23:42:00    阅读次数:479
MVC模式开发图书商城项目分析
MVC模式开发图书商城项目分析 1. 功能分析 1、用户注册 2、用户登录 3、添加商品(CURD) 4、商品查看-- 列表查询 5、商品详情页面 6、将商品添加购物车 7、查看购物车 8、修改购物车 9、生成订单 10、订单查看(取消) 11、在线支付 12.下载销售榜单   游客(未登录): 注册、登陆、商品查看  商城注册用户 : 商品查看、添加商品到购物车、...
分类:Web程序   时间:2015-05-24 17:33:08    阅读次数:205
android scrollview组件禁止滑动的方法
xml配置:android:id="@+id/sc_freement"android:layout_width="fill_parent"android:layout_height="fill_parent"android:layout_below="@id/category_line"androi...
分类:移动开发   时间:2015-05-23 01:11:17    阅读次数:412
scrollview中停止滚动的监听
http://stackoverflow.com/questions/3738965/android-detect-when-scrollview-has-finished-scrolling-and-bouncing-backScrollView 用的是scroller做的滑动, 但是 scrol...
分类:其他好文   时间:2015-05-22 23:47:21    阅读次数:753
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!