+ // Set the status if the the SSL information views.
+ if (urlString.startsWith("http://")) { // This is an HTTP URL.
+ // Hide the SSL information views.
+ sslInformationTitleTextView.visibility = View.GONE
+ sslInformationTextView.visibility = View.GONE
+ ciphersButton.visibility = View.GONE
+ certificateButton.visibility = View.GONE
+ } else { // This is not an HTTP URL.
+ // Show the SSL information views.
+ sslInformationTitleTextView.visibility = View.VISIBLE
+ sslInformationTextView.visibility = View.VISIBLE
+ ciphersButton.visibility = View.VISIBLE
+ certificateButton.visibility = View.VISIBLE
+ }
+
+ // Show the other views.