Set EditText cursor color

后端 未结 24 1643
醉话见心
醉话见心 2020-11-22 10:57

I am having this issue where I am using the Android\'s Holo theme on a tablet project. However, I have a fragment on screen which has a white background. I am adding an

24条回答
  •  遥遥无期
    2020-11-22 11:30

    After a lot of time spent trying all these technique in a Dialog, I finally had this idea : attach the theme to the Dialog itself and not to the TextInputLayout.

    
    

    inside onCreate :

    public class myDialog extends Dialog {

    private Activity activity;
    private someVars;
    
    public PopupFeedBack(Activity activity){
        super(activity, R.style.AppTheme_Dialog);
        setContentView(R.layout.myView);
        ....}}
    

    cheers :)

提交回复
热议问题