Move dimming keyboard to MainKeyboardView

Change-Id: Id44d4b758c8b92d1120d3a8b06812dc1fc26390c
diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml
index 721df5e..e10bdb1 100644
--- a/java/res/values/attrs.xml
+++ b/java/res/values/attrs.xml
@@ -58,8 +58,6 @@
 
         <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
         <attr name="verticalCorrection" format="dimension" />
-
-        <attr name="backgroundDimAlpha" format="integer" />
     </declare-styleable>
 
     <declare-styleable name="MainKeyboardView">
@@ -105,6 +103,7 @@
         <attr name="keyPreviewLingerTimeout" format="integer" />
         <!-- Layout resource for more keys keyboard -->
         <attr name="moreKeysKeyboardLayout" format="reference" />
+        <attr name="backgroundDimAlpha" format="integer" />
         <!-- More keys keyboard will shown at touched point. -->
         <attr name="showMoreKeysKeyboardAtTouchedPoint" format="boolean" />
         <!-- Delay after gesture trail starts fading out in millisecond. -->