Hi! The add/remove columns UI of TweetDeck android app is very
promising. But I have no idea how to make one like that.

If I make it with HorizontalScrollView, and the children with
layout_width set to "fill_parent"

<HorizontalScrollView>
       <LinearLayout android:id="@+id/column_group_view"
                android:layout_width="fill_parent"
android:layout_height="fill_parent"
                android:orientation="horizontal">
                <include layout="@layout/column_view1"
android:layout_width="fill_parent"
                        android:layout_height="fill_parent" />
                <include layout="@layout/column_view2"
android:layout_width="fill_parent"
                        android:layout_height="fill_parent" />
        </LinearLayout>
</HorizontalScrollView>

I can't scroll horizontally and only see one view.

If I set the layout_width with number like this: layout_width="320sp"
then the two columns sit next to each other and I can scroll
horizontally.

Do you have any idea how TweetDeck makes theirs?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to