Skip to content

Commit

Permalink
Fix annoying Android all-caps default button transformation. Fixes pa…
Browse files Browse the repository at this point in the history
…rt of #14
  • Loading branch information
icasdri committed Jan 5, 2017
1 parent 8d5be9d commit d5676cc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/src/main/java/org/icasdri/mather/UserKeysAdapter.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* Copyright 2016-2017 icasdri
*
* This file is part of Mather. The original source code for Mather can be
* found at <https://github.com/icasdri/Mather>. See COPYING for licensing
* details.
*/

package org.icasdri.mather;

import android.content.SharedPreferences;
Expand Down Expand Up @@ -127,6 +135,7 @@ public View getView(final int position, final View convertView, ViewGroup parent
this.frag.getContext(), R.layout.userkey_button, null);
}
button.setText(text);
button.setTransformationMethod(null);

generalButtonView = button;
}
Expand Down

0 comments on commit d5676cc

Please sign in to comment.