wangzhibo
4 天以前 ae6f40460dcd56af6c5f60ba52c883854c3bac55
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
 
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="horizontal"
        tools:context="nodomain.freeyourgadget.gadgetbridge.activities.charts.ActivityChartsActivity$PlaceholderFragment">
 
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_weight="40"
            android:orientation="vertical">
 
            <TextView
                android:id="@+id/balance"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content" />
 
            <com.github.mikephil.charting.charts.PieChart
                android:id="@+id/todaystepschart"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:layout_weight="40" />
 
        </LinearLayout>
 
        <com.github.mikephil.charting.charts.BarChart
            android:id="@+id/weekstepschart"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_weight="20" />
 
        <!--<TextView-->
        <!--android:text="Test"-->
        <!--android:layout_width="fill_parent"-->
        <!--android:layout_height="fill_parent"-->
        <!--android:layout_weight="20" />-->
 
    </LinearLayout>
 
    <ImageView
        android:id="@+id/steps_streaks_button"
        android:layout_width="50dp"
        android:layout_height="50dp"
        android:layout_alignParentStart="true"
        android:layout_alignParentBottom="true"
        android:layout_marginStart="5dp"
        android:layout_marginEnd="0dp"
        android:visibility="visible"
        app:srcCompat="@drawable/ic_events" />
 
</RelativeLayout>