Loading java/res/layout/main_keyboard_frame.xml +3 −4 Original line number Diff line number Diff line Loading @@ -20,12 +20,11 @@ <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom"> android:layout_width="match_parent" android:layout_height="wrap_content"> <LinearLayout android:layout_width="wrap_content" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="bottom" android:orientation="vertical"> Loading java/src/com/android/inputmethod/latin/LatinIME.java +6 −3 Original line number Diff line number Diff line Loading @@ -872,9 +872,10 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen mSuggestionStripView.setListener(this, view); } if (isSetupWizardFinished()) { ImageButton floatingButton = view.findViewById(R.id.floating_button); if (floatingButton != null) { if (isSetupWizardFinished()) { floatingButton.setVisibility(View.VISIBLE); floatingButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Loading @@ -882,6 +883,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen //launchSettings(SettingsActivity.EXTRA_ENTRY_VALUE_LONG_PRESS_COMMA); } }); } else { floatingButton.setVisibility(View.GONE); } } } Loading Loading
java/res/layout/main_keyboard_frame.xml +3 −4 Original line number Diff line number Diff line Loading @@ -20,12 +20,11 @@ <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom"> android:layout_width="match_parent" android:layout_height="wrap_content"> <LinearLayout android:layout_width="wrap_content" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="bottom" android:orientation="vertical"> Loading
java/src/com/android/inputmethod/latin/LatinIME.java +6 −3 Original line number Diff line number Diff line Loading @@ -872,9 +872,10 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen mSuggestionStripView.setListener(this, view); } if (isSetupWizardFinished()) { ImageButton floatingButton = view.findViewById(R.id.floating_button); if (floatingButton != null) { if (isSetupWizardFinished()) { floatingButton.setVisibility(View.VISIBLE); floatingButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Loading @@ -882,6 +883,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen //launchSettings(SettingsActivity.EXTRA_ENTRY_VALUE_LONG_PRESS_COMMA); } }); } else { floatingButton.setVisibility(View.GONE); } } } Loading