diff --git a/app/src/main/kotlin/cloud/keyspace/android/Settings.kt b/app/src/main/kotlin/cloud/keyspace/android/Settings.kt
index edc97fd..3f192a3 100644
--- a/app/src/main/kotlin/cloud/keyspace/android/Settings.kt
+++ b/app/src/main/kotlin/cloud/keyspace/android/Settings.kt
@@ -27,6 +27,9 @@ class Settings : AppCompatActivity() {
val configData = getSharedPreferences (applicationContext.packageName + "_configuration_data", MODE_PRIVATE)
+ val backButton: ImageView = findViewById(R.id.backButton)
+ backButton.setOnClickListener { onBackPressed() }
+
val keyspaceAccountPicture: ImageView = findViewById(R.id.keyspaceAccountPicture)
keyspaceAccountPicture.setImageDrawable(MiscUtilities(applicationContext).generateProfilePicture(configData.getString("userEmail", null)!!))
@@ -59,14 +62,14 @@ class Settings : AppCompatActivity() {
val strongBoxIcon: ImageView = findViewById(R.id.strongBoxTypeIcon)
if (applicationContext.packageManager.hasSystemFeature(PackageManager.FEATURE_STRONGBOX_KEYSTORE)) { // Check if strongbox / hardware keystore exists
- strongBoxText.text = "Keyspace is encrypting your keys and tokens using tamper-resistant Strongbox hardware on your phone."
+ strongBoxText.text = "Keys are encrypted using tamper-resistant Strongbox hardware."
strongBoxIcon.setImageDrawable(getDrawable(R.drawable.ic_baseline_chip_24))
} else {
if (applicationContext.packageManager.hasSystemFeature(PackageManager.FEATURE_HARDWARE_KEYSTORE)) {
- strongBoxText.text = "Your phone doesn't contain Strongbox hardware. Using Hardware Abstraction Layer (HAL) based Keystore."
+ strongBoxText.text = "Keys are encrypted using Hardware Abstraction Layer (HAL) Keystore."
strongBoxIcon.setImageDrawable(getDrawable(R.drawable.ic_baseline_code_24))
} else {
- strongBoxText.text = "Your phone doesn't contain strongbox hardware. Using container-based Keystore."
+ strongBoxText.text = "Keys are encrypted using container-based Keystore."
strongBoxIcon.setImageDrawable(getDrawable(R.drawable.ic_baseline_insert_drive_file_24))
}
}
diff --git a/app/src/main/res/layout/developer_options.xml b/app/src/main/res/layout/developer_options.xml
index 5a9e2b9..9efc3bf 100644
--- a/app/src/main/res/layout/developer_options.xml
+++ b/app/src/main/res/layout/developer_options.xml
@@ -20,7 +20,15 @@
android:layout_height="match_parent"
android:paddingBottom="50dp"
android:orientation="vertical"
- android:paddingTop="105dp">
+ android:paddingTop="15dp">
+
+
+ android:textSize="35sp" />
+
+
@@ -143,15 +162,13 @@
android:orientation="vertical">
+ android:layout_height="wrap_content"
+ android:paddingVertical="3.5dp"
+ android:textSize="20sp"
+ android:paddingHorizontal="5dp"
+ android:text="Test Argon2i" />
@@ -280,15 +298,13 @@
android:orientation="vertical">
+ android:layout_height="wrap_content"
+ android:paddingVertical="3.5dp"
+ android:textSize="20sp"
+ android:paddingHorizontal="5dp"
+ android:text="Test BIP39" />
diff --git a/app/src/main/res/layout/settings.xml b/app/src/main/res/layout/settings.xml
index 9ed4cd6..00f3faf 100644
--- a/app/src/main/res/layout/settings.xml
+++ b/app/src/main/res/layout/settings.xml
@@ -20,12 +20,21 @@
android:layout_height="match_parent"
android:paddingBottom="50dp"
android:orientation="vertical"
- android:paddingTop="55dp">
+ android:paddingTop="15dp" >
+
+
+ android:textSize="35sp" />