open-keychain/OpenKeychain/src/main/res/layout/qr_code_activity.xml

37 lines
1.4 KiB
XML
Raw Normal View History

2014-07-27 21:40:43 +02:00
<?xml version="1.0" encoding="utf-8"?>
2015-01-13 23:15:13 +01:00
<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"
2014-07-27 21:40:43 +02:00
android:layout_width="match_parent"
2015-01-13 23:15:13 +01:00
android:layout_height="match_parent">
2014-07-27 21:40:43 +02:00
2015-01-13 23:15:13 +01:00
<include
android:id="@+id/toolbar_include"
layout="@layout/toolbar_standalone" />
2015-01-13 23:15:13 +01:00
<LinearLayout
android:layout_below="@id/toolbar_include"
2014-07-27 21:40:43 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2015-01-13 23:15:13 +01:00
android:orientation="vertical">
<android.support.v7.widget.CardView
android:id="@+id/qr_code_image_layout"
android:transitionName="qr_code"
android:layout_margin="32dp"
2015-01-13 23:15:13 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
card_view:cardBackgroundColor="@android:color/white"
card_view:cardUseCompatPadding="true"
card_view: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" />
</android.support.v7.widget.CardView>
2014-07-27 21:40:43 +02:00
2015-01-13 23:15:13 +01:00
</LinearLayout>
</RelativeLayout>