Fix buttons not appears (#45)

This commit is contained in:
Jean-Baptiste 2024-04-17 14:36:42 +02:00 committed by GitHub
parent cda6685c58
commit b39a857199
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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>