Fix buttons not appears (#45)

This commit is contained in:
Jean-Baptiste 2024-04-17 14:36:42 +02:00 committed by jacques
parent 439dcbdce4
commit f66e34546f
2 changed files with 4 additions and 8 deletions

View file

@ -43,12 +43,10 @@
android:layout_margin="@dimen/fab_margin"
android:accessibilityHeading="true"
android:backgroundTint="@android:color/transparent"
android:clickable="false"
android:contentDescription="@string/button_cancel"
android:cropToPadding="false"
android:foregroundTint="@android:color/darker_gray"
android:onClick="onCancel"
app:srcCompat="@drawable/ic_cancel_black_24dp" />
app:background="@android:color/darker_gray"
android:src="@drawable/ic_cancel_black_24dp" />
<ImageButton
android:id="@+id/keyboard_button"
@ -58,8 +56,7 @@
android:layout_margin="@dimen/fab_margin"
android:backgroundTint="@android:color/transparent"
android:contentDescription="@string/button_keyboard"
android:onClick="onKeyboard"
app:srcCompat="@drawable/ic_keyboard_black_24dp"
android:src="@drawable/ic_keyboard_black_24dp"
tools:ignore="PrivateResource" />
</merge>

View file

@ -23,8 +23,7 @@
android:layout_marginBottom="@dimen/fab_margin"
android:backgroundTint="@android:color/transparent"
android:contentDescription="@string/flashlightButton"
android:onClick="switchFlashlight"
app:srcCompat="@drawable/ic_baseline_highlight_24" />
android:src="@drawable/ic_baseline_highlight_24" />
</com.journeyapps.barcodescanner.DecoratedBarcodeView>
</RelativeLayout>