Remove unused XML attribute

This is a followup for Ic83cd120.

Change-Id: Iecdcf28e2e07e1110c1b2974a9cb994ab2c0a769
main
Tadashi G. Takaoka 2011-08-31 16:08:25 +09:00
parent 0e7ee45f54
commit 79dc056d22
1 changed files with 0 additions and 8 deletions

View File

@ -18,7 +18,6 @@ package com.android.inputmethod.keyboard;
import android.content.Context;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.Gravity;
import android.view.View;
@ -38,7 +37,6 @@ public class MiniKeyboardView extends KeyboardView implements PopupPanel {
private final int[] mCoordinates = new int[2];
private final KeyDetector mKeyDetector;
private final int mVerticalCorrection;
private Controller mController;
private KeyboardActionListener mListener;
@ -135,12 +133,6 @@ public class MiniKeyboardView extends KeyboardView implements PopupPanel {
public MiniKeyboardView(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
final TypedArray a = context.obtainStyledAttributes(
attrs, R.styleable.KeyboardView, defStyle, R.style.KeyboardView);
mVerticalCorrection = a.getDimensionPixelOffset(
R.styleable.KeyboardView_verticalCorrection, 0);
a.recycle();
final Resources res = context.getResources();
// Override default ProximityKeyDetector.
mKeyDetector = new MiniKeyboardKeyDetector(res.getDimension(