mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-21 20:19:23 +01:00
Fix buttons not appears (#45)
This commit is contained in:
parent
cda6685c58
commit
b39a857199
2 changed files with 4 additions and 8 deletions
|
@ -43,12 +43,10 @@
|
||||||
android:layout_margin="@dimen/fab_margin"
|
android:layout_margin="@dimen/fab_margin"
|
||||||
android:accessibilityHeading="true"
|
android:accessibilityHeading="true"
|
||||||
android:backgroundTint="@android:color/transparent"
|
android:backgroundTint="@android:color/transparent"
|
||||||
android:clickable="false"
|
|
||||||
android:contentDescription="@string/button_cancel"
|
android:contentDescription="@string/button_cancel"
|
||||||
android:cropToPadding="false"
|
android:cropToPadding="false"
|
||||||
android:foregroundTint="@android:color/darker_gray"
|
app:background="@android:color/darker_gray"
|
||||||
android:onClick="onCancel"
|
android:src="@drawable/ic_cancel_black_24dp" />
|
||||||
app:srcCompat="@drawable/ic_cancel_black_24dp" />
|
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/keyboard_button"
|
android:id="@+id/keyboard_button"
|
||||||
|
@ -58,8 +56,7 @@
|
||||||
android:layout_margin="@dimen/fab_margin"
|
android:layout_margin="@dimen/fab_margin"
|
||||||
android:backgroundTint="@android:color/transparent"
|
android:backgroundTint="@android:color/transparent"
|
||||||
android:contentDescription="@string/button_keyboard"
|
android:contentDescription="@string/button_keyboard"
|
||||||
android:onClick="onKeyboard"
|
android:src="@drawable/ic_keyboard_black_24dp"
|
||||||
app:srcCompat="@drawable/ic_keyboard_black_24dp"
|
|
||||||
tools:ignore="PrivateResource" />
|
tools:ignore="PrivateResource" />
|
||||||
|
|
||||||
</merge>
|
</merge>
|
|
@ -23,8 +23,7 @@
|
||||||
android:layout_marginBottom="@dimen/fab_margin"
|
android:layout_marginBottom="@dimen/fab_margin"
|
||||||
android:backgroundTint="@android:color/transparent"
|
android:backgroundTint="@android:color/transparent"
|
||||||
android:contentDescription="@string/flashlightButton"
|
android:contentDescription="@string/flashlightButton"
|
||||||
android:onClick="switchFlashlight"
|
android:src="@drawable/ic_baseline_highlight_24" />
|
||||||
app:srcCompat="@drawable/ic_baseline_highlight_24" />
|
|
||||||
</com.journeyapps.barcodescanner.DecoratedBarcodeView>
|
</com.journeyapps.barcodescanner.DecoratedBarcodeView>
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
Loading…
Reference in a new issue