diff options
author | Adithya Abraham Philip <adithyaphilip@gmail.com> | 2015-02-28 14:29:20 +0530 |
---|---|---|
committer | Adithya Abraham Philip <adithyaphilip@gmail.com> | 2015-02-28 14:29:20 +0530 |
commit | 94114e35c2af9e264bfa6b3d458f6ceae77ab4f9 (patch) | |
tree | 5ff39778fa22dde56057a2f15fcad7aa63b330fb /OpenKeychain/src/main/res/layout-land/qr_code_activity.xml | |
parent | 23cbd786eae8720769e775e4f8785da47115110f (diff) | |
parent | 2ae4d6ce05e6ca1585239b779b1dd6f39f58050a (diff) | |
download | open-keychain-94114e35c2af9e264bfa6b3d458f6ceae77ab4f9.tar.gz open-keychain-94114e35c2af9e264bfa6b3d458f6ceae77ab4f9.tar.bz2 open-keychain-94114e35c2af9e264bfa6b3d458f6ceae77ab4f9.zip |
Merge branch 'development' of https://github.com/open-keychain/open-keychain into development
Diffstat (limited to 'OpenKeychain/src/main/res/layout-land/qr_code_activity.xml')
-rw-r--r-- | OpenKeychain/src/main/res/layout-land/qr_code_activity.xml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/layout-land/qr_code_activity.xml b/OpenKeychain/src/main/res/layout-land/qr_code_activity.xml new file mode 100644 index 000000000..59a733e89 --- /dev/null +++ b/OpenKeychain/src/main/res/layout-land/qr_code_activity.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <include + android:id="@+id/toolbar_include" + layout="@layout/toolbar_standalone" /> + + <LinearLayout + android:layout_below="@id/toolbar_include" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + + <android.support.v7.widget.CardView + android:id="@+id/qr_code_image_layout" + android:transitionName="qr_code" + android:layout_gravity="center_horizontal" + android:layout_margin="32dp" + android:layout_width="wrap_content" + android:layout_height="match_parent" + 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" + android:layout_width="wrap_content" + android:layout_height="match_parent" + app:dominantMeasurement="height" + app:aspectRatioEnabled="true" /> + </android.support.v7.widget.CardView> + + </LinearLayout> +</RelativeLayout>
\ No newline at end of file |