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

Go Back   Android Development Forum - Basic4android > Foreign Languages > French Forum
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

des boutons "graphiques" en prog ?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-28-2012, 06:28 PM
logemag's Avatar
Junior Member
 
Join Date: Dec 2011
Posts: 24
Default des boutons "graphiques" en prog ?

Bonjour pour mon projet, je dois ajouter des boutons par programmation (je ne me sers pas du ''designer") mais j'aimerais avoir les attributs tels que Corner Radius, un dégradé ou une image... comment on procède sans le designer, j'ai rien trouvé par la prog a part la police, ou la gravity... Merci d'avance.
Reply With Quote
  #2 (permalink)  
Old 01-29-2012, 07:51 AM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,463
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Le programme joint montre comment définir l'image d'un Button dans le Designer et par code.
- Standard
- Color
- Gradient
- Bitmap

Meilleures salutations.
Attached Files
File Type: zip ButtonStateDrawables.zip (8.3 KB, 16 views)
__________________
Klaus
Switzerland

Beginner's Guide / User's Guide
Reply With Quote
  #3 (permalink)  
Old 01-29-2012, 02:51 PM
logemag's Avatar
Junior Member
 
Join Date: Dec 2011
Posts: 24
Default

Encore une fois merci, je commençais à explorer la piste du Statelist, mais j'avais pas tout compris,surtout pour le -1,c'est déjà ajouté à mon code... Merci encore pour cet exemple très pratique. Allez on va rendre un peu plus graphique le projet !!!
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
VisualBasic "Inputbox" zu B4A "InputDialog" wandeln Watchkido German Forum 1 09-04-2011 06:52 PM
Catching the "Shift", "right" & "left" keys linum Questions (Windows Mobile) 3 08-21-2009 01:22 PM
calling the device's "Programs" or "settings" screens karmba_a Questions (Windows Mobile) 3 03-15-2009 05:41 PM
"AddEvent" and "buttonUp/buttonDown" Byak@ Questions (Windows Mobile) 12 09-10-2008 03:04 PM
calling the device's "Programs" or "settings" screens HarleyM Questions (Windows Mobile) 0 12-05-2007 02:59 AM


All times are GMT. The time now is 06:07 PM.


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