¡@

Home 

2014/10/16 ¤W¤È 08:23:42

android Programming Glossary: setbehindcontentview

Sliding menu locks touch event on upper view

http://stackoverflow.com/questions/13895149/sliding-menu-locks-touch-event-on-upper-view

by SlidingFragmentActivity Then you should set the behindView inside the onCreate method or your activity will crash. setBehindContentView R.layout.slidingmenu Replace with the layout of your menu It should fix the problem. Here is a sample code of my Activity.. for the activity setContentView R.layout.activity_listing set the Behind View REQUIRED replace with your menu's layout setBehindContentView R.layout.slidingmenu menu getSlidingMenu Now you can customize your sliding menu if you want menu.setMode SlidingMenu.LEFT..

Dynamic UI with sliding menu and actionbarsherlock

http://stackoverflow.com/questions/14274676/dynamic-ui-with-sliding-menu-and-actionbarsherlock

onCreate Bundle savedInstanceState super.onCreate savedInstanceState setContentView R.layout.activity_home_screen setBehindContentView R.layout.menu_frame PagerAdapter1.java public class PagerAdapter1 extends FragmentPagerAdapter private List Fragment fragments.. .beginTransaction .replace R.id.content_frame mContent .commit set the Behind View This is the SlidingMenu setBehindContentView R.layout.menu_frame getSupportFragmentManager .beginTransaction .replace R.id.menu_frame new ColorMenuFragment .commit customize..

sliding menu using jfeinstein10 library

http://stackoverflow.com/questions/15242825/sliding-menu-using-jfeinstein10-library

R.layout.properties sm.setSecondaryShadowDrawable R.drawable.shadow setTitle Sliding Bar set the Behind View setBehindContentView R.layout.menu_frame FragmentTransaction t this.getSupportFragmentManager .beginTransaction mFrag new SampleListFragment..