Code example for View

Methods: setBackgroundDrawable

0
	@SuppressLint("NewApi") 
	public void setButtonDividerDrawable(Drawable dividerDrawable) {
 
		if (mSdkVersion < android.os.Build.VERSION_CODES.JELLY_BEAN) {
 
			mDividerView.setBackgroundDrawable(dividerDrawable);
 
		} else { 
 
			mDividerView.setBackground(dividerDrawable);
 
		} 
 
	} 
 
	/** 
	 * Sets the text of the Button in  
	 * a BUTTON Type SuperActivityToast.  
	 * <br> 
	 * @param buttonText 
Experience pair programming with AI  Get Codota for Java