parent
d8850ae1ab
commit
281e180c33
|
@ -514,6 +514,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
||||||
super.setInputView(view);
|
super.setInputView(view);
|
||||||
mCandidateViewContainer = view.findViewById(R.id.candidates_container);
|
mCandidateViewContainer = view.findViewById(R.id.candidates_container);
|
||||||
mCandidateView = (CandidateView) view.findViewById(R.id.candidates);
|
mCandidateView = (CandidateView) view.findViewById(R.id.candidates);
|
||||||
|
if (mCandidateView != null)
|
||||||
mCandidateView.setListener(this, view);
|
mCandidateView.setListener(this, view);
|
||||||
mCandidateStripHeight = (int)mResources.getDimension(R.dimen.candidate_strip_height);
|
mCandidateStripHeight = (int)mResources.getDimension(R.dimen.candidate_strip_height);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue