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

Commit bafd2cc7 authored by Walter Jang's avatar Walter Jang Committed by Android (Google) Code Review
Browse files

Merge "[DO NOT MERGE] Contact editor RTL rendering fixes" into ub-contactsdialer-f-dev

parents a7561250 6eb8e0d5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ import android.net.Uri;
import android.provider.ContactsContract.Contacts;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
@@ -104,6 +105,8 @@ public class AggregationSuggestionView extends LinearLayout {
            dataText = suggestion.emailAddress;
        } else if (suggestion.phoneNumber != null) {
            dataText = suggestion.phoneNumber;
            // Phone numbers should always be in LTR mode.
            data.setTextDirection(View.TEXT_DIRECTION_LTR);
        }
        data.setText(dataText);
    }
+1 −1
Original line number Diff line number Diff line
@@ -244,7 +244,7 @@ public class TextFieldsEditorView extends LabeledEditorView {
            // Show the "next" button in IME to navigate between text fields
            // TODO: Still need to properly navigate to/from sections without text fields,
            // See Bug: 5713510
            fieldView.setImeOptions(EditorInfo.IME_ACTION_NEXT);
            fieldView.setImeOptions(EditorInfo.IME_ACTION_NEXT | EditorInfo.IME_FLAG_NO_FULLSCREEN);

            // Read current value from state
            final String column = field.column;