5
मैं बटन ऑब्जेक्ट में "ड्रॉइंग बाएं" आइकन कैसे जोड़ सकता हूं?एंड्रॉइड बटन drawableLeft - इसे कैसे हार्डकोड करें (कोई xml)
Button button = new Button();
button.setDrawableLeft(R.drawable...);
मैं बटन ऑब्जेक्ट में "ड्रॉइंग बाएं" आइकन कैसे जोड़ सकता हूं?एंड्रॉइड बटन drawableLeft - इसे कैसे हार्डकोड करें (कोई xml)
Button button = new Button();
button.setDrawableLeft(R.drawable...);
उपयोग Button.setCompoundDrawablesWithIntrinsicBounds(..)
जो android:drawableLeft विशेषता से संबंधित है:
मैं कुछ इस तरह मतलब है।
धन्यवाद पीटर :-) – Kangee