Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.
by haden » Thu Dec 18, 2008 3:29 pm
Looks pretty cool. It would be great if you posted a tutorial on how you did that. There are many of us out here interested in creating our own themes..
-
haden
- Experienced Developer

-
- Posts: 74
- Joined: Thu Sep 11, 2008 11:51 am
-
by pskink » Thu Dec 18, 2008 3:53 pm
haden wrote:Looks pretty cool. It would be great if you posted a tutorial on how you did that. There are many of us out here interested in creating our own themes..
tutorial? well, in order to post tutorial i'd need to know pretty sure how to make decent theme. right now i do it as a blind man... but when i get to know more... why not? i can send sources anyway. what do you guys think? do you want to contribute?
pskink
-
pskink
- Master Developer

-
- Posts: 719
- Joined: Mon Nov 24, 2008 3:49 pm
by haden » Thu Dec 18, 2008 3:55 pm
but i surely would like to know how you did that.
-
haden
- Experienced Developer

-
- Posts: 74
- Joined: Thu Sep 11, 2008 11:51 am
-
by pskink » Thu Dec 18, 2008 4:50 pm
haden wrote:but i surely would like to know how you did that.
ok, i'll send sources 2nite
pskink
-
pskink
- Master Developer

-
- Posts: 719
- Joined: Mon Nov 24, 2008 3:49 pm
by pskink » Thu Dec 18, 2008 9:07 pm
haden wrote:but i surely would like to know how you did that.
then look at the attached file
- Attachments
-
Theme.tar.gz
- starting point of green theme
- (43 KiB) Downloaded 846 times
Last edited by
pskink on Sat Dec 20, 2008 11:36 am, edited 2 times in total.
pskink
-
pskink
- Master Developer

-
- Posts: 719
- Joined: Mon Nov 24, 2008 3:49 pm
by pskink » Fri Dec 19, 2008 1:10 pm
fyi: added EditTexts
pskink
-
pskink
- Master Developer

-
- Posts: 719
- Joined: Mon Nov 24, 2008 3:49 pm
by pskink » Sat Dec 20, 2008 5:12 pm
fyi: added Spinners
pskink
-
pskink
- Master Developer

-
- Posts: 719
- Joined: Mon Nov 24, 2008 3:49 pm
by Emmanuel7 » Mon Jan 12, 2009 1:48 am
Something that could help understanding themes is to have a look at Android's default themes :
They are located in your Android SDK directories :
In particular, these files are interesting :
<AndroidSDK>\tools\lib\res\default\values\themes.xml
<AndroidSDK>\tools\lib\res\default\values\styles.xml
The default drawable selector for buttons :
<AndroidSDK>\tools\lib\res\default\drawable\btn_default.xml
Note : searching in this directories, one can also found the included anims, or the default list items provided by android, that can also be of great interest to learn more about the Android UI :
<AndroidSDK>\tools\lib\res\default\anim\
<AndroidSDK>\tools\lib\res\default\layout\simple_list_item_1.xml
-
Emmanuel7
- Senior Developer

-
- Posts: 164
- Joined: Fri Dec 12, 2008 2:17 am
- Location: Paris
-
by pskink » Mon Jan 12, 2009 10:14 am
darolla wrote:but why do u (does android) have these helplines next to their buttons?
I'll attach your btn_default_normal.9.png for easier reading this post.
greetings,
DaRolla
you mean black, one pixel wide vertical and horizontal lines? these are strechable portion of 9 patch drawables
pskink
-
pskink
- Master Developer

-
- Posts: 719
- Joined: Mon Nov 24, 2008 3:49 pm
by pskink » Mon Jan 12, 2009 10:21 am
darolla wrote:without the ressrc folder its working, too.
why do u use this?
do u know how to change the check boxes?
greetings,
darolla
ps: I packed all original checkboxes for u...
ressrc contains some resources used to generate final bitmaps.
checkboxes should be easy to implement, but i have no idea how to change tabhosts/tabwidgets...
pskink
-
pskink
- Master Developer

-
- Posts: 719
- Joined: Mon Nov 24, 2008 3:49 pm
Return to View, Layout & Resource Problems
Who is online
Users browsing this forum: belan, ColeNiemeier, diket, Google Adsense [Bot], GraigDzuro, IssacMio, marafon, MarcelinoLaurimore, NewtonRugg, nifel, WarnerBarroso and 25 guests