Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9d5e7a0 authored by Frank Preel's avatar Frank Preel
Browse files

Better position & click

parent b2ac56ef
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -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">
+6 −3
Original line number Diff line number Diff line
@@ -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) {
@@ -882,6 +883,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
                        //launchSettings(SettingsActivity.EXTRA_ENTRY_VALUE_LONG_PRESS_COMMA);
                    }
                });
            } else {
                floatingButton.setVisibility(View.GONE);
            }
        }
    }