2012-03-10 146 views
0

是否可以在EditTextPreference輸入上設置高度?設置EditTextPreference高度

這是我的代碼:

<EditTextPreference 
     android:defaultValue="gmail.com" 
     android:dependency="enable_email" 
     android:dialogMessage="Enter Destination Email" 
     android:inputType="textEmailAddress" 
     android:key="recepient_email" 
     android:summary="Report will be sent to this email" 
     android:title="Recepient Gmail Address (Parent)" /> 
</PreferenceCategory> 

回答

0

可能是這個環節是對你有幫助之下,所以我給了僅僅指剛檢查

http://android-er.blogspot.in/2010/08/edittextpreference.html

+0

謝謝你,但我想知道如何使它的高度是不同的。如您所知,用於輸入「Hello」的默認編輯文本的高度很短。我可以定製它嗎? – farissyariati 2012-03-10 04:35:48

+0

好親愛的,但現在我不知道我已經做了一些研發,然後嘗試,然後我會告訴你 – Google 2012-03-10 06:03:41