Use Gravity.START and .END rather than .LEFT and .RIGHT

This commit is contained in:
Dr. Tobias Quathamer
2017-04-22 22:30:07 +02:00
parent 576a9fde5b
commit 5046005b0e
34 changed files with 133 additions and 133 deletions
@@ -187,7 +187,7 @@ public class ContactAddActivity extends BaseFragment implements NotificationCent
LinearLayout.LayoutParams layoutParams = (LinearLayout.LayoutParams) frameLayout.getLayoutParams();
layoutParams.width = LayoutHelper.MATCH_PARENT;
layoutParams.height = LayoutHelper.WRAP_CONTENT;
layoutParams.gravity = Gravity.TOP | Gravity.LEFT;
layoutParams.gravity = Gravity.TOP | Gravity.START;
frameLayout.setLayoutParams(layoutParams);
avatarImage = new BackupImageView(context);