#一、
安卓的布局,RelativeLayout配LinearLayout
android:background=”@drawable/edit_shape”用xml文件来实现圆角
1 |
|
#二、设置字体1
2
3typeFace = Typeface.createFromAsset(getAssets(), "fonts/01.ttf");
fp = (TextView) findViewById(R.id.for_psw);
fp.setTypeface(typeFace);
#三、注册页面1
2<activity android:name="com.example.videotest.Res_View" >
</activity>