diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-03-25 01:23:52 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-03-25 01:23:52 +0000 |
| commit | df05aa6e719c1789bafdfd6ca53108e69d87d8b4 (patch) | |
| tree | 04c3070637bc613b5b637ca5a996f5a9764d0e94 /android-app/app/src/main/res/values | |
| parent | 65c04f94ecd862ec2ba195e0128da84f79647ef1 (diff) | |
fix: add layout_width/height to instrument text styles
InstrumentLabel and InstrumentPrimaryValue were missing layout dimension
attributes, causing InflateException crash on startup.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'android-app/app/src/main/res/values')
| -rwxr-xr-x | android-app/app/src/main/res/values/themes.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/android-app/app/src/main/res/values/themes.xml b/android-app/app/src/main/res/values/themes.xml index 2281d96..b18f4a8 100755 --- a/android-app/app/src/main/res/values/themes.xml +++ b/android-app/app/src/main/res/values/themes.xml @@ -40,6 +40,8 @@ <!-- Instrument Display Styles --> <style name="InstrumentLabel" parent="android:Widget.TextView"> + <item name="android:layout_width">wrap_content</item> + <item name="android:layout_height">wrap_content</item> <item name="android:textColor">@color/instrument_text_secondary</item> <item name="android:textSize">@dimen/text_size_instrument_label</item> <item name="android:textAllCaps">true</item> @@ -48,6 +50,8 @@ </style> <style name="InstrumentPrimaryValue" parent="android:Widget.TextView"> + <item name="android:layout_width">wrap_content</item> + <item name="android:layout_height">wrap_content</item> <item name="android:textColor">@color/instrument_text_normal</item> <item name="android:textSize">@dimen/text_size_instrument_primary</item> <item name="android:textStyle">bold</item> |
