![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android 练习
L菌体
这个作者很懒,什么都没留下…
展开
-
android BaseAdapter Test1
转载自:https://www.cnblogs.com/caobotao/p/5061627.htmlps:我写 的不是完整版,仅仅只是列举了其中的一种方法,但是每个代码片段组合还是可以运行的。需要看完整版的请访问上面的博客链接1.创建布局文件activity_main.xml<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com原创 2021-11-14 10:27:06 · 1492 阅读 · 0 评论 -
Android AlertDialog 单选列表对话框练习
public class radioAlert extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_radio_alert); final String[] city = ne原创 2021-08-07 09:39:20 · 329 阅读 · 0 评论 -
Android AlertDialog 多选列表对话框练习
public class CheckedAlert extends AppCompatActivity { //多选列表对话框 @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_checked_alert); final原创 2021-08-07 09:37:13 · 327 阅读 · 0 评论 -
Android AlertDialog普通列表对话框练习
public class ListAlert extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_list_alert); final String[] lang = new原创 2021-08-07 09:33:07 · 116 阅读 · 0 评论 -
Android AlertDialog普通对话框练习
public class AlertDialog_main1 extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_alert_dialog_main1); final Cont原创 2021-08-07 09:30:23 · 139 阅读 · 0 评论 -
Android MultiAutoComplete TextView(多项自动完成文本框)练习
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="ma原创 2021-08-07 09:28:34 · 239 阅读 · 0 评论 -
Android AutoCompleteTextView 自动完成文本框练习
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="ma原创 2021-08-07 09:26:55 · 118 阅读 · 0 评论 -
Android LayoutInflater.from是什么?
原创 2021-08-06 09:19:57 · 436 阅读 · 0 评论 -
Android Adapter适配器练习
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="ma原创 2021-08-04 16:28:22 · 93 阅读 · 0 评论 -
Android日期选择器练习
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="ma原创 2021-08-03 16:41:41 · 79 阅读 · 0 评论 -
Android时间选择器练习
<?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.android.com/tools" android:layout_width="原创 2021-08-03 16:40:05 · 93 阅读 · 0 评论 -
Android计时器练习
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="ma原创 2021-08-03 16:38:37 · 137 阅读 · 0 评论 -
Android单选按钮radio练习1
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="ma原创 2021-08-03 11:13:07 · 78 阅读 · 0 评论 -
Android 下拉列表Spinner练习1
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="ma原创 2021-08-03 11:11:48 · 107 阅读 · 0 评论 -
Android编辑框练习01
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="ma原创 2021-08-03 11:08:15 · 80 阅读 · 0 评论 -
Android文本框练习
<?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.android.com/tools" android:layout_width="原创 2021-08-03 11:04:19 · 58 阅读 · 0 评论