第八次作业
摘要:package com.example.qq; import android.app.Activity; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import
阅读全文
第七次作业3
摘要:Fragment,简称碎片,是Android 3.0(API 11)提出的,为了兼容低版本,support-v4库中也开发了一套Fragment API,最低兼容Android 1.6。Fragment是依赖于Activity的,不能独立存在的。一个Activity里可以有多个Fragment。一个
阅读全文
第七次作业(2)
摘要:package com.example.sevenzuoy; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import a
阅读全文
第七次作业
摘要:<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" andro
阅读全文
第六次作业
摘要:<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" an
阅读全文