本文整理汇总了Java中com.jeremyfeinstein.slidingmenu.example.anim.CustomZoomAnimation类的典型用法代码示例。如果您正苦于以下问题:Java CustomZoomAnimation类的具体用法?Java CustomZoomAnimation怎么用?Java CustomZoomAnimation使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
CustomZoomAnimation类属于com.jeremyfeinstein.slidingmenu.example.anim包,在下文中一共展示了CustomZoomAnimation类的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onPreferenceTreeClick
import com.jeremyfeinstein.slidingmenu.example.anim.CustomZoomAnimation; //导入依赖的package包/类
@Override
public boolean onPreferenceTreeClick(PreferenceScreen screen, Preference pref) {
Class<?> cls = null;
String title = pref.getTitle().toString();
if (title.equals(getString(R.string.properties))) {
cls = PropertiesActivity.class;
} else if (title.equals(getString(R.string.attach))) {
cls = AttachExample.class;
} else if (title.equals(getString(R.string.changing_fragments))) {
cls = FragmentChangeActivity.class;
} else if (title.equals(getString(R.string.left_and_right))) {
cls = LeftAndRightActivity.class;
} else if (title.equals(getString(R.string.responsive_ui))) {
cls = ResponsiveUIActivity.class;
} else if (title.equals(getString(R.string.viewpager))) {
cls = ViewPagerActivity.class;
} else if (title.equals(getString(R.string.title_bar_slide))) {
cls = SlidingTitleBar.class;
} else if (title.equals(getString(R.string.title_bar_content))) {
cls = SlidingContent.class;
} else if (title.equals(getString(R.string.anim_zoom))) {
cls = CustomZoomAnimation.class;
} else if (title.equals(getString(R.string.anim_scale))) {
cls = CustomScaleAnimation.class;
} else if (title.equals(getString(R.string.anim_slide))) {
cls = CustomSlideAnimation.class;
}
Intent intent = new Intent(this, cls);
startActivity(intent);
return true;
}