use of com.jeremyfeinstein.slidingmenu.example.SampleListFragment in project SlidingMenu by jfeinstein10.
the class CustomAnimation method onCreate.
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// set the Above View
setContentView(R.layout.content_frame);
getSupportFragmentManager().beginTransaction().replace(R.id.content_frame, new SampleListFragment()).commit();
SlidingMenu sm = getSlidingMenu();
setSlidingActionBarEnabled(true);
sm.setBehindScrollScale(0.0f);
sm.setBehindCanvasTransformer(mTransformer);
}
Aggregations