[android] don’t show soft keyboard on downloader fragment

This commit is contained in:
Roman Romanov 2017-02-03 09:43:23 +04:00
parent 5e7fd698e4
commit 7254afa118

View file

@ -3,8 +3,10 @@ package com.mapswithme.maps.downloader;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.WindowManager;
import java.util.ArrayList;
import java.util.List;
@ -103,6 +105,13 @@ public class DownloaderFragment extends BaseMwmRecyclerFragment
mBottomPanel.update();
}
@Override
public void onCreate(@Nullable Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
getActivity().getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN);
}
@Override
public void onViewCreated(View view, Bundle savedInstanceState)
{