摘要: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android. 阅读全文
posted @ 2019-11-13 19:28 akaxuan 阅读(114) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/ 阅读全文
posted @ 2019-11-13 19:23 akaxuan 阅读(122) 评论(0) 推荐(0)
摘要: 两种包import Fragment包分为两种: android.support.app.Fragment: android.support.v4.app.Fragment:兼容性更强 常用的类和方法类FragmentActivity:可包含多个Fragment FragmentManager:嵌入 阅读全文
posted @ 2019-11-13 19:08 akaxuan 阅读(85) 评论(0) 推荐(0)
摘要: package com.example.qerw; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.vie 阅读全文
posted @ 2019-11-13 19:05 akaxuan 阅读(114) 评论(0) 推荐(0)
摘要: package com.example.worksix; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; impo 阅读全文
posted @ 2019-10-09 13:27 akaxuan 阅读(201) 评论(0) 推荐(0)
摘要: package com.example.five; import android.content.DialogInterface; import android.graphics.Color; import android.os.Bundle; import android.view.View; import androidx.appcompat.app.AlertDialog; import a 阅读全文
posted @ 2019-09-25 19:25 akaxuan 阅读(112) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-09-17 18:03 akaxuan 阅读(144) 评论(0) 推荐(0)
摘要: package com.example.zixuan; import android.os.Bundle; <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.androi 阅读全文
posted @ 2019-09-16 14:53 akaxuan 阅读(194) 评论(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" android:backg 阅读全文
posted @ 2019-09-09 13:37 akaxuan 阅读(106) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmln 阅读全文
posted @ 2019-09-04 13:34 akaxuan 阅读(106) 评论(0) 推荐(0)