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...
Posted by tongmutou on February 12, 2024
LayoutTransition--Android布局变化时的动画实现
介绍
在开发中经常会动态的改变ViewGroup中子View的状态,比如改变子View的可见性。默认是没有动画效果的,看起来会比较生硬。这个时候如果加上一个过渡动画就再好不过了,方法也很简单,就是用LayoutTransition。Android在api11提供了该类。
用法
1. 在xml中配置动画
android:animateLayoutChanges="true"
2. 在...
Posted by tong木头 on July 7, 2017
使用Proguard移除代码中的Log代码
使用Proguard移除代码中的Log代码
修改Proguard的配置文件,添加以下配置:
-assumenosideeffects class android.util.Log {
public static int v(...);
public static int i(...);
public static int w(...);
public static ...
Posted by tong木头 on December 6, 2016
App接口服务端关键词
记录一下
关键词
SpringMvc, Tomcat, Nginx, struts2 + spring + mybatis
Posted by tong木头 on September 22, 2016
Android性能调试工具Traceview使用
介绍一下Traceview的使用方法
Android性能调试工具Traceview使用
使用TraceView主要有两种方式:
最简单的方式就是直接打开DDMS,选择一个进程,然后按上面的“Start Method Profiling”按钮,等红色小点变成黑色以后就表示TraceView已经开始工作了。然后我就可以滑动一下列表(现在手机上的操作肯定会很卡,因为Android系统在检测Dalvik虚拟机中每个Java方法的调用...
Posted by tong木头 on September 16, 2016
Markdown
基本语法介绍
鉴于本blog都是采用markdown格式写的,所以第一篇就介绍下markdown的基本语法
Markdown
标题
标题是每篇文章都需要也是最常用的格式,在 Markdown 中,如果一段文字被定义为标题,只要在这段文字前加 # 号即可。
# Heading
## Sub-heading
### Another deeper heading
Heading
Sub...
Posted by tong木头 on September 16, 2016