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

    2021年2月10日:

    今天:

    beizhu.xml:

    <?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="wrap_content"
    android:padding="10dp"
    android:background="@color/white">
    <TextView
    android:id="@+id/dialog_beizhu_tv"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@string/add_remark"
    android:textSize="16sp"
    android:textColor="@color/black"/>
    <EditText
    android:id="@+id/dialog_beizhu_et"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_below="@id/dialog_beizhu_tv"
    android:hint="@string/remark"
    android:layout_marginTop="10dp"
    android:layout_marginBottom="20dp"
    android:textSize="14sp"
    android:background="@color/white">
    <requestFocus/>
    </EditText>
    <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="horizontal"
    android:layout_below="@id/dialog_beizhu_et"
    android:padding="10dp">
    <Button
    android:id="@+id/dialog_beizhu_btn_cancel"
    android:layout_width="0dp"
    android:layout_height="wrap_content"
    android:layout_weight="1"
    android:text="@string/cancel"
    android:background="@drawable/dialog_btn_bg"
    android:textStyle="bold"
    android:textColor="@color/green_006400"
    android:layout_marginRight="5dp"/>
    <Button
    android:id="@+id/dialog_beizhu_btn_ensure"
    android:layout_width="0dp"
    android:layout_height="wrap_content"
    android:layout_weight="1"
    android:text="@string/ensure"
    android:background="@drawable/main_recordbtn_bg"
    android:textStyle="bold"
    android:textColor="@color/white"
    android:layout_marginRight="5dp"/>
    </LinearLayout>
    </RelativeLayout>

     budget.xml:

    <?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="wrap_content"
    android:padding="10dp"
    android:background="@color/white">
    <TextView
    android:id="@+id/dialog_budget_tv1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@string/set_budget"
    android:layout_centerHorizontal="true"
    android:textSize="18sp"
    android:textStyle="bold"
    android:textColor="@color/black"/>
    <ImageView
    android:id="@+id/dialog_budget_iv_error"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:src="@mipmap/ih_error"
    android:layout_alignParentRight="true"/>
    <TextView
    android:id="@+id/dialog_budget_tv2"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="¥"
    android:layout_below="@id/dialog_budget_tv1"
    android:textSize="20sp"
    android:layout_marginTop="10dp"/>
    <EditText
    android:id="@+id/dialog_budget_et"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_toRightOf="@id/dialog_budget_tv2"
    android:layout_alignBaseline="@id/dialog_budget_tv2"
    android:inputType="numberDecimal"
    android:background="@color/white">
    <requestFocus/>
    </EditText>
    <Button
    android:id="@+id/dialog_budget_btn_ensure"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_below="@id/dialog_budget_tv2"
    android:layout_marginTop="20dp"
    android:text="@string/ensure"
    android:textStyle="bold"
    android:textSize="18sp"
    android:background="@drawable/main_recordbtn_bg"
    android:textColor="@color/white"/>
    </RelativeLayout>

  • 相关阅读:
    OPENGLES 绘制纹理带黑圈pre-multiplying
    listview相关代码整理
    时区列表
    (迪杰斯特拉)Dijkstra算法
    全源最短路径(Floyd算法)
    go配置私有仓库 (go mod配置私有仓库)
    mingw+gcc 10.1下载
    线段树应用及概况
    清理docker常用命令
    minio设置永久访问链接
  • 原文地址:https://www.cnblogs.com/yitiaokuailedexiaojingyu/p/14396419.html
Copyright © 2011-2022 走看看