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

Commit e259b1a9 authored by frankpreel's avatar frankpreel
Browse files

Reduce icon size & only display with suggestion view

parent ef7e65aa
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -60,6 +60,7 @@
        android:src="@drawable/ic_ime_switch"
        android:src="@drawable/ic_ime_switch"
        android:contentDescription="@string/ime_switch_button"
        android:contentDescription="@string/ime_switch_button"
        android:focusable="true"
        android:focusable="true"
        android:clickable="true" />
        android:clickable="true" 
        android:padding="8dp" />


</FrameLayout>
</FrameLayout>
+3 −1
Original line number Original line Diff line number Diff line
@@ -920,7 +920,9 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
    }
    }


    private boolean shouldShowFloatingButton() {
    private boolean shouldShowFloatingButton() {
        return AccountInfoContentProvider.isPremiumAccount(getApplicationContext()) && isSttKeyboardActivated();
        Log.d("xxx", ">>>"+hasSuggestionStripView());
        return AccountInfoContentProvider.isPremiumAccount(getApplicationContext()) && isSttKeyboardActivated() 
            && hasSuggestionStripView();
    }
    }


    @Override
    @Override