diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2016-02-23 10:57:33 +0100 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2016-02-23 10:57:33 +0100 |
commit | c1d268a5ecbb49a56561bd66c9b2967e282b9071 (patch) | |
tree | 64a403b504b77e5a97239f50f6410b15902f7ce5 /OpenKeychain/src/main/res/layout/qr_code_activity.xml | |
parent | 0784a0b4301b9bd15a80d135bdece19f44bc4258 (diff) | |
parent | 19967e235004abdf74e65e1388b9bc4816cfa2dd (diff) | |
download | open-keychain-c1d268a5ecbb49a56561bd66c9b2967e282b9071.tar.gz open-keychain-c1d268a5ecbb49a56561bd66c9b2967e282b9071.tar.bz2 open-keychain-c1d268a5ecbb49a56561bd66c9b2967e282b9071.zip |
Merge branch 'unyoungwax-qr-code-fullscreen'
Diffstat (limited to 'OpenKeychain/src/main/res/layout/qr_code_activity.xml')
-rw-r--r-- | OpenKeychain/src/main/res/layout/qr_code_activity.xml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenKeychain/src/main/res/layout/qr_code_activity.xml b/OpenKeychain/src/main/res/layout/qr_code_activity.xml index 5709bf0ff..47f5c06d8 100644 --- a/OpenKeychain/src/main/res/layout/qr_code_activity.xml +++ b/OpenKeychain/src/main/res/layout/qr_code_activity.xml @@ -27,12 +27,11 @@ app:cardUseCompatPadding="true" app:cardCornerRadius="4dp"> - <org.sufficientlysecure.keychain.ui.widget.AspectRatioImageView + <ImageView android:id="@+id/qr_code_image" android:layout_width="match_parent" - android:layout_height="wrap_content" - app:dominantMeasurement="width" - app:aspectRatioEnabled="true" /> + android:layout_height="match_parent" + android:scaleType="centerInside"/> </android.support.v7.widget.CardView> </LinearLayout> |