![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android学习笔记
文章平均质量分 76
铭仔9410
这个作者很懒,什么都没留下…
展开
-
ViewPager软键盘问题
1)使用ViewPager切换页面,当使用软键盘输入时,底部的按钮视图会被顶上去。解决方法:在AndroidManifest.xml中将使用ViewPager的Activity里添加android:windowSoftInputMode="adjustPan" 如: android:name=".MainActivity"原创 2015-12-28 15:37:58 · 1351 阅读 · 0 评论 -
ViewPager底部游标滑动
1、布局文件<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="40dp" android:orientation="vertical" > <Li原创 2015-12-30 10:33:42 · 701 阅读 · 0 评论 -
百度定位的实现
声明:需先申请百度密钥,导入百度sdk,配置百度定位环境(具体如何实现请看http://blog.csdn.net/u011176265/article/details/50427965)public class MainActivity extends FragmentActivity implements OnClickListener { /* 定位相关 */ /** 实现原创 2015-12-30 10:53:36 · 277 阅读 · 0 评论 -
ViewPager+Fragment
1、布局文件<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="m原创 2015-12-29 17:48:12 · 185 阅读 · 0 评论