I am building an android application. Where I need to implement tab list like Flipkart Filter menu style. Below is image like I want to implement in my application to.
Asked
Active
Viewed 5,410 times
3
-
Try this: http://stackoverflow.com/a/2710404/3110234 – activesince93 Nov 30 '15 at 10:06
-
@activesince93 that is complete different question. – sofquestion 9 Nov 30 '15 at 10:14
-
am also trying that have you got any solution please post me – Harsha Apr 23 '18 at 10:18
-
Did you get any more library or solution? – Me a developer Dec 16 '19 at 06:15
1 Answers
2
You can use two list view horizontally in a LinerLayout like this and make the list view customize according to your need.
Hope it will useful..
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_marginTop="5dp"
android:orientation="horizontal"
android:weightSum="3">
<!-- this list contains products -->
<ListView
android:id="@+id/list1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="5dip"
android:layout_weight="2"
android:fadingEdge="vertical"
android:scrollbars="none"
android:smoothScrollbar="true"
android:soundEffectsEnabled="true" />
<ListView
android:id="@+id/list2"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_margin="5dip"
android:layout_weight="1"
android:dividerHeight="1px"
android:drawSelectorOnTop="false"
android:fadingEdge="vertical"
android:padding="0dip"
android:scrollbars="none"
android:smoothScrollbar="true"/>
</LinearLayout>