diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-03-25 02:41:52 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-03-25 02:41:52 +0000 |
| commit | 7a6e0c880e3c99bf1b7f525b341664289233a919 (patch) | |
| tree | 4ffaed94f103891d9e0ebeb0722ea276776a8521 /android-app/app/src/main/res/layout/activity_main.xml | |
| parent | df05aa6e719c1789bafdfd6ca53108e69d87d8b4 (diff) | |
fix: add missing layout_width/height to instruments sheet include tag
Caused a fatal InflateException crash on app launch. Android requires
layout_width and layout_height on <include> tags explicitly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'android-app/app/src/main/res/layout/activity_main.xml')
| -rw-r--r-- | android-app/app/src/main/res/layout/activity_main.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/android-app/app/src/main/res/layout/activity_main.xml b/android-app/app/src/main/res/layout/activity_main.xml index c841fc3..66d1abe 100644 --- a/android-app/app/src/main/res/layout/activity_main.xml +++ b/android-app/app/src/main/res/layout/activity_main.xml @@ -38,7 +38,10 @@ app:cardCornerRadius="24dp" app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"> - <include layout="@layout/layout_instruments_sheet" /> + <include + layout="@layout/layout_instruments_sheet" + android:layout_width="match_parent" + android:layout_height="wrap_content" /> </androidx.cardview.widget.CardView> |
