
android
文章平均质量分 62
付义文
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
webview载入本地网页
1.在项目文件夹-main文件夹下新建assets文件夹,在assets文件夹里放一个文件index.html2.在清单文件manifest根节点下加入这条语句3.在布局文件中加入一个webview4.public class MainActivity extends AppCompatActivity { @Override protected void onC原创 2018-01-16 17:18:53 · 2229 阅读 · 1 评论 -
侧滑抽屉和toolbar
首先添加v4和v7依赖布局文件<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/dl_left"an原创 2018-01-10 11:49:31 · 325 阅读 · 0 评论 -
viewpager和PagerTabStrip
布局文件<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_he原创 2018-01-10 12:41:00 · 221 阅读 · 0 评论