mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 07:02:51 +08:00
Removing GapView, since it doesn't actually do anything
This commit is contained in:
parent
a2cdcd47be
commit
490a13d3c4
@ -1,38 +0,0 @@
|
||||
package com.phonegap;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.webkit.WebView;
|
||||
import android.widget.EditText;
|
||||
|
||||
public class GapView extends WebView {
|
||||
|
||||
public GapView(Context context) {
|
||||
super(context);
|
||||
// TODO Auto-generated constructor stub
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void attachViewToParent(View child, int index, ViewGroup.LayoutParams params)
|
||||
{
|
||||
if(child.getClass() != EditText.class)
|
||||
super.attachViewToParent(child, index, params);
|
||||
else
|
||||
{
|
||||
super.attachViewToParent(child, index, params);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean addViewInLayout(View child, int index, ViewGroup.LayoutParams params)
|
||||
{
|
||||
return super.addViewInLayout(child, index, params);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean addViewInLayout(View child, int index, ViewGroup.LayoutParams params, boolean preventRequestLayout)
|
||||
{
|
||||
return super.addViewInLayout(child, index, params);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user