Here are the examples of the java api com.loonggg.lib.DragerViewLayout taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
18
Source : MainActivity.java
with Apache License 2.0
from loonggg
with Apache License 2.0
from loonggg
public clreplaced MainActivity extends AppCompatActivity {
TextView btn;
private DragerViewLayout drager_layout;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
btn = (TextView) findViewById(R.id.btn);
RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, 150);
btn.setLayoutParams(params);
drager_layout = (DragerViewLayout) findViewById(R.id.drager_layout);
drager_layout.isDrager(true);
drager_layout.setFilePathAndName(Environment.getExternalStorageDirectory().getPath() + "/loonggg", "weds");
btn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
startActivity(new Intent(MainActivity.this, TwoActivity.clreplaced));
}
});
}
}