From dc16601458db76ee9a3daa4438cd681d8f431953 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Sat, 15 Feb 2014 19:12:50 +0100 Subject: [PATCH] fix layout --- .../demo/OpenPgpProviderActivity.java | 11 +- .../src/main/res/layout/openpgp_provider.xml | 174 ++++++++++-------- 2 files changed, 103 insertions(+), 82 deletions(-) diff --git a/OpenPGP-Keychain-API/example-app/src/main/java/org/sufficientlysecure/keychain/demo/OpenPgpProviderActivity.java b/OpenPGP-Keychain-API/example-app/src/main/java/org/sufficientlysecure/keychain/demo/OpenPgpProviderActivity.java index 33a94de61..5e8ecfb22 100644 --- a/OpenPGP-Keychain-API/example-app/src/main/java/org/sufficientlysecure/keychain/demo/OpenPgpProviderActivity.java +++ b/OpenPGP-Keychain-API/example-app/src/main/java/org/sufficientlysecure/keychain/demo/OpenPgpProviderActivity.java @@ -17,25 +17,20 @@ package org.sufficientlysecure.keychain.demo; import android.app.Activity; -import android.app.AlertDialog; import android.app.PendingIntent; -import android.content.DialogInterface; import android.content.Intent; import android.content.IntentSender; import android.content.SharedPreferences; -import android.content.pm.ResolveInfo; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.preference.PreferenceManager; import android.text.TextUtils; import android.util.Log; +import android.view.MotionEvent; import android.view.View; -import android.view.ViewGroup; -import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.EditText; -import android.widget.ListAdapter; -import android.widget.TextView; +import android.widget.ScrollView; import android.widget.Toast; import org.openintents.openpgp.OpenPgpError; @@ -47,8 +42,6 @@ import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.InputStream; import java.io.UnsupportedEncodingException; -import java.util.ArrayList; -import java.util.List; public class OpenPgpProviderActivity extends Activity { EditText mMessage; diff --git a/OpenPGP-Keychain-API/example-app/src/main/res/layout/openpgp_provider.xml b/OpenPGP-Keychain-API/example-app/src/main/res/layout/openpgp_provider.xml index 6647a417b..80fd16780 100644 --- a/OpenPGP-Keychain-API/example-app/src/main/res/layout/openpgp_provider.xml +++ b/OpenPGP-Keychain-API/example-app/src/main/res/layout/openpgp_provider.xml @@ -1,79 +1,107 @@ - - - - - - - - - - - - - + android:layout_height="match_parent"> - -