In the getView method of the adapter make a new layout and add all the required views for example retweet button, favorite button etc. as child of it along with the Main compactTweetView. Add return the new linearlayout as the view from getView method. Following code snippet shows it. Here iv1, and iv2 are child views. This can be retweet buttons or any other functionality that you want. Don’t forget to add the CompactTweetView in it.
LinearLayout lv2 = new LinearLayout(this.context, null);
lv2.setOrientation(LinearLayout.HORIZONTAL);
lv2.setBackgroundColor(-1);
lv2.addView((View) iv1, 0);
lv2.addView((View) iv2, 1);