1
0
mirror of https://github.com/danog/termux-api.git synced 2024-11-26 20:04:42 +01:00

Fix intermittent scroll not working in BottomSheet (#192)

This commit is contained in:
David Kramer 2018-07-26 05:00:20 -06:00 committed by Fredrik Fornwall
parent ec2c1efc58
commit fc8daead89

View File

@ -17,6 +17,7 @@ import android.speech.SpeechRecognizer;
import android.support.annotation.NonNull;
import android.support.design.widget.BottomSheetDialog;
import android.support.design.widget.BottomSheetDialogFragment;
import android.support.v4.widget.NestedScrollView;
import android.support.v7.app.AppCompatActivity;
import android.text.InputType;
import android.util.JsonWriter;
@ -611,7 +612,7 @@ public class DialogActivity extends AppCompatActivity {
layout.setPadding(16, 16, 16, 16);
layout.setOrientation(LinearLayout.VERTICAL);
ScrollView scrollView = new ScrollView(getContext());
NestedScrollView scrollView = new NestedScrollView(getContext());
final String[] values = getInputValues(Objects.requireNonNull(getActivity()).getIntent());
for (final String value : values) {