OK, thanks for the explanation.

Shiliu.

From: Gao, Shawn
Sent: Friday, October 17, 2014 3:23 PM
To: Wang, Shiliu; crosswalk-dev@lists.crosswalk-project.org
Subject: RE: [Crosswalk-dev] Change the super class of XWalkRuntimeView to 
LinearLayout

There are two types of ad, overlapped or not. Shrinking and extending viewport 
is a part of requirement for un-overlapped ad. When overlapped ad is created, 
it will be attached to the root container of the Activity, which is a 
FrameLayout.

From: Wang, Shiliu
Sent: Friday, October 17, 2014 3:17 PM
To: Gao, Shawn; 
crosswalk-dev@lists.crosswalk-project.org<mailto:crosswalk-dev@lists.crosswalk-project.org>
Subject: RE: [Crosswalk-dev] Change the super class of XWalkRuntimeView to 
LinearLayout

If it's a linearlayout, viewport will shrink and extend as advertisement shows 
or hides. Maybe a relativelayout is a better choice?

Thanks,
Shiliu.

From: Crosswalk-dev [mailto:crosswalk-dev-boun...@lists.crosswalk-project.org] 
On Behalf Of Gao, Shawn
Sent: Thursday, October 16, 2014 6:10 PM
To: 
crosswalk-dev@lists.crosswalk-project.org<mailto:crosswalk-dev@lists.crosswalk-project.org>
Subject: [Crosswalk-dev] Change the super class of XWalkRuntimeView to 
LinearLayout

Hi, All,
I am developing the admob extension for Crosswalk. The banner ad is required to 
be inserted at the top or bottom of crosswalk view and not overlapped. 
Currently, the super class of XWalkRuntimeView is FrameLayout, which cannot 
achieve this requirement. So, I will change it to LinearLayout.

Any comments are appreciated.

Thanks,
Shawn

_______________________________________________
Crosswalk-dev mailing list
Crosswalk-dev@lists.crosswalk-project.org
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to