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

Commit d0d0af81 authored by Ryoji Miyazaki's avatar Ryoji Miyazaki Committed by android-build-merger
Browse files

Merge "Fix user photo popup layout for RTL"

am: 6186414b

* commit '6186414b':
  Fix user photo popup layout for RTL

Change-Id: Iebf266aa4948a2d24a55ba3876f2e15d085b7112
parents 69960b8d 6186414b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ import android.provider.MediaStore;
import android.provider.ContactsContract.DisplayPhoto;
import android.support.v4.content.FileProvider;
import android.util.Log;
import android.view.Gravity;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.AdapterView;
@@ -161,6 +162,7 @@ public class EditUserPhotoController {
        final int width = Math.max(mImageView.getWidth(), context.getResources()
                .getDimensionPixelSize(R.dimen.update_user_photo_popup_min_width));
        listPopupWindow.setWidth(width);
        listPopupWindow.setDropDownGravity(Gravity.START);

        listPopupWindow.setOnItemClickListener(new AdapterView.OnItemClickListener() {
            @Override