在app中如果在布局文件里面 设置textsize属性 会导致hint的字体大小和EditText的字体大小相同 ,
但是如果hint的字体长度过长就会导致一部分字体超出宽度 而看不到hint部分字体
所以这时候就需要单独设置hint字体大小 而不影响EditText字体的大小
布局文件如下:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/