private GestureDetector gestureDetector;
@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
gestureDetector = new GestureDetector(new SwipeGestureDetector());
}
I am new to java and android. Before this i encounter a deprecated by in terms of layout by changing fill parent to match parent. but this one I have no idea after all the searching in the internet. Tq
0 comments:
Post a Comment