Yes Nadeem, good idea ;-)
Then my adapter inherits from ResourceCursorAdapter and redifying
NewView method as:
LayoutInflater li = (LayoutInflater)
getSystemService(Context.LAYOUT_INFLATER_SERVICE);
return li.inflate(R.layout.listchargelayoutitem,
Oh nice.
Apparatly it's working!!
If I well understood, I just needed to force the visibility of the
ImageView, otherwise it's set visible in the xml layout.
It's good to know ;-)
Thanks Nadeem
--
You received this message because you are subscribed to the Google
Groups Android Developers
Hi all,
I have have a little question about a strange behaviour with a
ListView wich is filled by a RessourceCursorAdapter.
The result of my query contains diferent column, where one is a
boolean use to display a picture or not.
On true value the picture appears in my custom list item.
My
Hi all,
I have identified an issue in my aplication about
RessourceCursorAdapter. I have a ListView wich is filled with this
adapter.
I use a custom layout to define each item in list. This layout declare
an optional image based on a boolean in my SQL query's result. This is
working as well I
Ok, nobody already tried this way for the styles on tab widget ?
I guess it's just possible by code with the setIndicator function on
TabSpec.
On 28 fév, 23:02, Antony BODY antony.b...@gmail.com wrote:
Hi all,
I'm trying to apply themes and styles on my application which is
TabHost.
I can't
Hi all,
I'm trying to apply themes and styles on my application which is
TabHost.
I can't modify the background color of this TabHost. It works for all
other attrobute like TextColor for example.
Any one have an idea, I'm lost?
Do you think my XML style resource is wrong ?
?xml version=1.0
Hi all,
I'm trying to create an dialog wich is show on android desktop.
My application contains a service who create notification. On
notification click I would like show a dialog on desktop.
My problem: each time I click on notification my dialog is showing
with black screen behind (activity of
Oh !
Thank you Kostya
It works well and it's realy easier !!!
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
Hi all,
I'm trying to get the background color of a button. This color was
applied on this button with the XML code.
It's little complicated !!!
I tried some solutions like:
Drawable d = findViewById(R.id.my_btn).getBackground();
But i can't obtain the background color code.
Any people have
Ok perfect you are right it was just the getApplicationContext
method who throw that exception !!
Thank you for your help.
On 14 déc, 16:29, TreKing treking...@gmail.com wrote:
On Mon, Dec 13, 2010 at 4:34 PM, Antony BODY antony.b...@gmail.com wrote:
Context mContext
Hi,
I try to implement an custom dialog sadly when i call show
method i get this stac:
Thread [3 main] (Suspended (exception WindowManager
$BadTokenException))
ViewRoot.setView(View, WindowManager$LayoutParams, View) line: 491
WindowManagerImpl.addView(View,
Hi all,
I'm trying to use SQLite in application for first time. My application
contains an TabActivity. I would to use an database in some of those
activities. Then, I created an DatabaseWrapper. Each time I try to
execute query with rawQuery method, I obtain this stack :
Thread [3 main]
Ok I get my answers !!!
I was mistaken in some name of tables ;-)
Now it's working well
On 5 déc, 11:49, Antony BODY antony.b...@gmail.com wrote:
Hi all,
I'm trying to use SQLite in application for first time. My application
contains an TabActivity. I would to use an database in some
13 matches
Mail list logo