• 今日总结


    2021年2月16日:

    time.xml:

    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical" android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:background="@color/white">
    <DatePicker
    android:id="@+id/dialog_time_dp"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"/>

    <TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@string/please_input_time"
    android:padding="10dp"/>
    <LinearLayout
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:orientation="horizontal"
    android:padding="10dp">
    <EditText
    android:id="@+id/dialog_time_et_hour"
    android:layout_width="60dp"
    android:layout_height="wrap_content"
    android:inputType="number"
    android:maxLength="2"/>
    <TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text=" : "
    android:textSize="20dp"
    android:textStyle="bold"/>
    <EditText
    android:id="@+id/dialog_time_et_minute"
    android:layout_width="60dp"
    android:layout_height="wrap_content"
    android:inputType="number"
    android:maxLength="2"/>
    </LinearLayout>
    <LinearLayout
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="right"
    android:orientation="horizontal">
    <Button
    android:id="@+id/dialog_time_btn_cancel"
    android:layout_width="80dp"
    android:layout_height="wrap_content"
    android:text="@string/cancel"
    android:textColor="@color/green_006400"
    android:background="@null"
    android:layout_marginRight="20dp"/>
    <Button
    android:id="@+id/dialog_time_btn_ensure"
    android:layout_width="80dp"
    android:layout_height="wrap_content"
    android:text="@string/ensure"
    android:textColor="@color/green_006400"
    android:background="@null"
    android:layout_marginRight="20dp"/>
    </LinearLayout>
    </LinearLayout>

     incom_chart.xml:

    <?xml version="1.0" encoding="utf-8"?>
    <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/grey_f3f3f3">

    <!-- TODO: Update blank fragment layout -->
    <ListView
    android:id="@+id/frag_chart_lv"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:dividerHeight="1dp"
    android:divider="@color/grey_f3f3f3"/>
    </FrameLayout>

  • 相关阅读:
    关于虚拟机断电导致的 generating /run/initramfs/rdsosreport.txt 问题优秀解决方案
    centos7 yum 阿里源
    startup.bat脚本启动tomcat时,cmd命令窗口闪现问题及Neither the JAVA_HOME nor the JRE_HOME environment variable is defined 错误解决
    Linux 中 Fish Shell
    卸载mysql
    /bin/bash^M: 坏的解释器: 没有那个文件或目录
    elementUI 文本鼠标移入显示太长
    el-upload 手动上传文件
    vue-element-admin 打包测试环境报错
    vue 分页跳转页面详情,返回记住当前点击第几页
  • 原文地址:https://www.cnblogs.com/yitiaokuailedexiaojingyu/p/14407457.html
Copyright © 2020-2023  润新知