diff options
Diffstat (limited to 'OpenKeychain/src/main/res/layout/qr_code_activity.xml')
-rw-r--r-- | OpenKeychain/src/main/res/layout/qr_code_activity.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenKeychain/src/main/res/layout/qr_code_activity.xml b/OpenKeychain/src/main/res/layout/qr_code_activity.xml index 126be4c3a..4ce097f40 100644 --- a/OpenKeychain/src/main/res/layout/qr_code_activity.xml +++ b/OpenKeychain/src/main/res/layout/qr_code_activity.xml @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:card_view="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent"> @@ -21,16 +20,17 @@ android:layout_margin="32dp" android:layout_width="match_parent" android:layout_height="wrap_content" - card_view:cardBackgroundColor="@android:color/white" - card_view:cardUseCompatPadding="true" - card_view:cardCornerRadius="4dp"> + android:clickable="true" + android:foreground="?android:attr/selectableItemBackground" + app:cardBackgroundColor="@android:color/white" + app:cardUseCompatPadding="true" + app:cardCornerRadius="4dp"> <org.sufficientlysecure.keychain.ui.widget.AspectRatioImageView android:id="@+id/qr_code_image" - app:aspectRatioEnabled="true" android:layout_width="match_parent" android:layout_height="wrap_content" - style="?android:attr/borderlessButtonStyle" /> + app:aspectRatioEnabled="true" /> </android.support.v7.widget.CardView> </LinearLayout> |