// 1.Create button
// 2 .Assign background
ImageView button = (ImageView) bottomView.findViewById(R.id.button);
button.setId(i);
button.setBackgroundResource(getResources().getIdentifier(
"image1", "drawable", getPackageName()));
Blog completely focused on android question-answer.
Comments
Post a Comment