forked from upstream-mirrors/OpenTracks
Add heart rate sensor UI for landscape (BUG: still not visible).
This commit is contained in:
@@ -24,7 +24,7 @@ limitations under the License.
|
|||||||
layout="@layout/stats_large_item" />
|
layout="@layout/stats_large_item" />
|
||||||
|
|
||||||
<include
|
<include
|
||||||
android:id="@+id/stats_calorie"
|
android:id="@+id/stats_activity_type"
|
||||||
layout="@layout/stats_activity_type" />
|
layout="@layout/stats_activity_type" />
|
||||||
|
|
||||||
<View
|
<View
|
||||||
@@ -48,7 +48,7 @@ limitations under the License.
|
|||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<TableLayout
|
<TableLayout
|
||||||
android:layout_width="0dp"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1">
|
android:layout_weight="1">
|
||||||
<!-- Speed and average speed -->
|
<!-- Speed and average speed -->
|
||||||
@@ -138,5 +138,33 @@ limitations under the License.
|
|||||||
</TableLayout>
|
</TableLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</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>
|
</LinearLayout>
|
||||||
</merge>
|
</merge>
|
||||||
Reference in New Issue
Block a user