1 <?xml version="1.0" encoding="utf-8"?> 2 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 xmlns:app="http://schemas.android.com/apk/res-auto" 4 xmlns:tools="http://schemas.android.com/tools" 5 android:id="@+id/layout_additional" 6 android:layout_width="match_parent" 7 android:layout_height="match_parent" 8 android:background="@color/colorPrimary" 9 tools:context="com.asimplesock.chatistics.MainActivity"> 10 11 12 <ImageView 13 android:id="@+id/imageView2" 14 android:layout_width="40dp" 15 android:layout_height="40dp" 16 android:layout_marginEnd="32dp" 17 android:onClick="switchGraph" 18 android:src="@drawable/refresh" 19 app:layout_constraintBottom_toBottomOf="@+id/linearLayout4" 20 app:layout_constraintEnd_toEndOf="parent" 21 app:layout_constraintTop_toTopOf="@+id/linearLayout4" /> 22 23 24 <androidx.constraintlayout.widget.ConstraintLayout 25 android:id="@+id/constraintLayout" 26 android:layout_width="match_parent" 27 android:layout_height="wrap_content" 28 android:layout_marginBottom="32dp" 29 android:background="@color/colorPrimary" 30 app:layout_constraintBottom_toTopOf="@+id/linearLayout4" 31 app:layout_constraintEnd_toEndOf="parent" 32 app:layout_constraintStart_toStartOf="parent"> 33 34 <lecho.lib.hellocharts.view.LineChartView 35 android:id="@+id/LineChartView" 36 android:layout_width="match_parent" 37 android:layout_height="0dp" 38 android:layout_marginLeft="8dp" 39 android:layout_marginRight="16dp" 40 android:background="@color/colorPrimary" 41 android:paddingBottom="8dp" 42 app:layout_constraintBottom_toBottomOf="parent" 43 app:layout_constraintDimensionRatio="9:11" 44 app:layout_constraintEnd_toEndOf="parent" 45 app:layout_constraintStart_toStartOf="parent" 46 app:layout_constraintTop_toTopOf="parent"> 47 48 </lecho.lib.hellocharts.view.LineChartView> 49 50 51 <com.github.mikephil.charting.charts.BarChart 52 android:id="@+id/ColumnChartView" 53 android:layout_width="match_parent" 54 android:layout_height="0dp" 55 android:background="@color/colorPrimary" 56 android:paddingBottom="8dp" 57 app:layout_constraintBottom_toBottomOf="@+id/LineChartView" 58 app:layout_constraintDimensionRatio="9:11" 59 app:layout_constraintEnd_toEndOf="parent" 60 app:layout_constraintStart_toStartOf="parent" 61 app:layout_constraintTop_toTopOf="parent" /> 62 63 <TextView 64 android:id="@+id/textView115" 65 style="@style/topic" 66 android:layout_width="wrap_content" 67 android:layout_height="wrap_content" 68 android:layout_marginTop="16dp" 69 android:text="MAX STREAK" 70 app:layout_constraintTop_toTopOf="@id/textView116" 71 app:layout_constraintEnd_toStartOf="@id/textView116" 72 app:layout_constraintStart_toStartOf="parent" /> 73 74 <TextView 75 android:id="@+id/textView116" 76 style="@style/topic" 77 android:layout_width="wrap_content" 78 android:layout_height="wrap_content" 79 android:layout_marginTop="16dp" 80 android:paddingTop="16dp" 81 android:text="ENDED ON" 82 app:layout_constraintEnd_toEndOf="parent" 83 app:layout_constraintStart_toStartOf="parent" /> 84 85 <TextView 86 android:id="@+id/textView117" 87 android:layout_width="wrap_content" 88 android:layout_height="wrap_content" 89 android:text="..." 90 style="@style/Mheading" 91 android:layout_marginTop="8dp" 92 android:textColor="@color/white" 93 app:layout_constraintEnd_toEndOf="@id/textView115" 94 app:layout_constraintStart_toStartOf="@+id/textView115" 95 app:layout_constraintTop_toBottomOf="@+id/textView115" /> 96 97 <TextView 98 android:id="@+id/textView118" 99 android:layout_width="wrap_content" 100 android:layout_height="wrap_content" 101 android:text="..." 102 style="@style/Mheading" 103 android:layout_marginTop="8dp" 104 android:textColor="@color/white" 105 app:layout_constraintEnd_toEndOf="@id/textView116" 106 app:layout_constraintStart_toStartOf="@+id/textView116" 107 app:layout_constraintTop_toBottomOf="@+id/textView116" /> 108 109 <TextView 110 android:id="@+id/textView119" 111 android:layout_width="wrap_content" 112 style="@style/topic" 113 android:layout_height="wrap_content" 114 android:text="CURRENT STREAK" 115 android:layout_marginTop="16dp" 116 app:layout_constraintEnd_toEndOf="parent" 117 app:layout_constraintStart_toEndOf="@id/textView116" 118 app:layout_constraintTop_toTopOf="@id/textView116" /> 119 120 <TextView 121 android:id="@+id/textView120" 122 android:layout_width="wrap_content" 123 style="@style/Mheading" 124 android:layout_height="wrap_content" 125 android:text="..." 126 android:layout_marginTop="8dp" 127 android:textColor="@color/white" 128 app:layout_constraintEnd_toEndOf="@id/textView119" 129 app:layout_constraintStart_toStartOf="@id/textView119" 130 app:layout_constraintTop_toBottomOf="@+id/textView119" /> 131 132 133 </androidx.constraintlayout.widget.ConstraintLayout> 134 135 <LinearLayout 136 android:id="@+id/linearLayout4" 137 android:layout_width="wrap_content" 138 android:layout_height="wrap_content" 139 android:layout_marginBottom="16dp" 140 android:onClick="meg" 141 android:orientation="horizontal" 142 app:layout_constraintBottom_toBottomOf="parent" 143 app:layout_constraintEnd_toEndOf="parent" 144 app:layout_constraintStart_toStartOf="parent"> 145 146 <TextView 147 android:id="@+id/textView27" 148 android:layout_width="wrap_content" 149 android:layout_height="wrap_content" 150 android:layout_weight="1" 151 android:background="@color/cyan" 152 android:padding="4dp" 153 android:text="MO" 154 android:textSize="32sp" /> 155 156 <TextView 157 android:id="@+id/textView28" 158 android:layout_width="wrap_content" 159 android:layout_height="wrap_content" 160 android:layout_weight="1" 161 android:background="@color/pinkie" 162 android:padding="4dp" 163 android:text="RE" 164 android:textSize="32sp" /> 165 </LinearLayout> 166 167 <LinearLayout 168 android:id="@+id/linearLayout" 169 android:layout_width="wrap_content" 170 android:layout_height="wrap_content" 171 android:layout_marginTop="32dp" 172 android:orientation="horizontal" 173 app:layout_constraintEnd_toEndOf="parent" 174 app:layout_constraintStart_toStartOf="parent" 175 app:layout_constraintTop_toTopOf="parent"> 176 177 <TextView 178 android:id="@+id/textView23" 179 android:layout_width="wrap_content" 180 android:layout_height="wrap_content" 181 android:textColor="@color/cyan" 182 android:textSize="48sp" /> 183 184 <TextView 185 android:id="@+id/plus" 186 style="@style/Lheading" 187 android:layout_width="wrap_content" 188 android:layout_height="wrap_content" 189 android:fontFamily="@font/chinkala" 190 android:text="@string/plus" 191 android:textColor="@color/white" /> 192 193 <TextView 194 android:id="@+id/textView83" 195 android:layout_width="wrap_content" 196 android:layout_height="wrap_content" 197 android:textColor="@color/pinkie" 198 android:textSize="48sp" /> 199 </LinearLayout> 200 201 202 <ImageView 203 android:layout_width="40dp" 204 android:layout_height="40dp" 205 android:layout_marginStart="32dp" 206 android:onClick="share" 207 android:src="@drawable/share" 208 app:layout_constraintBottom_toBottomOf="@+id/imageView2" 209 app:layout_constraintStart_toStartOf="parent" 210 app:layout_constraintTop_toTopOf="@+id/linearLayout4" /> 211 212 213 214 </androidx.constraintlayout.widget.ConstraintLayout>