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

    2021年2月18日:

    chartfrag_lv.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">
    <ImageView
    android:id="@+id/item_chartfrag_iv"
    android:layout_width="35dp"
    android:layout_height="35dp"
    android:src="@mipmap/ic_yanjiu_fs"/>
    <TextView
    android:id="@+id/item_chartfrag_tv_type"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="烟酒茶"
    android:textSize="16sp"
    android:layout_toRightOf="@id/item_chartfrag_iv"
    android:layout_centerVertical="true"
    android:layout_marginLeft="10dp"
    android:textStyle="bold"/>
    <TextView
    android:id="@+id/item_chartfrag_tv_pert"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="22.3%"
    android:textSize="16sp"
    android:layout_centerInParent="true"/>
    <TextView
    android:id="@+id/item_chartfrag_tv_sum"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="¥123.3"
    android:textSize="16sp"
    android:layout_centerVertical="true"
    android:layout_alignParentRight="true"/>
    </RelativeLayout>

     chargfrag_top.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">
    <com.github.mikephil.charting.charts.BarChart
    android:id="@+id/item_chartfrag_chart"
    android:layout_width="match_parent"
    android:layout_height="300dp" />
    <TextView
    android:id="@+id/item_chartfrag_top_tv"
    android:layout_width="match_parent"
    android:layout_height="300dp"
    android:text="@string/not_data"
    android:textStyle="bold"
    android:textSize="20sp"
    android:gravity="center"
    android:visibility="gone"/>
    </RelativeLayout>

  • 相关阅读:
    第四篇 -- 收获颇丰的一天
    第十六篇 -- SuperIO学习
    第八篇 -- 用U盘制作启动盘装Win10系统
    第二十五篇 -- 学习第三十四天打卡20190726
    zabbix钉钉报警
    windows 远程连接“发生身份验证错误 要求的函数不受支持”
    限制IP远程访问
    查看、踢出在线用户
    codis
    Linux、windows安装java
  • 原文地址:https://www.cnblogs.com/yitiaokuailedexiaojingyu/p/14413250.html
Copyright © 2011-2022 走看看