帧布局 linearlayout线性布局gridView absolutelayout framelayout linearlayout absolutelayout
2015-01-27
private SeekBar seekBar;
seekBar.setOnseekbarvhangelistener();
this;max
progress
seekBar.setOnseekbarvhangelistener();
this;max
progress
2015-01-27
onprogresschanged onstarttrackingtough
onstoptracking
onstoptracking
2015-01-27
onItemSeLelectlistener(this);
imageswitch;
ImageSwitcher;
match;
private ImageSwitcher imageswitch;
Viewfactary
imageswitch;
ImageSwitcher;
match;
private ImageSwitcher imageswitch;
Viewfactary
2015-01-27
ImageView image=new ImageView();
context;
image.setBackgroundResource(res[position])
image.setLayoutParams(neW Gallery.layoutparams);
image.setScaleType(ScaleType.fit_cy)
context;
image.setBackgroundResource(res[position])
image.setLayoutParams(neW Gallery.layoutparams);
image.setScaleType(ScaleType.fit_cy)
2015-01-27
gallery:imageswitcher
private int[]res={r.drawable.item1}
<gallery
width height
private Gallery gallery;
fallery=findViewById();
ArrayAdapter<string>adapter;
SimpleAdapter
ImageAdapter extents baseadapter{
getCount
GETiTEM
GETiTEMiD
GETvIEW;
PRIVATE INT[]RES;
res=res
private int[]res={r.drawable.item1}
<gallery
width height
private Gallery gallery;
fallery=findViewById();
ArrayAdapter<string>adapter;
SimpleAdapter
ImageAdapter extents baseadapter{
getCount
GETiTEM
GETiTEMiD
GETvIEW;
PRIVATE INT[]RES;
res=res
2015-01-27
scrollTo scrollBy;
setOnClickListener{
switch(){
case R.id.up:
break;
case R.ID.down:
{
scroll.scrollto(o);
scrollto scollby;
setOnClickListener{
switch(){
case R.id.up:
break;
case R.ID.down:
{
scroll.scrollto(o);
scrollto scollby;
2015-01-27
if(scoll.getScrollY()<=0){
if(scroll.getScroll
scroll.getChildAt()0.getMeasureHeight()
if(scroll.getScroll
scroll.getChildAt()0.getMeasureHeight()
2015-01-27