修改拨号键盘密度

由于有的时候手机使用的是qhd分辨率的6寸屏幕,由于屏幕密度为240导致拨号键盘过密.

此方法可以修改拨号键盘过密.

--- a/alps/packages/apps/PhoneCommon/res/layout/dialpad.xml
+++ b/alps/packages/apps/PhoneCommon/res/layout/dialpad.xml
@@ -22,11 +22,13 @@
     android:layout_height="match_parent"
     android:orientation="vertical"
     android:clipChildren="false">
+       
     
+        android:orientation="horizontal"
+               style="@style/DialpadKeyPaddingSpace">
         
         
         
+        android:orientation="horizontal"
+               style="@style/DialpadKeyPaddingSpace">
         
         
+        android:orientation="horizontal"
+               style="@style/DialpadKeyPaddingSpace">
         
         
+        android:orientation="horizontal"
+               style="@style/DialpadKeyPaddingSpace">
         
         
         

--- a/alps/packages/apps/PhoneCommon/res/values/dimens.xml
+++ b/alps/packages/apps/PhoneCommon/res/values/dimens.xml
@@ -69,4 +69,6 @@
 
     
     10dp
+       
+       7dp
 

--- a/alps/packages/apps/PhoneCommon/res/values/styles.xml
+++ b/alps/packages/apps/PhoneCommon/res/values/styles.xml
@@ -102,4 +102,9 @@
         ?attr/dialpad_text_color_secondary
         #00000000
     
+       
+       
 



你可能感兴趣的:(MTK随记)