摘要: private ViewPager viewPager;viewPager = (ViewPager) findViewById(R.id.viewpager);viewPager.setAdapter(new SectionsPagerAdapter( getSupportFragmentManager())); 适配器/** * viewpager适配器 * * @author Administrator * */ private class SectionsPagerAdapte... 阅读全文
posted @ 2013-10-31 19:55 skyko 阅读(468) 评论(0) 推荐(0) 编辑
摘要: package com.example.baofenanim;import java.util.ArrayList;import java.util.List;import android.app.Activity;import android.os.Bundle;import android.support.v4.view.PagerAdapter;import android.support.v4.view.ViewPager;import android.support.v4.view.ViewPager.OnPageChangeListener;import android.view. 阅读全文
posted @ 2013-10-31 19:38 skyko 阅读(938) 评论(0) 推荐(0) 编辑
摘要: You can useListPopupWindowto anchor to a host view and display a list of options. In this recipe, you will learn to anchorListPopupWindowto anEditTextcontrol. When the user clicks in theEditTextcontrol,ListPopupWindowwill appear displaying a list of options. After the user selects an option fromList 阅读全文
posted @ 2013-10-31 09:12 skyko 阅读(6341) 评论(0) 推荐(0) 编辑