3.14

  第8天
 所花时间  1h
 代码量  50行
 博客量  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="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:padding="16dp"
    tools:context=".list">

    <TimePicker
        android:id="@+id/startTimePicker"
        android:layout_width="363dp"
        android:layout_height="133dp"
        android:timePickerMode="spinner" />

    <TimePicker
        android:id="@+id/endTimePicker"
        android:layout_width="363dp"
        android:layout_height="133dp"
        android:timePickerMode="spinner" />

    <EditText
        android:id="@+id/studyEditText"
        android:layout_width="364dp"
        android:layout_height="133dp"
        android:hint="请输入今日学习记录" />

    <Button
        android:id="@+id/saveButton"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:text="打卡" />

</LinearLayout>
复制代码

 

posted @   new菜鸟  阅读(6)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)
点击右上角即可分享
微信分享提示