EditTextPreference - only numeric value inputType - isn't working

前端 未结 8 626
迷失自我
迷失自我 2021-01-18 10:16


        
8条回答
  •  渐次进展
    2021-01-18 10:23

    I agree that original support preferences has some issues, but for resolving this issue we just need add custom layout and specify EditText with android:inputType="number"

    So that you may copy original preference_dialog_layout.xml file and edit it.

    
    
    
      
    
        
    
        
    
      
    
    
    

提交回复
热议问题