Added slashed font to differentiate between zero and alphabet O in secret textbox #665
This commit is contained in:
parent
dfc788cd29
commit
78611a72a8
3 changed files with 16 additions and 3 deletions
BIN
app/src/main/res/font/droid_sans_mono_slashed.ttf
Normal file
BIN
app/src/main/res/font/droid_sans_mono_slashed.ttf
Normal file
Binary file not shown.
|
@ -94,7 +94,7 @@
|
|||
android:background="?attr/editTextBackground"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textIsSelectable="true"
|
||||
android:fontFamily="monospace"
|
||||
android:fontFamily="@font/droid_sans_mono_slashed"
|
||||
android:maxLines="3"
|
||||
android:visibility="gone" />
|
||||
|
||||
|
@ -103,7 +103,7 @@
|
|||
android:layout_weight="7"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="monospace"
|
||||
android:fontFamily="@font/droid_sans_mono_slashed"
|
||||
android:inputType="textMultiLine"
|
||||
android:maxLines="3"
|
||||
android:hint="@string/hint_secret" />
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
<string name="library_materialintro_licenseId">mit</string>
|
||||
|
||||
<!-- OpenPGP API -->
|
||||
<string name="define_OpenPGPAPI"></string>
|
||||
<string name="define_OpenPGPAPI"></string>
|
||||
<string name="library_OpenPGPAPI_author">Dominik Schürmann</string>
|
||||
<string name="library_OpenPGPAPI_authorWebsite">https://www.schuermann.eu/</string>
|
||||
|
||||
|
@ -74,4 +74,17 @@
|
|||
<string name="library_OpenPGPAPI_repositoryLink">https://github.com/open-keychain/openpgp-api</string>
|
||||
|
||||
<string name="library_OpenPGPAPI_licenseId">apache_2_0</string>
|
||||
|
||||
<!-- Droid Sans Mono Slashed Font -->
|
||||
<string name="define_MonoSlashedFont"></string>
|
||||
<string name="library_MonoSlashedFont_author"> Alberto Dorado</string>
|
||||
|
||||
<string name="library_MonoSlashedFont_libraryName">Droid Sans Mono Zeromod</string>
|
||||
<string name="library_MonoSlashedFont_libraryDescription">Replaces Droid Sans Mono font\'s zero character with slashed zero.</string>
|
||||
<string name="library_MonoSlashedFont_libraryWebsite">https://github.com/AlbertoDorado/droid-sans-mono-zeromod</string>
|
||||
|
||||
<string name="library_MonoSlashedFont_isOpenSource">true</string>
|
||||
<string name="library_MonoSlashedFont_repositoryLink">https://github.com/AlbertoDorado/droid-sans-mono-zeromod</string>
|
||||
|
||||
<string name="library_MonoSlashedFont_licenseId">apache_2_0</string>
|
||||
</resources>
|
Loading…
Reference in a new issue