简体   繁体   English

Android中的自定义小部件

[英]Custom widget in Android

I need to customize my Android application for ancient people, which typically have vision problems. 我需要为古代人(通常有视力问题)定制Android应用程序。

If is not so difficult increase the font size of EditText or TextView fields, I can't say the same about the TimePicker , DatePicker or NumberPicker . 如果不是很困难,可以增加EditTextTextView字段的字体大小,那么对于TimePickerDatePickerNumberPicker我就不能这么说了。 For these widget I think that I can't change the size. 对于这些小部件,我认为我无法更改大小。 Right? 对?

Someone knows how can I solve this problem? 有人知道我该如何解决这个问题? I need to create a custom plugin? 我需要创建一个自定义插件吗? If so, where I can found materials for this purpose? 如果是这样,我在哪里可以找到用于此目的的材料?

What you want is call "Custom Widget" or "Custom View" 您想要的是称为“自定义小部件”或“自定义视图”

FYI : http://www.vogella.com/articles/AndroidCustomViews/article.html 仅供参考: http : //www.vogella.com/articles/AndroidCustomViews/article.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM