Sunday, October 13, 2013

SlidingMenu scroll doesn't work[android help]


SlidingMenu scroll doesn't work



I'm trying to make a scrollview inside a sliding menu(created with jfeinstein10 library)



public class TestActivity extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
SlidingMenu menu = new SlidingMenu(this);


setContentView(R.layout.menu_frame);

menu.setMode(SlidingMenu.LEFT);
menu.setTouchModeAbove(SlidingMenu.TOUCHMODE_FULLSCREEN);
menu.setTouchModeBehind(SlidingMenu.TOUCHMODE_FULLSCREEN);
menu.attachToActivity(this, SlidingMenu.SLIDING_WINDOW);
menu.setMenu(R.layout.menu_frame);
}
}


Here is menu_frame.xml




android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">

android:layout_width="match_parent"
android:layout_height="1000dp"
android:text="long button"/>




The problem is that long button scrolls ok in activity's layout, but when I open sliding menu, I can't scroll it there. What is the problem, please help.



Read more

stackoverflow.comm



Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...