layout fix if neither Chargeprice nor charger website buttons are shown

This commit is contained in:
johan12345
2023-05-16 23:31:58 +02:00
parent 4e67f434cd
commit 4159491589

View File

@@ -497,7 +497,8 @@
app:layout_constraintStart_toStartOf="@+id/guideline"
app:layout_constraintTop_toBottomOf="@+id/divider1"
app:layout_constrainedWidth="true"
android:fillViewport="true">
android:fillViewport="true"
app:goneUnless="@{charger.data != null && (ChargepriceApi.isChargerSupported(charger.data) || charger.data.chargerUrl != null)}">
<LinearLayout
android:layout_width="wrap_content"