zoukankan      html  css  js  c++  java
  • 每日总结

    1.今天学习android的相对布局,利用这个完成了一个界面

    <?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"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:padding="15dp">
    <EditText
    android:id="@+id/name_1"
    android:layout_width="match_parent"
    android:layout_height="50dp"
    android:textSize="16sp"
    android:textColor ="#FFAD33"
    android:layout_below="@id/position_text_view"
    android:hint="姓名"

    />
    <Button
    android:id="@+id/butt_1"
    android:layout_width="match_parent"
    android:layout_height="40dp"
    android:layout_below="@id/wendu_1"
    android:text="确定"
    android:textColor="#fff"
    android:textSize="18sp"
    />
    <RadioGroup
    android:id="@+id/sex"
    android:layout_below="@id/name_1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:orientation="horizontal">

    <RadioButton
    android:id="@+id/sex_1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text=""
    android:textColor="#FF6600"
    android:textSize="18sp" />
    <RadioButton
    android:id="@+id/sex_2"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text=""
    android:textColor="#FF6600"
    android:textSize="18sp"
    />
    </RadioGroup>
    <EditText
    android:id="@+id/wendu_1"
    android:layout_width="match_parent"
    android:layout_height="50dp"
    android:textSize="16sp"
    android:textColor ="#FFAD33"
    android:hint="温度"
    android:layout_below="@id/sex"
    />
    <TextView
    android:id="@+id/position_text_view"
    android:layout_width="match_parent"
    android:layout_height="300dp" />
    <TextView
    android:id="@+id/ShowTime"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="日期:"
    android:textColor="@color/black"
    android:layout_below="@id/butt_1"
    android:textSize="20sp" />



    </RelativeLayout>
    
    
  • 相关阅读:
    CNN的学习记录
    softmax和softmax loss的学习记录
    Vue2.0 生命周期
    Vue methods 方法
    Vue2.0 全局操作 Vue.set
    Vue2.0 自定义指令 vuedirective
    Vue2.0 构造器的延伸 Vue.extend
    vue computed
    vuecli 脚手架分析
    h5表单介绍与案例
  • 原文地址:https://www.cnblogs.com/chenghaixiang/p/14908090.html
Copyright © 2011-2022 走看看