Closed onecoders closed 10 years ago
Remove or disable ActionBar Hide animation? https://github.com/JakeWharton/ActionBarSherlock/pull/100
public void setShowHideAnimationEnabled(boolean enabled) { mShowHideAnimationEnabled = false; if (!enabled && mCurrentShowAnim != null) { mCurrentShowAnim.end(); } }
// viewhelper ActionBar.LayoutParams params = new ActionBar.LayoutParams( ActionBar.LayoutParams.MATCH_PARENT, ActionBar.LayoutParams.WRAP_CONTENT, Gravity.CENTER);
<GridView android:id="@+id/gridview" android:layout_width="match_parent" android:layout_height="wrap_content" android:columnWidth="60dip" android:gravity="center" android:horizontalSpacing="15dip" android:listSelector="@drawable/list_selector" android:numColumns="3"-----here android:stretchMode="columnWidth" android:verticalSpacing="10dip" />
https://github.com/JakeWharton/ActionBarSherlock/commit/9a048b3d5c31003e774f5f528ddc0e929169e579