Skip to main content

AutoCompleteTextInput

این المان مشابه با المان textInput است با این تفاوت که شما می توانید لیستی از پیشنهادات یا suggestion وارد کنید و در هنگام نوشتن حروفی از آن کلمه ، آن کلمه به کاربر پیشنهاد شود

 

در ادامه یک نمونه کد از AutoCompleteTextInput را مشاهده می کنید:

<page title="dateInput" background="#FFFFFF" toolbarColor="#E64724" width="match_parent" height="match_parent"> 
  
<autocompletetextinput  hint="لطفا نام دانشگاه خود را وارد کنید" width="match_parent" 
                        height="wrap_content" margin_top="35" suggestions="شهید بهشتی">
</autocompletetextinput>
  
</page>