Browse Source

no dots

pull/49/head
Thodoris1999 6 years ago
parent
commit
9333b5d2b9
  1. 1
      app/src/main/java/gr/thmmy/mthmmy/editorview/EditorView.java

1
app/src/main/java/gr/thmmy/mthmmy/editorview/EditorView.java

@ -146,7 +146,6 @@ public class EditorView extends LinearLayout {
popupWindow.setContentView(colorPickerScrollview); popupWindow.setContentView(colorPickerScrollview);
for (int i = 0; i < colorPicker.getChildCount(); i++) { for (int i = 0; i < colorPicker.getChildCount(); i++) {
TextView child = (TextView) colorPicker.getChildAt(i); TextView child = (TextView) colorPicker.getChildAt(i);
child.setText("\u2B24 " + child.getText());
child.setOnClickListener(v -> { child.setOnClickListener(v -> {
boolean hadTextSelection = editText.hasSelection(); boolean hadTextSelection = editText.hasSelection();
getText().insert(editText.getSelectionStart(), "[color=" + colors.get(v.getId()) + "]"); getText().insert(editText.getSelectionStart(), "[color=" + colors.get(v.getId()) + "]");

Loading…
Cancel
Save