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

Commit cc3e9a58 authored by Gary Mai's avatar Gary Mai Committed by android-build-merger
Browse files

Focus label edit view on click

am: f8622336

Change-Id: Id59c5f5162a9b26c335fd23d2ff5105ccfcc4dcd
parents 6171596f f8622336
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -181,6 +181,8 @@ public class GroupMembershipView extends LinearLayout
        mPrimaryTextColor = resources.getColor(R.color.primary_text_color);
        mHintTextColor = resources.getColor(R.color.editor_disabled_text_color);
        mNoGroupString = getContext().getString(R.string.group_edit_field_hint_text);
        setFocusable(true);
        setFocusableInTouchMode(true);
    }

    @Override
@@ -318,6 +320,7 @@ public class GroupMembershipView extends LinearLayout
            return;
        }

        requestFocus();
        mAdapter = new GroupMembershipAdapter<GroupSelectionItem>(
                getContext(), R.layout.group_membership_list_item);