SORU
4 Ocak 2011, Salı


Nasıl Bir EditText Metni Ayarla

Nasıl bir EditText metin ayarlayabilirim?

CEVAP
4 Ocak 2011, Salı


Eğer EditText, dokümanlar işaretlerseniz setText() bir yöntem bulabilirsiniz. String TextView.BufferType alır. Örneğin:

EditText editText = (EditText)findViewById(R.id.edit_text);
editText.setText("Google is your friend.", TextView.BufferType.EDITABLE);

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • ehowhome

    ehowhome

    22 NİSAN 2009
  • MugenPowerBatteries

    MugenPowerBa

    8 EKİM 2010
  • ShayLoss

    ShayLoss

    5 Kasım 2009