view随着屏幕旋,动态改变其位置

上传者: yanzi1225627 | 上传时间: 2021-07-27 15:25:57 | 文件大小: 2.55MB | 文件类型: ZIP
本代码是博文http://blog.csdn.net/yanzi1225627/article/details/38147205的配套代码,演示如何在屏幕旋转情况下,动态改变view位置,让其显示再固定位置。主要用于app初次运行时的引导界面。

文件下载

资源详情

[{"title":"( 68 个子文件 2.55MB ) view随着屏幕旋,动态改变其位置","children":[{"title":"TestGuide","children":[{"title":".project <span style='color:#111;'> 845B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Test1.apk <span style='color:#111;'> 368.19KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1007B </span>","children":null,"spread":false},{"title":"jarlist.cache <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"android-support-v4-11b764d9bb67e925d9f916eaf32f173d.jar <span style='color:#111;'> 227.16KB </span>","children":null,"spread":false},{"title":"android-support-v4-43adbef8d2b76b55aeb52ed3fc1412b1.jar <span style='color:#111;'> 227.16KB </span>","children":null,"spread":false}],"spread":true},{"title":"res","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ong.png <span style='color:#111;'> 47.77KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 17.47KB </span>","children":null,"spread":false},{"title":"nan1.png <span style='color:#111;'> 92.69KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"TestGuide.apk <span style='color:#111;'> 416.82KB </span>","children":null,"spread":false},{"title":"resources.ap_ <span style='color:#111;'> 181.72KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"org","children":[{"title":"yanzi","children":[{"title":"test1","children":[{"title":"MainActivity.class <span style='color:#111;'> 3.24KB </span>","children":null,"spread":false},{"title":"MainActivity$2.class <span style='color:#111;'> 786B </span>","children":null,"spread":false},{"title":"MainActivity$3.class <span style='color:#111;'> 736B </span>","children":null,"spread":false},{"title":"MainActivity$1.class <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false}],"spread":true},{"title":"ui","children":[{"title":"BaseGuideView.class <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"NanShiGuide.class <span style='color:#111;'> 4.95KB </span>","children":null,"spread":false},{"title":"BaseGuideView$GuideViewCallback.class <span style='color:#111;'> 254B </span>","children":null,"spread":false},{"title":"Rotatable.class <span style='color:#111;'> 145B </span>","children":null,"spread":false}],"spread":false},{"title":"util","children":[{"title":"DisplayUtil.class <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"RoundUtil.class <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"OrientationUtil.class <span style='color:#111;'> 567B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"com","children":[{"title":"example","children":[{"title":"test1","children":[{"title":"R$string.class <span style='color:#111;'> 469B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 438B </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 458B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 459B </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 385B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 663B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 428B </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 343B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 337B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 542B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"classes.dex <span style='color:#111;'> 682.50KB </span>","children":null,"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":true},{"title":"ic_launcher-web.png <span style='color:#111;'> 50.19KB </span>","children":null,"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1007B </span>","children":null,"spread":false},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 606.89KB </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"org","children":[{"title":"yanzi","children":[{"title":"test1","children":[{"title":"MainActivity.java <span style='color:#111;'> 3.54KB </span>","children":null,"spread":false}],"spread":true},{"title":"ui","children":[{"title":"BaseGuideView.java <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"Rotatable.java <span style='color:#111;'> 124B </span>","children":null,"spread":false},{"title":"NanShiGuide.java <span style='color:#111;'> 4.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"DisplayUtil.java <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"RoundUtil.java <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"OrientationUtil.java <span style='color:#111;'> 258B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"values","children":[{"title":"styles.xml <span style='color:#111;'> 697B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 227B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 220B </span>","children":null,"spread":false}],"spread":true},{"title":"values-sw720dp-land","children":[{"title":"dimens.xml <span style='color:#111;'> 277B </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 874B </span>","children":null,"spread":false},{"title":"c_nanshi_guide.xml <span style='color:#111;'> 837B </span>","children":null,"spread":false}],"spread":true},{"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":false},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 334B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":false},{"title":"values-sw600dp","children":[{"title":"dimens.xml <span style='color:#111;'> 203B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"ong.png <span style='color:#111;'> 47.60KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 24.20KB </span>","children":null,"spread":false},{"title":"nan1.png <span style='color:#111;'> 95.11KB </span>","children":null,"spread":false}],"spread":false},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'> 263B </span>","children":null,"spread":false}],"spread":false},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 391B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":".classpath <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"example","children":[{"title":"test1","children":[{"title":"R.java <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false},{"title":"BuildConfig.java <span style='color:#111;'> 159B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"assets","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • jorlin_sun :
    不是我要的demo,不过谢谢了
    2018-07-31
  • whwnext2 :
    东西还可以,借鉴作用
    2017-09-15
  • zhang19920614 :
    运行没反应
    2016-08-10
  • yjisxx :
    不错,不是我想要的效果,学习了...
    2016-05-31
  • kdqq_lxf :
    效果不错,可以直接拿来用,跟快手里面的图片编辑非常类似。
    2016-04-12

免责申明

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