android ScrollVIew中控件滑动顶端固定

上传者: hcb1230 | 上传时间: 2021-08-17 16:07:43 | 文件大小: 1012KB | 文件类型: ZIP
因为项目需要做了一个效果,就是当某个操作按钮滑动顶部是固定在顶部,不让其隐藏,让用户无时无刻都可以实现这个操作。 这个效果不是很神奇,就个人来说呢,很有用。无形间增加了用户体验鸟

文件下载

资源详情

[{"title":"( 46 个子文件 1012KB ) android ScrollVIew中控件滑动顶端固定","children":[{"title":"tyb4","children":[{"title":".project <span style='color:#111;'> 840B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"tyb4","children":[{"title":"MainActivity.java <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 872B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 332B </span>","children":null,"spread":false}],"spread":true},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'> 261B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false}],"spread":true},{"title":"values-sw600dp","children":[{"title":"dimens.xml <span style='color:#111;'> 201B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 24.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 219B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 695B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 218B </span>","children":null,"spread":false}],"spread":false},{"title":"values-sw720dp-land","children":[{"title":"dimens.xml <span style='color:#111;'> 275B </span>","children":null,"spread":false}],"spread":false},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 389B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"example","children":[{"title":"tyb4","children":[{"title":"BuildConfig.java <span style='color:#111;'> 158B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 383.94KB </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 364B </span>","children":null,"spread":false},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 50.19KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"resources.ap_ <span style='color:#111;'> 40.20KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"example","children":[{"title":"tyb4","children":[{"title":"R$layout.class <span style='color:#111;'> 397B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 425B </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 455B </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 341B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 401B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 334B </span>","children":null,"spread":false},{"title":"MainActivity$1$1.class <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 470B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 653B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 466B </span>","children":null,"spread":false},{"title":"MainActivity$1.class <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 382B </span>","children":null,"spread":false},{"title":"MainActivity.class <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 872B </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"android-support-v4-afce438b8bdb41629dc2d462c99e4a6a.jar <span style='color:#111;'> 148.28KB </span>","children":null,"spread":false}],"spread":false},{"title":"jarlist.cache <span style='color:#111;'> 119B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 17.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"classes.dex <span style='color:#111;'> 441.04KB </span>","children":null,"spread":false},{"title":"tyb4.apk <span style='color:#111;'> 192.80KB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

  • nanjolno :
    没太大的用,代码不符合价格。
    2016-07-25
  • kakugyouko :
    想法挺好的,但总觉得只是个取巧的方法,而且还有bug,实际项目中感觉不能用...不值5分..
    2016-05-19
  • lshorange :
    效果还好,不过不值这个分
    2016-05-09
  • jokeral :
    还行,分值好高,黑主
    2016-04-13
  • u010775534 :
    不是重写了ScrollView ,这种方法实用性不大,感觉值1分
    2016-03-16

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明