Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39023ae5 authored by teog@google.com's avatar teog@google.com
Browse files

Make ZeroStatePreference visible to healthfitness.

Modify parent linear layout to wrap_content instead of match_parent so that the ZeroStatePreference can be used on screens containing other elements as well.

With match_parent (before): https://hsv.googleplex.com/4909339830648832
With wrap_content (after): https://hsv.googleplex.com/5395694654324736

Bug: 378469037
Fix: 390166594
Test: visual
Flag: EXEMPT bug fix
Change-Id: I101cf224c508561c3cfc1f685f97e68fb511a6af
parent 8d9dcb38
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -29,5 +29,6 @@ android_library {
    min_sdk_version: "28",
    min_sdk_version: "28",
    apex_available: [
    apex_available: [
        "//apex_available:platform",
        "//apex_available:platform",
        "com.android.healthfitness",
    ],
    ],
}
}
+1 −1
Original line number Original line Diff line number Diff line
@@ -17,7 +17,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_height="wrap_content"
    android:layout_gravity="center"
    android:layout_gravity="center"
    android:gravity="center"
    android:gravity="center"
    android:orientation="vertical">
    android:orientation="vertical">