mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
android LayoutParams are not overridden (#2383)
* LayoutParams are no longer overriden with CommonLayoutParams * Small code refactoring to get intellisense
This commit is contained in:
committed by
Hristo Hristov
parent
cdee27f130
commit
f201465fb3
@@ -228,7 +228,7 @@ export class TabView extends common.TabView {
|
||||
}
|
||||
|
||||
this._viewPager = new android.support.v4.view.ViewPager(this._context);
|
||||
var lp = new org.nativescript.widgets.CommonLayoutParams()
|
||||
var lp = new org.nativescript.widgets.CommonLayoutParams();
|
||||
lp.row = 1;
|
||||
this._viewPager.setLayoutParams(lp);
|
||||
this._grid.addView(this._viewPager);
|
||||
|
||||
Reference in New Issue
Block a user