简体   繁体   English

如何在 KivyMD 中创建选择列表

[英]How to create a selection list in KivyMD

I am trying to create a menu/selection to choose certain values from a list using KivyMD.我正在尝试创建一个菜单/选择以使用 KivyMD 从列表中选择某些值。 I want it to look similar to how these lists look on IOS apps.我希望它看起来类似于这些列表在 IOS 应用程序上的外观。 I've included an image from the 'Fitbit' app for reference of what I'm trying to replicate.我已经包含了来自“Fitbit”应用程序的图像,以供参考我试图复制的内容。

the type of menu/selection I'm looking for我正在寻找的菜单/选择的类型

Cheers干杯

Specifically, there is no such implementation of time picker in KivyMD.具体来说,KivyMD 中没有时间选择器的这种实现。 There is a Picker class - https://kivymd.readthedocs.io/en/latest/components/pickers/有一个选择器 class - https://kivymd.readthedocs.io/en/latest/components/pickers/

在此处输入图像描述

在此处输入图像描述

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

相关问题 如何创建与选择对齐的滑块 - How to create a slider that snaps to a selection 如何使用项目选择创建Iphone警报? - How to create Iphone alert with items selection? SwiftUI:有没有办法创建一个单选列表(如 iOS 设置)? - SwiftUI: Is there a way to create a list with single selection (like in iOS Settings)? 如何将选择器视图设置在选择列表的中间? - how to set picker view to be in the middle of selection list? 如何更改 KivyMD 底部导航的文本和图标颜色 - How to change text and icon colour of KivyMD’s Bottom Navigation 如何在 kivymd 中使浮动布局具有滚动视图? - How can I make a floatlayout have a scrollview in kivymd? 如何在Swift中创建UIPickerView选择,以使视图扩展以允许添加选项? - How to create a UIPickerView selection in Swift such that the view expands to allow to add options? 如何在swift2中创建单选复选框? - how to create single selection check box in swift2? 如何在iOS Objective-C的UITableView中创建类别和子类别选择 - How to create category and subcategory selection in UITableView in iOS Objective-C 如何使用UISlider正确创建缩略图选择器以从视频中进行选择? - how to correctly create a thumbnail picker with a UISlider for selection from a video?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM