// Get the color background int from the typed value.
val colorBackgroundInt = colorBackgroundTypedValue.data
- // Set the default app bar layout background.
+ // Set the default app bar and status bar backgrounds.
appBarLayout.setBackgroundColor(colorBackgroundInt)
+ window.statusBarColor = colorBackgroundInt
}
ProxyHelper.TOR -> {
- // Set the app bar background to indicate proxying is enabled.
+ // Set the app bar and status bar backgrounds to indicate proxying is enabled.
appBarLayout.setBackgroundResource(R.color.blue_background)
+ window.statusBarColor = getColor(R.color.blue_background)
// Check to see if Orbot is installed.
try {
}
ProxyHelper.I2P -> {
- // Set the app bar background to indicate proxying is enabled.
+ // Set the app bar and status bar backgrounds to indicate proxying is enabled.
appBarLayout.setBackgroundResource(R.color.blue_background)
+ window.statusBarColor = getColor(R.color.blue_background)
// Check to see if I2P is installed.
try {
}
}
- ProxyHelper.CUSTOM ->
- // Set the app bar background to indicate proxying is enabled.
+ ProxyHelper.CUSTOM -> {
+ // Set the app bar and status bar backgrounds to indicate proxying is enabled.
appBarLayout.setBackgroundResource(R.color.blue_background)
+ window.statusBarColor = getColor(R.color.blue_background)
+ }
}
// Reload the WebViews if requested and not waiting for the proxy.
<string name="open_image_in_new_tab">Abrir imagen en nueva pestaña</string>
<string name="share_image">Compartir imagen</string>
<string name="copy_url">Copiar URL</string>
+ <string name="copy_text">Copiar Texto</string>
<string name="email_address">Correo electrónico</string>
<string name="copy_email_address">Copiar correo electrónico</string>
<string name="write_email">Escribir correo electrónico</string>
<string name="open_image_in_new_tab">Ouvrir l\'image dans un nouvel onglet</string>
<string name="share_image">Partager l\'image</string>
<string name="copy_url">Copier l\'URL</string>
+ <string name="copy_text">Copier le texte</string>
<string name="email_address">Addresse e-mail</string>
<string name="copy_email_address">Copier l\'adresse e-mail</string>
<string name="write_email">Ecrire un e-mail</string>
<string name="open_image_in_new_tab">Apri l\'immagine in una nuova scheda</string>
<string name="share_image">Condividi Immagine</string>
<string name="copy_url">Copia URL</string>
+ <string name="copy_text">Copia Testo</string>
<string name="email_address">Indirizzo Email</string>
<string name="copy_email_address">Copia Indirizzo Email</string>
<string name="write_email">Scrivi Email</string>
<string name="open_image_in_new_tab">Открыть изображение в новой вкладке</string>
<string name="share_image">Поделиться изображением</string>
<string name="copy_url">Копировать URL</string>
+ <string name="copy_text">Скопировать текст</string>
<string name="email_address">Адрес email</string>
<string name="copy_email_address">Копировать адрес email</string>
<string name="write_email">Написать email</string>