1 布局文件
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal" >
<Button
android:id="@+id/btnSelectDate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0000:00:00" />
<EditText
android:id="@+id/theme_date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
andro
Android开发:DatePicker控件详解
这篇博客详细介绍了Android开发中DatePicker控件的使用方法,包括布局文件的配置,Java代码的实现,以及最终实现的效果展示。
订阅专栏 解锁全文
6936

被折叠的 条评论
为什么被折叠?



