Back to project page Langleo.
The source code is released under:
Apache License
If you think the Android project Langleo listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.atteo.langleo_trial.views; /*from w w w. j av a 2 s. com*/ import android.app.Dialog; import android.content.Context; import com.atteo.langleo_trial.R; public class SelectLimitDialog extends Dialog { public SelectLimitDialog(Context context) { super(context); setTitle(R.string.more_new_words); setContentView(R.layout.increase_limit_dialog); NumberPicker np = (NumberPicker) findViewById(R.id.increase_limit_dialog_picker); np.setRange(1, 100); np.setCurrent(5); } }