Commit 97e9895c authored by Amirhossein Simjour's avatar Amirhossein Simjour Committed by Commit Bot

VR: Fix the size of the JS dialog

The size is fixed to follow the design

BUG=808560

Change-Id: If63ebbd676d62acd4cbc46081551d73835ced49c
Reviewed-on: https://chromium-review.googlesource.com/900055Reviewed-by: default avatarMichael Thiessen <mthiesse@chromium.org>
Commit-Queue: Amirhossein Simjour <asimjour@chromium.org>
Cr-Commit-Position: refs/heads/master@{#534156}
parent 8731d22c
...@@ -24,6 +24,8 @@ public class VrDialog extends FrameLayout { ...@@ -24,6 +24,8 @@ public class VrDialog extends FrameLayout {
*/ */
public VrDialog(Context context, VrDialogManager vrDialogManager) { public VrDialog(Context context, VrDialogManager vrDialogManager) {
super(context); super(context);
setLayoutParams(
new FrameLayout.LayoutParams(DIALOG_WIDTH, ViewGroup.LayoutParams.WRAP_CONTENT));
mVrDialogManager = vrDialogManager; mVrDialogManager = vrDialogManager;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment