diff options
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain')
2 files changed, 0 insertions, 42 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CertifyFingerprintActivity.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CertifyFingerprintActivity.java index fcfcc9cb2..b7c80c1ed 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CertifyFingerprintActivity.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CertifyFingerprintActivity.java @@ -19,10 +19,7 @@ package org.sufficientlysecure.keychain.ui; import android.net.Uri; import android.os.Bundle; -import android.support.v7.widget.Toolbar; import android.view.View; -import android.widget.ImageView; -import android.widget.RelativeLayout; import org.sufficientlysecure.keychain.Constants; import org.sufficientlysecure.keychain.R; @@ -58,7 +55,6 @@ public class CertifyFingerprintActivity extends BaseActivity { @Override protected void initLayout() { setContentView(R.layout.certify_fingerprint_activity); - changeToolbarColor(); } private void startFragment(Bundle savedInstanceState, Uri dataUri) { @@ -81,21 +77,4 @@ public class CertifyFingerprintActivity extends BaseActivity { getSupportFragmentManager().executePendingTransactions(); } - /** - * Changes the color of our ToolBar. - * - * Currently Set to ORANGE - */ - private void changeToolbarColor() { - RelativeLayout mToolBarInclude = (RelativeLayout) findViewById(R.id.toolbar_include); - - // Changes the color of the Status Bar strip - ImageView mStatusBar = (ImageView) mToolBarInclude.findViewById(R.id.status_bar); - mStatusBar.setBackgroundResource(getResources().getColor(R.color.android_orange_dark)); - - // Changes the color of our Tool Bar - Toolbar toolbar = (Toolbar) mToolBarInclude.findViewById(R.id.toolbar); - toolbar.setBackgroundResource(getResources().getColor(R.color.android_orange_light)); - } - } diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CertifyKeyActivity.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CertifyKeyActivity.java index a2e717ed2..1fb88b182 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CertifyKeyActivity.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CertifyKeyActivity.java @@ -18,10 +18,6 @@ package org.sufficientlysecure.keychain.ui; -import android.support.v7.widget.Toolbar; -import android.widget.ImageView; -import android.widget.RelativeLayout; - import org.sufficientlysecure.keychain.R; /** @@ -36,23 +32,6 @@ public class CertifyKeyActivity extends BaseActivity { @Override protected void initLayout() { setContentView(R.layout.certify_key_activity); - changeToolbarColor(); } - /** - * Changes the color of our ToolBar. - * - * Currently Set to ORANGE - */ - private void changeToolbarColor() { - RelativeLayout mToolBarInclude = (RelativeLayout) findViewById(R.id.toolbar_include); - - // Changes the color of the Status Bar strip - ImageView mStatusBar = (ImageView) mToolBarInclude.findViewById(R.id.status_bar); - mStatusBar.setBackgroundResource(getResources().getColor(R.color.android_orange_dark)); - - // Changes the color of our Tool Bar - Toolbar toolbar = (Toolbar) mToolBarInclude.findViewById(R.id.toolbar); - toolbar.setBackgroundResource(getResources().getColor(R.color.android_orange_light)); - } } |