|
|
|
|
54
|
public class MyApplication extends NavigationApplication {
|
54
|
public class MyApplication extends NavigationApplication {
|
55
|
@Override
|
55
|
@Override
|
56
|
public void onCreate() {
|
56
|
public void onCreate() {
|
57
|
- registerActivityLifecycleCallbacks(new LifecycleCallbacks() {
|
|
|
|
|
57
|
+ registerActivityLifecycleCallbacks(new ActivityLifecycleCallbacks() {
|
58
|
@Override
|
58
|
@Override
|
59
|
public void onActivityCreated(Activity activity, Bundle savedInstanceState) {
|
59
|
public void onActivityCreated(Activity activity, Bundle savedInstanceState) {
|
60
|
activity.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
|
60
|
activity.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
|