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>

  • 相关阅读:
    软件工程第二次作业
    软件工程第1次作业
    软件工程第0次作业
    第4次作业-案例分析
    第3次作业-四则运算
    第2次作业-效能分析
    第1次作业-词频统计
    第0次作业
    关于 石墨文档客户端 的案例分析
    结对编程
  • 原文地址:https://www.cnblogs.com/yitiaokuailedexiaojingyu/p/14413250.html
Copyright © 2011-2022 走看看