Panagiotis Triantafyllou

telematics addition

...@@ -65,10 +65,11 @@ ...@@ -65,10 +65,11 @@
65 android:screenOrientation="portrait" 65 android:screenOrientation="portrait"
66 android:theme="@style/SDKAppTheme" /> 66 android:theme="@style/SDKAppTheme" />
67 67
68 +<!-- android:screenOrientation="portrait"-->
68 <activity 69 <activity
69 android:name="ly.warp.sdk.activities.TelematicsActivity" 70 android:name="ly.warp.sdk.activities.TelematicsActivity"
70 android:exported="false" 71 android:exported="false"
71 - android:screenOrientation="portrait" 72 + android:configChanges="orientation|screenSize"
72 android:theme="@style/SDKAppTheme" /> 73 android:theme="@style/SDKAppTheme" />
73 74
74 <activity 75 <activity
......
...@@ -114,6 +114,59 @@ ...@@ -114,6 +114,59 @@
114 android:textSize="16sp" /> 114 android:textSize="16sp" />
115 115
116 <TextView 116 <TextView
117 + android:id="@+id/tv_orientation_label"
118 + fontPath="fonts/PeridotPE-Regular.ttf"
119 + android:layout_width="wrap_content"
120 + android:layout_height="wrap_content"
121 + android:layout_alignParentStart="true"
122 + android:layout_marginTop="24dp"
123 + android:layout_marginStart="24dp"
124 + android:text="Orientation Count"
125 + android:layout_below="@+id/tv_avg"
126 + android:textColor="@color/blue_dark"
127 + android:textSize="16sp" />
128 +
129 + <TextView
130 + android:id="@+id/tv_orientation"
131 + fontPath="fonts/PeridotPE-Bold.ttf"
132 + android:layout_width="wrap_content"
133 + android:layout_height="wrap_content"
134 + android:layout_below="@+id/tv_orientation_label"
135 + android:layout_alignStart="@+id/tv_orientation_label"
136 + android:layout_alignEnd="@+id/tv_orientation_label"
137 + android:layout_marginTop="24dp"
138 + android:gravity="center"
139 + android:textColor="@color/blue_dark"
140 + android:textSize="16sp" />
141 +
142 + <TextView
143 + android:id="@+id/tv_touch_label"
144 + fontPath="fonts/PeridotPE-Regular.ttf"
145 + android:layout_width="wrap_content"
146 + android:layout_height="wrap_content"
147 + android:layout_marginTop="24dp"
148 + android:layout_marginEnd="24dp"
149 + android:layout_alignParentEnd="true"
150 + android:text="Touch Count"
151 + android:layout_below="@+id/tv_avg"
152 + android:layout_alignEnd="@+id/tv_orientation_label"
153 + android:textColor="@color/blue_dark"
154 + android:textSize="16sp" />
155 +
156 + <TextView
157 + android:id="@+id/tv_touch"
158 + fontPath="fonts/PeridotPE-Bold.ttf"
159 + android:layout_width="wrap_content"
160 + android:layout_height="wrap_content"
161 + android:layout_below="@+id/tv_touch_label"
162 + android:layout_alignStart="@+id/tv_touch_label"
163 + android:layout_alignEnd="@+id/tv_touch_label"
164 + android:layout_marginTop="24dp"
165 + android:gravity="center"
166 + android:textColor="@color/blue_dark"
167 + android:textSize="16sp" />
168 +
169 + <TextView
117 android:id="@+id/tv_records_label" 170 android:id="@+id/tv_records_label"
118 fontPath="fonts/PeridotPE-Regular.ttf" 171 fontPath="fonts/PeridotPE-Regular.ttf"
119 android:layout_width="wrap_content" 172 android:layout_width="wrap_content"
...@@ -121,7 +174,7 @@ ...@@ -121,7 +174,7 @@
121 android:layout_centerHorizontal="true" 174 android:layout_centerHorizontal="true"
122 android:layout_marginTop="24dp" 175 android:layout_marginTop="24dp"
123 android:text="Records Saved" 176 android:text="Records Saved"
124 - android:layout_below="@+id/tv_avg" 177 + android:layout_below="@+id/tv_orientation"
125 android:textColor="@color/blue_dark" 178 android:textColor="@color/blue_dark"
126 android:textSize="16sp" /> 179 android:textSize="16sp" />
127 180
......