今日,在学习AnimatorSet时,使用play.with.after.before时,代码书写如下: ObjectAnimator animator1 = ObjectAnimator.ofFloat(v,"translationX",300f); ObjectAnimator animator2 = ObjectAnimator.ofFloat(v,"scaleX",1f,0f,1f); ObjectAnimator animator3 = ObjectAni…
<?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" > <Horiz…
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/ItemIntr" android:layout_toRightOf="@+id/ItemImage" android:layout_below="@+id/ItemTitle" android:layou…
造成这个问题的原因是在xml文件中出现了重复依赖,何为重复依赖,如下:   以上便叫重复依赖 转载请标明出处:http://www.cnblogs.com/tangZH/p/8386978.html…
循环布局错误!!! <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/drop_down_item" android:layout_width="match_parent" andro…
Android项目开发中,是不是常看到android-support-v4.jar.appcompat_v7.jar等的jar包? 至于为什么要添加这些包?添加有什么用?添加到哪里?相信很多人没过多关注,或者只知其然,而不知其所以然.下面我们就来学习一下~~ 一.v4/ v7/ v13的作用与区别 1.  v4/ v7/ v13是什么? 本质上就是android提供的三个java library. 2.  android为什么要提供这些库? google提供了Android Support Li…
springboot mybatis配置多数据源的时候,报错:There is a circular dependency between 7 beans in the application context: xxx 经查,这是mybatis-spring的bug,延迟加载问题:https://github.com/mybatis/spring/issues/58 问题复现的版本组合是: spring-boot-starter-parent 1.4.1.RELEASE mybatis 3.2.…
前言 Android Studio版本更新至3.0了,更新后,连带着com.android.tools.build:gradle 工具也升级到了3.0.0,在3.0.0中使用了最新的Gralde 4.0 里程碑版本作为gradle的编译版本,该版本gradle编译速度有所加速,更加令人兴奋的是完全支持Java8.当然,对于Kotlin的支持,在这个版本也有所体现,Kotlin插件默认是安装的. 一.依赖变化 当我们使用Android Studio3.0新建项目时会发现,默认的依赖由之前的comp…
Ok, so I'm trying to test some stuffs with jackson json converter. I'm trying to simulate a graph behaviour, so these are my POJO entities @JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "id") public class Pa…
244.http请求的url含有中字符时.须要Uri编码.Uri.encoder() 245.使用androidstudio时,不知道什么原因svn不见了 Android Studio missing Subversion plugin Please make sure that the "SubversionIntegration" plugin is enabled in Preferences > Plugins 246.Error:Execution failed for…