Skip to content

Commit

Permalink
Sensor expiry note on home screen wrap (#3499)
Browse files Browse the repository at this point in the history
* Sensor expiry note on home screen wrap

* Replaced 0dp with wrap_content and removed weight

---------

Co-authored-by: Navid <[email protected]>
  • Loading branch information
Navid200 and Navid200 authored Jun 11, 2024
1 parent 9d01830 commit 8309dae
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/src/main/res/layout/activity_home.xml
Original file line number Diff line number Diff line change
Expand Up @@ -540,21 +540,19 @@

<TextView
android:id="@+id/nanoStatusText"
android:layout_width="0dp"
android:layout_width="wrap_content"
android:layout_marginTop="2dp"
android:layout_marginStart="5dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@{nano.color_watch, default=`Nano Status`}"
app:showIfTrue="@{nano.color_watch.length() > 0}"/>

<TextView
android:id="@+id/ExpiryStatusText"
android:layout_width="0dp"
android:layout_width="wrap_content"
android:layout_marginTop="2dp"
android:layout_marginStart="5dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@{expiry.color_watch, default=`Expiry Status`}"
app:showIfTrue="@{(safeUnbox(vs.included[`sensor_expiry`])) &amp;&amp; (expiry.color_watch.length() > 0)}"/>

Expand Down

0 comments on commit 8309dae

Please sign in to comment.