摘要: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_ 阅读全文
posted @ 2019-11-04 13:25 1014040868a 阅读(107) 评论(0) 推荐(0) 编辑
摘要: package com.example.q; import java.util.HashMap; import java.util.Map; import android.content.Context; import android.content.SharedPreferences; publi 阅读全文
posted @ 2019-10-28 15:14 1014040868a 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 1、碎片是什么 碎片(Fragment)是一种可以嵌入在活动当中的UI片段,它能让程序更加合理和充分地利用大屏幕的空间,因而在平板上应用的非常广泛。虽然碎片对你来说应该是个全新的概念,但我相信你学习起来应该毫不费力,因为它和活动实在是太像了,同样都能包含布局,同样都有自己的生命周期。你甚至可以将碎片 阅读全文
posted @ 2019-10-22 21:47 1014040868a 阅读(84) 评论(0) 推荐(0) 编辑
摘要: package com.example.data; import android.support.v7.app.ActionBarActivity; import android.view.View; import android.view.View.OnClickListener; import 阅读全文
posted @ 2019-10-22 20:58 1014040868a 阅读(89) 评论(0) 推荐(0) 编辑
摘要: package com.example.qq; import android.support.v7.app.ActionBarActivity; import android.content.Intent; import android.os.Bundle; import android.view. 阅读全文
posted @ 2019-10-22 20:55 1014040868a 阅读(80) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" 阅读全文
posted @ 2019-10-03 16:13 1014040868a 阅读(122) 评论(0) 推荐(0) 编辑
摘要: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/ly1" androi 阅读全文
posted @ 2019-09-23 21:26 1014040868a 阅读(185) 评论(0) 推荐(0) 编辑
摘要: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="wrap_c 阅读全文
posted @ 2019-09-13 10:38 1014040868a 阅读(119) 评论(0) 推荐(0) 编辑
摘要: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="wrap_c 阅读全文
posted @ 2019-09-08 19:40 1014040868a 阅读(125) 评论(2) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-09-03 11:13 1014040868a 阅读(102) 评论(0) 推荐(0) 编辑