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>

  • 相关阅读:
    spring-mvc访问本地html文件
    好文收集
    jsp参数乱码解决
    ext window嵌jsp页面自适应
    正则学习(转)
    Error occurred during initialization of VM Incompatible initial and maximum heap sizes specified
    产品测试流程
    创建maven工程时报错,解决方案
    接口测试中如何利用cookies保持会话
    http协议基础
  • 原文地址:https://www.cnblogs.com/yitiaokuailedexiaojingyu/p/14413250.html
Copyright © 2011-2022 走看看