tree_view 树形视图 树形视图由滚动视图、垂直滚动条和水平滚动条三部分组成。 XML 描述如下: <tree_viewx="0"y="0"w="48%"h="48%"item_height="25"spacing="5"auto_hide_scroll_bar="true"> <scroll_viewname="view"x="0"y="0"w="-12"h="-12"> ... scroll_view> <scroll_bar_dname="...
scroll_bar_t是widget_t的子类控件,widget_t的函数均适用于scroll_bar_t控件。在xml中使用"scroll_bar"或"scroll_bar_d"或"scroll_bar_m"标签创建滚动条控件。如:<list_view x="0" y="30" w="100%" h="-80" item_height="60"> <scroll_view name="view" x="0" y="0" w="100...
2.1 编写 XML table_view 由 table_header(可选)、table_client 和 scroll_bar 组成。 在table_client 中,只需要写一个 table_row,这个 table_row 只是作为模版,由 table_client 根据需要创建。 示例:
slide_view实现基本功能。 2018/06/06 增加memset/memcpy速度测试。 增加widget_animator_scroll实现滚动的动画。 增加滑动速度计算。 2018/06/05 event结果中增加时间戳。 完善layout参数,支持指定子控件的宽度和高度。 2018/06/04 移植到正点原子号令者开发板。 2018/06/03 把systick作为公共代码放到platform/raw下...
Xamarin Android onScrollListener is being called more than once I want to create an infinite scrolling RecyclerView in my application. It consumes a web service and brings some CardView items on screen. Here's is the simplified code I have so far, without inculdin... ...
(), tx_disp) local virtual_size = ScrollBar.cast(win_sscom:lookup('mledit_rx', TRUE).scroll_bar_d).virtual_size win_sscom:lookup('mledit_rx', TRUE).scroll_bar_d:set_value(virtual_size) if sscom_cfg.hex_send == 1 then --log.info("tx hex", tx_hex:len()) sscom_tx_num = ...
滚动动画通常只是用于控件内部实现(如 slide_view、switch、scroll_view 和 text_selector 等)。 旋转/缩放的动画只是改变控件的显示效果,不改变控件的实际大小和位置(脏矩形和事件处理)。 绕坑 趋长(吉)避短(凶),平安幸福。 4.widget_move/widget_resize/widget_move_resizes 操作无效。 原因 通常是设置 layou...
hscroll_label可水平滚动的文本。 新增重要API timer_modify widget_add_idle widget_find_animator image **在线运行效果: **http://zlgawtk.bceapp.com/ AWTK介绍: AWTK全称 Toolkit AnyWhere,是ZLG开发的开源 GUI 引擎,旨在为嵌入式系统、WEB、各种小程序、手机和 PC 打造的通用 GUI 引擎,为用户提供一个功能...
rich_text_view_cast 函数 rich_text_view_create 函数 rich_text_view_t 概述 rich_text_view是一个专用容器,用来放rich text和 scroll bar,并在两者之间建立联系。 rich_text_view_t是widget_t的子类控件,widget_t的函数均适用于rich_text_view_t控件。 在xml中使用"rich_text_view"标签创建rich_text_vie...
how_to_scroll_you_text.md how_to_set_style_of_combo_box_item.md how_to_show_context_menu.md how_to_support_5keys_3keys.md how_to_support_mono_lcd.md how_to_support_multi_mem_block.md how_to_update_gpinyin_data.md how_to_use_3rd_libs.md how_to_use_action_text.md how_to_use...