Hopping to help someone to get stuck in that this is my solution.
(even know that this is not the exact question I get in this page a lot of times because of the way that the question was made)
Based on this solution Soft Keyboard for Dialog and Activity I get answer to show the Numeric Keyboard inside a Fragment when open the Screen.
First you have to be sure that your element in .XML file is number type
android:inputType="number"
Then, inside your code you do this:
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
fragmentView = super.onCreateView(inflater, container, savedInstanceState);
getActivity().getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE);
return fragmentView;
}
And don't forget to focus your element, like this
@Override
public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
myElement.requestFocus();
}