From 741abf0f836a43962a64c1f15eddd38ee173a29b Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 3 Apr 2012 20:51:50 +0200 Subject: [PATCH] qr code scanner --- client/electrum4a.py | 46 +++++++++++++++++++++++++++++--------------- 1 file changed, 30 insertions(+), 16 deletions(-) diff --git a/client/electrum4a.py b/client/electrum4a.py index 1da705bf8..2b93fe0ac 100755 --- a/client/electrum4a.py +++ b/client/electrum4a.py @@ -24,6 +24,9 @@ from wallet import Wallet from wallet import format_satoshis from decimal import Decimal + + + droid = android.Android() wallet = Wallet() wallet.set_path("/sdcard/electrum.dat") @@ -95,13 +98,15 @@ def show_addresses(): main_layout = """ + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="#ff000000"> @@ -111,9 +116,9 @@ main_layout = """ + android:gravity="left"> + android:tag="Tag Me" android:inputType="textCapWords|textPhonetic|number"> +