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>

  • 相关阅读:
    无声的吐槽csdn
    成长
    最近忙的头发都油油的
    pycharm5工具免费分享及安装教程
    分布式版本控制git常见问题之gitignore冲突
    感觉自己还是太年轻,还有很多东西不会
    关于laravel5.2仓库的建立,以及简单调用
    乎,前所未有的挑战!
    嘿嘿,无聊的时候,来点好玩的,翻滚吧,杀马特!!!
    随便说说
  • 原文地址:https://www.cnblogs.com/yitiaokuailedexiaojingyu/p/14413250.html
Copyright © 2011-2022 走看看