tong木头

Privacy Policy

Privacy Policy Tonglei built the AppShare app as a Free app. This SERVICE is provided by Tonglei at no cost and is intended for use as is. This page is used to inform visitors regarding my polici...

LayoutTransition--Android布局变化时的动画实现

介绍 在开发中经常会动态的改变ViewGroup中子View的状态,比如改变子View的可见性。默认是没有动画效果的,看起来会比较生硬。这个时候如果加上一个过渡动画就再好不过了,方法也很简单,就是用LayoutTransition。Android在api11提供了该类。 用法 1. 在xml中配置动画 android:animateLayoutChanges="true" 2. 在...

使用Proguard移除代码中的Log代码

使用Proguard移除代码中的Log代码 修改Proguard的配置文件,添加以下配置: -assumenosideeffects class android.util.Log { public static int v(...); public static int i(...); public static int w(...); public static ...

App接口服务端关键词

记录一下

关键词 SpringMvc, Tomcat, Nginx, struts2 + spring + mybatis

Android性能调试工具Traceview使用

介绍一下Traceview的使用方法

Android性能调试工具Traceview使用 使用TraceView主要有两种方式: 最简单的方式就是直接打开DDMS,选择一个进程,然后按上面的“Start Method Profiling”按钮,等红色小点变成黑色以后就表示TraceView已经开始工作了。然后我就可以滑动一下列表(现在手机上的操作肯定会很卡,因为Android系统在检测Dalvik虚拟机中每个Java方法的调用...

Markdown

基本语法介绍

鉴于本blog都是采用markdown格式写的,所以第一篇就介绍下markdown的基本语法 Markdown 标题 标题是每篇文章都需要也是最常用的格式,在 Markdown 中,如果一段文字被定义为标题,只要在这段文字前加 # 号即可。 # Heading ## Sub-heading ### Another deeper heading Heading Sub...