diff options
author | Matthew Wong <wongma@protonmail.ch> | 2015-07-18 16:25:16 -0400 |
---|---|---|
committer | Matthew Wong <wongma@protonmail.ch> | 2015-07-18 16:25:16 -0400 |
commit | 33a4a183eb6afc7a4f50e64338a8ecaf5008bc57 (patch) | |
tree | 54bd3d0e2936760bcdb125fd491f55792153d29e | |
parent | dcf66672fe26c2b5103c4c1bc38ca0a1b84bc7e0 (diff) |
Remove fontfamily xml
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/SshKeyGen.java | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_pwgen.xml | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/SshKeyGen.java b/app/src/main/java/com/zeapo/pwdstore/SshKeyGen.java index c12b2298..52980e5f 100644 --- a/app/src/main/java/com/zeapo/pwdstore/SshKeyGen.java +++ b/app/src/main/java/com/zeapo/pwdstore/SshKeyGen.java @@ -48,6 +48,7 @@ public class SshKeyGen extends AppCompatActivity { public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { final View v = inflater.inflate(R.layout.fragment_ssh_keygen, container, false); + Typeface monoTypeface = Typeface.createFromAsset(getActivity().getAssets(), "fonts/sourcecodepro.ttf"); Spinner spinner = (Spinner) v.findViewById(R.id.length); Integer[] lengths = new Integer[]{2048, 4096}; @@ -55,7 +56,6 @@ public class SshKeyGen extends AppCompatActivity { android.R.layout.simple_spinner_dropdown_item, lengths); spinner.setAdapter(adapter); - Typeface monoTypeface = Typeface.createFromAsset(getActivity().getAssets(), "fonts/sourcecodepro.ttf"); ((EditText) v.findViewById(R.id.passphrase)).setTypeface(monoTypeface); CheckBox checkbox = (CheckBox) v.findViewById(R.id.show_passphrase); diff --git a/app/src/main/res/layout/fragment_pwgen.xml b/app/src/main/res/layout/fragment_pwgen.xml index da436d8d..072a78a9 100644 --- a/app/src/main/res/layout/fragment_pwgen.xml +++ b/app/src/main/res/layout/fragment_pwgen.xml @@ -21,8 +21,7 @@ android:layout_marginBottom="8dp" android:editable="false" android:textIsSelectable="true" - android:inputType="textVisiblePassword" - android:fontFamily="monospace"/> + android:inputType="textVisiblePassword"/> <LinearLayout android:layout_width="match_parent" |