本文内容环境android-common 项目结构演示 android-common参考资料android-common 主要包括如下内容:缓存,包括图片缓存、预取缓存、网络缓存。公共 View,即功能封装好的部件,包括下拉获得最新和上拉加载更多 ListView、底部加载更多 ScrollView...
分类:
移动开发 时间:
2014-09-14 19:18:47
阅读次数:
422
从设备图库返回到scrollView时,scrollView会下移20像素,解决办法:self.edgesForExtendedLayout = UIRectEdgeNone; 如果加入此代码导致其他控件无法点击,可设置为其他值。tableView下移好像也可以用此方法。
分类:
移动开发 时间:
2014-09-13 22:40:35
阅读次数:
217
滚动视图 scrollView是垂直滚动条HorizontalView是水平滚动条
分类:
移动开发 时间:
2014-09-13 18:37:05
阅读次数:
203
竖向ScrollView中嵌套横向ScrollView,横向ScrollView嵌套ListView。具体代码见附件。<ScrollViewandroid:layout_width="match_parent"android:layout_height="match_parent"><RelativeLayoutandroid:layout_width="match_parent"android:layout_height="wrap_content..
分类:
其他好文 时间:
2014-09-13 03:02:25
阅读次数:
358
using UnityEngine;using System.Collections.Generic;public class UIWrapGrid : MonoBehaviour{ Transform mTrans; UIPanel mPanel; UIScrollView mScroll; .....
分类:
其他好文 时间:
2014-09-10 19:30:31
阅读次数:
169
本文内容 android-common 项目 参考资料 adnroid-common 主要包括如下内容: 缓存,包括图片缓存、预取缓存、网络缓存 公共 View,即功能封装好的部件,包括下拉获得最新和上拉加载更多 ListView、底部加载更多 ScrollView、滑动一页 Gallery 常用工...
分类:
移动开发 时间:
2014-09-10 17:39:10
阅读次数:
311
实现这个功能一般有两种思路,一种思路是使用ScrollView+GridView,第二种思路是使用ListView来实现GridView的效果。
第一种思路的具体实现是把HeaderView和GridView都放到ScrollView里面,这里要解决的问题是ScrollView和GridView滑动手势的冲突问题,解决办法是让GridView充满ScrollView,不让GridView滑动而只...
分类:
其他好文 时间:
2014-09-10 00:29:09
阅读次数:
195
先看一下我自己写的布局,电脑屏幕太小,只截取到了一个radiobutton。 先画一个horizontalScrollView,因为我要做水平滚动,然后我需要水平布局,就添加了一个LinearLayout,然后我需要一组单选按钮,就嵌套了一组RadioGroup 说明一下scrollview的...
分类:
移动开发 时间:
2014-09-09 10:45:38
阅读次数:
225
android中布局一般都有两种方式,一种xml声明,另外一种则是程序声明:xml: 手动代码声明:TextView txt=new TextView(this); txt.setText(str); ScrollView s...
分类:
移动开发 时间:
2014-09-08 06:26:06
阅读次数:
288
android中布局一般都有两种方式,一种xml声明,另外一种则是程序声明:
xml:
xml version="1.0" encoding="utf-8"?>
LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
...
分类:
移动开发 时间:
2014-09-08 02:11:56
阅读次数:
270