I want to create a custom action bar like this picture. actionbar
now how to use repeated image for bottom border of action bar?
I want to create a custom action bar like this picture. actionbar
now how to use repeated image for bottom border of action bar?
I don't think repeated image for the bottom border is a good idea. You need to find that image background and set background like that: Is there a way to set actionbar backgound by image in android?
If you still want repeated image for the bottom border, you can create a LinearLayout in the bottom custom action bar and add image view like this:
LinearLayout lnlContainer = (LinearLayout) findViewById(R.id.lnl_container);
for (int i = 0; i<10;i++){
ImageView imagView = new ImageView(YourAcitivty.this);
imagView.setImageResource(R.drawable.your_image_bg);
lnlPhotosContainer.addView(imagView);
}