Blame view

app/src/main/res/layout/fragment_overview.xml 3.19 KB
7f095a929   chudinhbka@gmail.com   Create GIT Project
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                  xmlns:tools="http://schemas.android.com/tools"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:padding="5dp"
                  tools:context=".Activity_Main">
  
      <org.eazegraph.lib.charts.PieChart
          xmlns:eaze="http://schemas.android.com/apk/res-auto"
          android:id="@+id/graph"
          android:layout_width="match_parent"
          android:layout_height="200dp"
          android:layout_marginTop="10dp"
          eaze:egLegendHeight="0dp"
          eaze:egInnerPadding="93"
          eaze:egHighlightStrength="1"/>
  
      <TextView
          android:id="@+id/steps"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_marginTop="75dp"
          android:gravity="center"
          android:textSize="45sp"
          android:text="10.000"/>
  
      <TextView
          android:id="@+id/unit"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_below="@+id/steps"
          android:layout_centerHorizontal="true"
          android:text="@string/steps"
          android:textSize="20sp"/>
  
      <LinearLayout
          android:id="@+id/averageandtotal"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_alignParentLeft="true"
          android:layout_below="@+id/graph"
          android:layout_marginTop="20dp">
  
          <TextView
              android:id="@+id/average"
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:gravity="center_horizontal"
              android:textSize="20sp"
              android:textStyle="bold"/>
  
          <TextView
              android:id="@+id/total"
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:gravity="center_horizontal"
              android:textSize="20sp"
              android:textStyle="bold"/>
      </LinearLayout>
  
      <LinearLayout
          android:id="@+id/averageandtotaltext"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_below="@id/averageandtotal">
  
          <TextView
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:gravity="center_horizontal"
              android:text="@string/average"/>
  
          <TextView
              android:layout_width="0dp"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:gravity="center_horizontal"
              android:text="@string/total"/>
      </LinearLayout>
  
      <org.eazegraph.lib.charts.BarChart
          xmlns:eaze="http://schemas.android.com/apk/res-auto"
          android:id="@+id/bargraph"
          android:layout_width="match_parent"
          android:layout_height="150dp"
          android:layout_below="@+id/averageandtotaltext"
          android:layout_marginTop="50dp"
          eaze:egLegendHeight="35dp"
          eaze:egShowValues="true"/>
  
  </RelativeLayout>