Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4android > Basic4android Getting started & Tutorials
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Basic4android Getting started & Tutorials Android development starts here. Please do not post questions in this sub-forum.

Android Views (controls) and dialogs

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-13-2011, 08:48 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default Android Views (controls) and dialogs

Many users who start to develop Android applications may be frustrated by the fact that they don't find the control they are looking for. Its even worse, for some mysterious reason there are no "Controls" at all. Instead there are "Views".

This page shows screenshots of all the available views and dialogs:

Views


Button:



Checkbox:



EditText (TextBox):
Can also be multiline.




ImageView:



Label:



ListView (ListBox):



Panel:
Can hold other views (and load layout files).




ProgressBar:



RadioButton:



ScrollView:



SeekBar (TrackBar):



Spinner (ComboBox):



TabHost (TabControl):



ToggleButton:



WebView:



Dialogs

Basic4android dialogs are blocking modal dialogs. Which means that the code execution stops while the dialog is shown.

Some of the dialogs are shown by calling a keyword (like Msgbox). Other dialogs are included in Andrew's excellent dialogs library.

Internal dialogs


InputList:



InputMultiList:



Msgbox (or Msgbox2):



Dialogs library

ColorDialog:



ColorPickerDialog:



DateDialog:



InputDialog:



NumberDialog:



TimeDialog:



FileDialog:


Reply With Quote
  #2 (permalink)  
Old 09-30-2011, 08:03 PM
walterf25's Avatar
Basic4ppc Veteran
 
Join Date: Sep 2011
Posts: 209
Default Where to download dialogs library

Where can i download this libraries from, i can't seem to find a link or a place to download them from!
Reply With Quote
  #3 (permalink)  
Old 09-30-2011, 08:13 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,461
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

You have the listing of the libraries here.
You find the Dialogs library here.

Best regards.
__________________
Klaus
Switzerland

Beginner's Guide / User's Guide
Reply With Quote
  #4 (permalink)  
Old 12-02-2011, 11:22 AM
Junior Member
 
Join Date: Aug 2011
Location: NY, NY
Posts: 20
Default Numberdialog doesn't seem to output decimal point in output.

The "get number" button on your numberdialog box doesn't seem to output a decimal point, it's not visible at all, not even a space between any numbers. Only an integer appears to be outputtting.

Any way to fix this? I also notice a + and minus at the beginning of the numeric input GUI but doesn't seem to have any effect. What's that for? There's also a colon output? And a minus sign at the beginning of the number? What's that about? I simply want to use a decimal number in some calculations with some variables being assigned the values (I know how to do that in a simple way).

Thanks in advance. A bit confused, I'm probably using this wrong? Thanks in advance.


Regards,
bodycode
Reply With Quote
  #5 (permalink)  
Old 12-04-2011, 08:29 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Please start a new thread for this question.
Reply With Quote
  #6 (permalink)  
Old 02-22-2012, 07:09 PM
Basic4ppc Veteran
 
Join Date: Aug 2011
Posts: 348
Default

In Msgbox2 is there a way to place the cancel button on the right side? Seems weird to have it in the middle, I prefer Yes, No, Cancel (just like in all the other dialogs). I'd like to keep the code clean by keeping Dialog.Response = Cancel with the actual Cancel button (instead of swapping it with the Negative).
Reply With Quote
  #7 (permalink)  
Old 02-23-2012, 06:15 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

This is the default Android order. As you wrote you can put any string you like and interpret the value accordingly.
Reply With Quote
  #8 (permalink)  
Old 04-25-2012, 06:31 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Please start a new thread for this question.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dialogs library agraham Additional libraries and official updates 217 05-21-2012 03:37 PM
Android views animation tutorial Erel Basic4android Getting started & Tutorials 46 05-03-2012 01:37 PM
array of views derez Basic4android Updates and Questions 6 12-23-2010 07:21 AM
Desktop Open and SaveAs menu dialogs RacingDog Basic4ppc Wishlist 2 08-15-2010 11:37 PM
DirectX For 3D Views ceaser Chit Chat 4 12-19-2008 07:07 AM


All times are GMT. The time now is 10:29 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0