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

Commit b4731986 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Show long suggestion in condensed and ellipsized text

Bug: 4903845
Change-Id: I75d58fb55f81594ebb2628ea21d00c2eb59fa70e
parent 717a8f50
Loading
Loading
Loading
Loading
+174 B (1.08 KiB)
Loading image diff...
+1 −2
Original line number Diff line number Diff line
@@ -23,8 +23,7 @@
    android:layout_width="wrap_content"
    android:layout_height="match_parent"
    android:src="@drawable/keyboard_suggest_strip_divider"
    android:paddingRight="@dimen/candidate_padding"
    android:paddingLeft="@dimen/candidate_padding"
    android:padding="0dp"
    android:focusable="false"
    android:clickable="false"
    android:gravity="center_vertical|center_horizontal" />
+8 −3
Original line number Diff line number Diff line
@@ -20,9 +20,14 @@

<Button
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:minWidth="@dimen/candidate_min_width"
    android:textSize="@dimen/candidate_text_size"
    android:padding="0dp"
    android:paddingLeft="@dimen/candidate_padding"
    android:paddingTop="0dp"
    android:paddingRight="@dimen/candidate_padding"
    android:paddingBottom="0dp"
    android:singleLine="true"
    android:ellipsize="none"
    style="?attr/suggestionBackgroundStyle" />
+4 −2
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@
>
    <LinearLayout
        android:id="@+id/candidates_strip"
        android:orientation="horizontal"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
    >
@@ -83,13 +84,13 @@
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:visibility="gone"
                style="?attr/suggestionsStripBackgroundStyle" />
                android:background="@null" />
            <ImageButton
                android:id="@+id/close_candidates_pane"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:visibility="gone"
                style="?attr/suggestionsStripBackgroundStyle" />
                android:background="@null" />
        </LinearLayout>
    </LinearLayout>
    <LinearLayout
@@ -104,6 +105,7 @@
            android:layout_weight="1.0"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_gravity="center_vertical"
            android:textSize="@dimen/candidate_text_size"
            android:singleLine="true"
            android:ellipsize="middle"
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@
    <dimen name="candidate_strip_minimum_height">100sp</dimen>
    <dimen name="candidate_strip_fading_edge_length">63dip</dimen>
    <dimen name="candidate_strip_padding">0dip</dimen>
    <dimen name="candidate_min_width">32dip</dimen>
    <dimen name="candidate_min_width">44dip</dimen>
    <dimen name="candidate_padding">6dip</dimen>
    <dimen name="candidate_text_size">18dip</dimen>
    <!-- If the screen height in landscape is larger than the below value, then the keyboard
Loading