Prettify qr code in advanced key view
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
@@ -67,15 +68,36 @@
|
||||
android:layout_height="1dip"
|
||||
android:background="?android:attr/listDivider" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/view_key_fingerprint_qr_code_image"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingBottom="8dp"
|
||||
|
||||
<android.support.v7.widget.CardView
|
||||
android:id="@+id/view_key_qr_code_layout"
|
||||
android:transitionName="qr_code"
|
||||
android:visibility="visible"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="200dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_weight="1"
|
||||
style="@style/SelectableItem" />
|
||||
android:clickable="true"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
card_view:cardBackgroundColor="@android:color/white"
|
||||
card_view:cardUseCompatPadding="true"
|
||||
card_view:cardCornerRadius="4dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/view_key_qr_code"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
</android.support.v7.widget.CardView>
|
||||
|
||||
<!--<ImageView-->
|
||||
<!--android:id="@+id/view_key_fingerprint_qr_code_image"-->
|
||||
<!--android:paddingTop="8dp"-->
|
||||
<!--android:paddingBottom="8dp"-->
|
||||
<!--android:layout_width="200dp"-->
|
||||
<!--android:layout_height="200dp"-->
|
||||
<!--android:layout_gravity="center_horizontal"-->
|
||||
<!--android:layout_weight="1"-->
|
||||
<!--style="@style/SelectableItem" />-->
|
||||
|
||||
<TextView
|
||||
style="@style/SectionHeader"
|
||||
|
||||
Reference in New Issue
Block a user