HI in my app i use this class to change my text to emoticon .
public class MainActivity extends Activity {
private static final Factory spannableFactory = Spannable.Factory
.getInstance();
private static final Map
Q1 : i clicked on this Button and show emoticon in edittext . now i have 400 emoticon,i should create 400 Button? or this is not best way ?
Q2 : in app when i clicked on EditText,SelectionStart() is 1 or 0 and begin typing from first line . how to change selectionstart to everywhere user touched in edittext like line 3 of edittext ?
最佳答案
原文链接:https://www.f2er.com/android/431128.html