Hi! I'm a beginner and I'm taking my first steps trying to create a new simple screen with different colours (background, or labels... ) that can be chosen (from a list) by the users.
I' ve got lots of questions about it:
1) How can i set the width of a label as "varying" depending upon his contents? (you may see it in the attached examples for the label "etichetta" )
2) I'm able to change the colours of a spinner only when i click on it (and appears a list)...
Is it possible to set only the colour of his text and not of his background?
Is it possible to set his colour also when it is unclicked?
3) Why is the edittext shown with a grey background instead of the usual white one? (see attached example named "smartphone")
4) Why are there these differences in what i see on the emulator and on a smartphone? The emulator I'm using is API 16 (4.1.2), on the smartphone is API 16 (4.1.1) and on the manifest, i can read this reference:
5) I've also got a screen composed by two panels, both of them have a scrollview. The list at the bottom is being correctly shown on the emulator (I can regularly see all the items in it when it scrolls - see attached example named "emulatore") but not on the smartphone on which I get the last item truncated and the scrolling doesn't work properly! (see attached example named "smartphone")
Thank you in advance for your help and your patience!
I look forward to hearing from you!
I' ve got lots of questions about it:
1) How can i set the width of a label as "varying" depending upon his contents? (you may see it in the attached examples for the label "etichetta" )
2) I'm able to change the colours of a spinner only when i click on it (and appears a list)...
Is it possible to set only the colour of his text and not of his background?
Is it possible to set his colour also when it is unclicked?
3) Why is the edittext shown with a grey background instead of the usual white one? (see attached example named "smartphone")
4) Why are there these differences in what i see on the emulator and on a smartphone? The emulator I'm using is API 16 (4.1.2), on the smartphone is API 16 (4.1.1) and on the manifest, i can read this reference:
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="16"/>
5) I've also got a screen composed by two panels, both of them have a scrollview. The list at the bottom is being correctly shown on the emulator (I can regularly see all the items in it when it scrolls - see attached example named "emulatore") but not on the smartphone on which I get the last item truncated and the scrolling doesn't work properly! (see attached example named "smartphone")
Thank you in advance for your help and your patience!
I look forward to hearing from you!