摘要: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" and 阅读全文
posted @ 2019-10-25 16:31 王春鹏 阅读(163) 评论(0) 推荐(0)
摘要: Fragment一.为什么要使用fragment? 用来适配大屏幕二.Minium Required SDK 要从API11 :Android 3.0开始因为从Android3.0以上才开始支持三.如何使用fragment? fragment 理解成迷你activity,依托于activity存活, 阅读全文
posted @ 2019-10-21 20:32 王春鹏 阅读(142) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" > <LinearLayo 阅读全文
posted @ 2019-10-20 21:40 王春鹏 阅读(163) 评论(0) 推荐(0)
摘要: package cn.itcase.qq; import androidx.appcompat.app.AppCompatAct... 阅读全文
posted @ 2019-10-10 19:41 王春鹏 阅读(172) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" and 阅读全文
posted @ 2019-10-06 20:33 王春鹏 阅读(119) 评论(0) 推荐(0)
摘要: package cn.itcase.backcolor; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; import android.content.DialogInterface; import android.gr... 阅读全文
posted @ 2019-09-23 14:46 王春鹏 阅读(148) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" > <LinearLayo 阅读全文
posted @ 2019-09-14 21:13 王春鹏 阅读(141) 评论(0) 推荐(0)
摘要: package cn.itcase.q; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.w... 阅读全文
posted @ 2019-09-07 19:42 王春鹏 阅读(141) 评论(1) 推荐(0)
摘要: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.androi 阅读全文
posted @ 2019-09-02 16:43 王春鹏 阅读(107) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-09-02 16:40 王春鹏 阅读(104) 评论(0) 推荐(0)