TableLayoutPanel displays vertical scroll

The problem concerns TableLayoutPanel scrolling. You have to use a Panel for scrolling instead of TableLayoutPanel. Here is an example to solve this problem (for vertical scrolling) : Set your TableLayoutPanel properties as follow : Dock = DockStyle.Top AutoSize = true AutoSizeMode = AutoSizeMode.GrowAndShrink AutoScroll = false. Put your TableLayoutPanel into a Panel with properties … Read more

Hiding the ActionBar on RecyclerView/ListView onScroll

Updated 6/3/2015: Google now supports this using the CoordinatorLayout. <android.support.design.widget.CoordinatorLayout xmlns:android=”http://schemas.android.com/apk/res/android” xmlns:app=”http://schemas.android.com/apk/res-auto” android:id=”@+id/main_content” android:layout_width=”match_parent” android:layout_height=”match_parent”> <android.support.design.widget.AppBarLayout android:id=”@+id/appbar” android:layout_width=”match_parent” android:layout_height=”wrap_content” android:theme=”@style/ThemeOverlay.AppCompat.Dark.ActionBar”> <android.support.v7.widget.Toolbar android:id=”@+id/toolbar” android:layout_width=”match_parent” android:layout_height=”?attr/actionBarSize” android:background=”?attr/colorPrimary” app:popupTheme=”@style/ThemeOverlay.AppCompat.Light” app:layout_scrollFlags=”scroll|enterAlways” /> <android.support.design.widget.TabLayout android:id=”@+id/tabs” android:layout_width=”match_parent” android:layout_height=”wrap_content” /> </android.support.design.widget.AppBarLayout> <android.support.v4.view.ViewPager android:id=”@+id/viewpager” android:layout_width=”match_parent” android:layout_height=”match_parent” app:layout_behavior=”@string/appbar_scrolling_view_behavior” /> <android.support.design.widget.FloatingActionButton android:id=”@+id/fab” android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:layout_gravity=”end|bottom” android:layout_margin=”@dimen/fab_margin” android:src=”https://stackoverflow.com/questions/13559275/@drawable/ic_done” /> </android.support.design.widget.CoordinatorLayout> Source: https://github.com/chrisbanes/cheesesquare/blob/master/app/src/main/res/layout/include_list_viewpager.xml Documented here: https://developer.android.com/reference/android/support/design/widget/AppBarLayout.html Original … Read more