use new multi certify, layout fixes

This commit is contained in:
Dominik Schürmann 2014-10-04 23:32:25 +02:00
parent 0a264bad28
commit 4fcd58b9f8
3 changed files with 146 additions and 142 deletions

View File

@ -384,9 +384,9 @@ public class AddKeysActivity extends ActionBarActivity implements
}
finish();
Intent certifyIntent = new Intent(); // TODO: certify
Intent certifyIntent = new Intent(AddKeysActivity.this, MultiCertifyKeyActivity.class);
certifyIntent.putExtra(ImportKeyResult.EXTRA_RESULT, result);
certifyIntent.putExtra("key ids", result.getImportedMasterKeyIds()); // TODO: extra
certifyIntent.putExtra(MultiCertifyKeyActivity.EXTRA_KEY_IDS, result.getImportedMasterKeyIds());
startActivity(certifyIntent);
result.createNotify(AddKeysActivity.this).show();

View File

@ -1,9 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/content_frame"
android:layout_marginLeft="@dimen/drawer_content_padding"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<include layout="@layout/notify_area" />
@ -160,5 +164,5 @@
android:layout_marginBottom="8dp" />
</LinearLayout>
</LinearLayout>
</ScrollView>

View File

@ -135,7 +135,7 @@
android:layout_weight="1"
android:text="@string/btn_next"
android:minHeight="?android:attr/listPreferredItemHeight"
android:drawableRight="@drawable/ic_action_new_account"
android:drawableRight="@drawable/ic_action_play"
android:drawablePadding="8dp"
android:gravity="center_vertical"
android:clickable="true"