Advanced Interdisciplinary Projects Lab(AIPLab) 討論區

Please login or register.

請輸入帳號, 密碼以及預計登入時間

新聞:

[開學]106學年第1學期的課程看版開張了 歡迎同學問問題-20170917

作者 主題: User Interface Components  (閱讀 61 次)

admin

  • 管理員
  • Hero Member
  • *****
  • 文章: 1702
    • 檢視個人資料
User Interface Components
« 於: 八月 11, 2017, 01:14:02 am »
http://ai2.appinventor.mit.edu/reference/components/userinterface.html
Button
CheckBox
DatePicker
Image
Label
ListPicker
ListView
Notifier
PasswordTextBox
Screen
Slider
Spinner
TextBox
TimePicker
WebViewer
已記錄

admin

  • 管理員
  • Hero Member
  • *****
  • 文章: 1702
    • 檢視個人資料
回覆: User Interface Components
« 回覆文章 #1 於: 八月 11, 2017, 01:14:18 am »
Notifier

The Notifier component displays alert dialogs, messages, and temporary alerts, and creates Android log entries through the following methods:

ShowMessageDialog: displays a message which the user must dismiss by pressing a button.
ShowChooseDialog: displays a message two buttons to let the user choose one of two responses, for example, yes or no, after which the AfterChoosing event is raised.
ShowTextDialog: lets the user enter text in response to the message, after which the AfterTextInput event is raised.
ShowAlert: displays a temporary alert that goes away by itself after a short time.
ShowProgressDialog: displays an alert with a loading spinner that cannot be dismissed by the user. It can only be dismissed by using the DismissProgressDialog block.
DismissProgressDialog: Dismisses the progress dialog displayed by ShowProgressDialog.
LogError: logs an error message to the Android log.
LogInfo: logs an info message to the Android log.
LogWarning: logs a warning message to the Android log.
The messages in the dialogs (but not the alert) can be formatted using the following HTML tags:<b>, <big>, <blockquote>, <br>, <cite>, <dfn>, <div>, <em>, <small>, <strong>, <sub>, <sup>, <tt>. <u>
You can also use the font tag to specify color, for example, <font color="blue">. Some of the available color names are aqua, black, blue, fuchsia, green, grey, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow
已記錄

admin

  • 管理員
  • Hero Member
  • *****
  • 文章: 1702
    • 檢視個人資料
回覆: User Interface Components
« 回覆文章 #2 於: 八月 11, 2017, 01:54:48 am »
http://appinventor.pevest.com/?p=914
How to use the “2 Button” Notifier dialog box
已記錄
 

SimplePortal Classic 2.0.5