`
文章列表
performClick 是使用代码主动去调用控件的点击事件(模拟人手去触摸控件) ----------------------------------------- boolean android.view.View.performClick() Call this view's OnClickListener, if it is defined. Returns: True there was an assigned OnClickListener that was called, false otherwise is returned. ------------------------- ...
左侧、右侧和两边    在BaseActivity中将SlidingMenu默认设置左面菜单,全屏可拉动及其他一些属性,下面看代码: // 设置menu布局,根据模式决定是从左侧还是右侧拉出 setBehindContentView(R.layout.menu_frame); FragmentTransaction t = this.getSupportFragmentManager() .beginTransaction(); mFrag = new SampleListFragment(); t.replace(R.id.menu_frame, mFrag ...
SlidingMenu 常用属性介绍: menu.setMode(SlidingMenu.LEFT);//设置左滑菜单 menu.setTouchModeAbove(SlidingMenu.TOUCHMODE_FULLSCREEN);//设置滑动的屏幕范围,该设置为全屏区域都可以滑动 menu.setShadowDrawable(R.drawable.shadow);//设置阴影图片 menu.setShadowWidthRes(R.dimen.shadow_width);//设置阴影图片的宽度 menu.setBehindOffsetRes(R.dimen.slidingmenu_offset ...
http://download.csdn.net/detail/t12x3456/6760669
见博客文章 http://blog.csdn.net/luoboo525/article/details/7883998
package mobile.android.multi.touch; import android.os.Bundle; import android.app.Activity; import android.util.Log; import android.view.Menu; import android.view.MotionEvent; public class MultiTouchActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceStat ...
http://www.cnblogs.com/bavariama/archive/2013/01/29/2881225.html
1)View切换的控件—ViewFlipper介绍 ViewFilpper类继承于ViewAnimator类。而ViewAnimator类继承于FrameLayout。 查看ViewAnimator类的源码可以看出此类的作用主要是为其中的View切换提供动画效果。该类有如下几个和动画相关的方法。 setInAnimation ...
http://www.javaapk.com/source/448.html
见博客文章:http://blog.csdn.net/janice0529/article/details/17335473
转博客文章 http://blog.csdn.net/xiaanming/article/details/11066685
转载博客 http://blogsit.iteye.com/blog/1934633
转博客文章 http://blog.csdn.net/xiaanming/article/details/9971721
package com.lingdududu.test; import android.app.Activity; import android.os.B undle; import android.view.KeyEvent; import android.view.WindowManager; import android.widget.Toast; public class MainActivity extends Activity { /** Called when the activity is first created. */ ...
科大讯飞语音云开放平台 http://open.voicecloud.cn/index.php/default/doccenter
Global site tag (gtag.js) - Google Analytics