Skip to content

Commit

Permalink
make sure results table wraps children
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaudiaHosu committed May 8, 2020
1 parent f3a440f commit 6751086
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 14 deletions.
20 changes: 14 additions & 6 deletions app/src/main/res/layout/vitals_blood_glucose_card_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,21 @@

<include layout="@layout/divider" />

<android.support.v7.widget.RecyclerView
android:id="@+id/bloodGlucoseRecyclerView"
<RelativeLayout
android:minWidth="@dimen/label_min_width"
android:padding="@dimen/margin_small"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:visibility="visible"
android:padding="@dimen/margin_xx_small" />
android:layout_height="wrap_content">

<android.support.v7.widget.RecyclerView
android:id="@+id/bloodGlucoseRecyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:visibility="visible"
android:padding="@dimen/margin_xx_small" />

</RelativeLayout>

<TextView
android:id="@+id/noContentView"
Expand Down
10 changes: 9 additions & 1 deletion app/src/main/res/layout/vitals_blood_pressure_card_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,22 @@

<include layout="@layout/divider" />

<android.support.v7.widget.RecyclerView
<RelativeLayout
android:minWidth="@dimen/label_min_width"
android:padding="@dimen/margin_small"
android:layout_width="match_parent"
android:layout_height="wrap_content">

<android.support.v7.widget.RecyclerView
android:id="@+id/bloodPressureRecyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:padding="@dimen/margin_xx_small"
android:visibility="visible" />

</RelativeLayout>

<TextView
android:id="@+id/noContentView"
android:layout_width="wrap_content"
Expand Down
20 changes: 14 additions & 6 deletions app/src/main/res/layout/vitals_height_card_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,21 @@

<include layout="@layout/divider" />

<android.support.v7.widget.RecyclerView
android:id="@+id/heightRecyclerView"
<RelativeLayout
android:minWidth="@dimen/label_min_width"
android:padding="@dimen/margin_small"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:visibility="visible"
android:padding="@dimen/margin_xx_small" />
android:layout_height="wrap_content">

<android.support.v7.widget.RecyclerView
android:id="@+id/heightRecyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:visibility="visible"
android:padding="@dimen/margin_xx_small" />

</RelativeLayout>

<TextView
android:id="@+id/noContentView"
Expand Down
9 changes: 9 additions & 0 deletions app/src/main/res/layout/vitals_oxygen_card_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@android:color/white"
android:orientation="vertical">

<RelativeLayout
android:minWidth="@dimen/label_min_width"
android:padding="@dimen/margin_small"
Expand Down Expand Up @@ -40,6 +41,12 @@

<include layout="@layout/divider" />

<RelativeLayout
android:minWidth="@dimen/label_min_width"
android:padding="@dimen/margin_small"
android:layout_width="match_parent"
android:layout_height="wrap_content">

<android.support.v7.widget.RecyclerView
android:id="@+id/oxygenRecyclerView"
android:layout_width="match_parent"
Expand All @@ -48,6 +55,8 @@
android:visibility="visible"
android:padding="@dimen/margin_xx_small" />

</RelativeLayout>

<TextView
android:id="@+id/noContentView"
android:layout_gravity="center"
Expand Down
10 changes: 9 additions & 1 deletion app/src/main/res/layout/vitals_weight_card_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,22 @@

<include layout="@layout/divider" />

<android.support.v7.widget.RecyclerView
<RelativeLayout
android:minWidth="@dimen/label_min_width"
android:padding="@dimen/margin_small"
android:layout_width="match_parent"
android:layout_height="wrap_content">

<android.support.v7.widget.RecyclerView
android:id="@+id/weightRecyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:visibility="visible"
android:padding="@dimen/margin_xx_small" />

</RelativeLayout>

<TextView
android:id="@+id/noContentView"
android:layout_gravity="center"
Expand Down

0 comments on commit 6751086

Please sign in to comment.