开发者

Different text size for different hardwares

开发者 https://www.devze.com 2023-03-24 18:26 出处:网络
Merged with Different text size for different hardware. 开发者_开发技巧 <EditText android:id=\"@+id/entry\"
Merged with Different text size for different hardware. 开发者_开发技巧
 <EditText
    android:id="@+id/entry"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:background="@android:drawable/editbox_background"
    android:textColor="#800080"
    android:text=""
    android:hint=" No Operator Precednce yet"
    android:cursorVisible="false" 
    android:textSize="40dip"

     />

I want the above layout for hardware with size more than 4 inch. and for lesser one i want remove the last line android:textSize="40dip".. How can i achieve this ?

0

精彩评论

暂无评论...
验证码 换一张
取 消