- 博客(3)
- 收藏
- 关注
原创 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
2186
1
原创 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
201
原创 侧滑抽屉和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
296
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人