Skip to content

Instantly share code, notes, and snippets.

@wujinyuan
wujinyuan / MainActivity.java
Created August 24, 2014 06:08
Let textview scroll
TextView tvContent = (TextView) findViewById(R.id.tvContent);
tvContent.setMovementMethod(ScrollingMovementMethod.getInstance());
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_example_gist_SignatureChecker */
#ifndef _Included_com_example_gist_SignatureChecker
#define _Included_com_example_gist_SignatureChecker
#ifdef __cplusplus
extern "C" {
#endif
/*
@SuppressWarnings("unchecked")
public <T extends View> T getView(int viewId) {
return (T) findViewById(viewId);
}