Add heart rate sensor UI for landscape (BUG: still not visible).

This commit is contained in:
Dennis Guse
2019-08-07 07:18:07 +02:00
parent 4edad610ee
commit 617ee719c8
+30 -2
View File
@@ -24,7 +24,7 @@ limitations under the License.
layout="@layout/stats_large_item" />
<include
android:id="@+id/stats_calorie"
android:id="@+id/stats_activity_type"
layout="@layout/stats_activity_type" />
<View
@@ -48,7 +48,7 @@ limitations under the License.
android:layout_height="wrap_content">
<TableLayout
android:layout_width="0dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1">
<!-- Speed and average speed -->
@@ -138,5 +138,33 @@ limitations under the License.
</TableLayout>
</LinearLayout>
</LinearLayout>
<!-- Sensor data: heart rate-->
<View
android:id="@+id/stats_sensor_separator"
style="@style/StatsHorizontalLine" />
<LinearLayout
android:id="@+id/stats_sensor_container"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<include
android:id="@+id/stats_sensor_heart_rate_value"
layout="@layout/stats_large_item" />
<LinearLayout style="@style/StatsSmallGroupContainer">
<TableLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center">
<include
android:id="@+id/stats_sensor_heart_rate_sensor"
layout="@layout/stats_tiny_item" />
</TableLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</merge>