Re: [android-developers] Re: Honeycomb / Fragments: can't remove a fragment added in XML layout

2013-09-24 Thread Clément Plantier
No, I wasn't waiting for the answer ^^ As far as I remember I was trying to remove a fragment from the hierarchy, so just hiding it is not a solution. But this is not my problem anymore. 2013/9/24 Piren gpi...@gmail.com I hope he was not still waiting for that answer. On Tuesday, September

[android-developers] Re: custom attributes in library projects

2011-03-16 Thread Clément Plantier
Issue 9656 says it's not possible to have custom attributes declared used in library projects. This is fixed on SDK 11. About using an attribute that is declared in a library projet in multiple applications, I can't answer. Have you tried? What happens when you do it? On Mar 16, 6:26 am,

[android-developers] Re: Honeycomb / ApiDemos / Fragments: ActionBarTabs activity not working

2011-03-16 Thread Clément Plantier
to the tree, but older ones are not removed. (The sample code included in the Action Bar documentation is also broken, the constructor name for MyTabListener is wrong. See: http://developer.android.com/guide/topics/ui/actionbar.html#Tabs.) On Mar 11, 3:13 pm, Clément Plantier clemplant...@gmail.com

[android-developers] Re: FLAG_BLUR_BEHIND not working with Honeycomb?

2011-03-15 Thread Clément Plantier
window, if this flag doesn't allow it? On Mar 14, 6:08 pm, Romain Guy romain...@android.com wrote: This flag does not guarantee you're going to get a blur effect. The term blur is used in a more generic sense, thus having a black veil instead of a blur is expected. 2011/3/14 Clément Plantier

[android-developers] Re: FLAG_BLUR_BEHIND not working with Honeycomb?

2011-03-14 Thread Clément Plantier
Could someone else try? Thanks. On Mar 11, 11:03 am, Clément Plantier clemplant...@gmail.com wrote: Hi, I have a dialog that use the window flag FLAG_BLUR_BEHIND to have a blur effect behind the dialog. It works fine with older versions of SDK, but with Honeycomb everything is black behind

[android-developers] Re: Change the text style according to state, in XML

2011-03-11 Thread Clément Plantier
this: android:textColor=@drawable/my_text_color_selector I have done this on several occasions. Thanks, Justin Anderson MagouyaWare Developerhttp://sites.google.com/site/magouyaware 2011/3/10 Clément Plantier clemplant...@gmail.com Does someone know if it's possible to change a text view style

[android-developers] Re: Problem with GridView

2011-03-11 Thread Clément Plantier
Let us see your code, please... On Mar 11, 7:38 am, leela morampudile...@gmail.com wrote: Hi all, i am working on gridView which will show images.. initially the gridView will show all thumbniles  images.. once click on any thumbnile i need to show that gridVeiw in full screen. here the

[android-developers] FLAG_BLUR_BEHIND not working with Honeycomb?

2011-03-11 Thread Clément Plantier
Hi, I have a dialog that use the window flag FLAG_BLUR_BEHIND to have a blur effect behind the dialog. It works fine with older versions of SDK, but with Honeycomb everything is black behind my dialog. To reproduce: Dialog dialog = new Dialog(context); dialog.setTitle(Test);

[android-developers] Honeycomb / ApiDemos / Fragments: ActionBarTabs activity not working

2011-03-11 Thread Clément Plantier
The ActionBarTabs in the Honeycomb ApiDemos does not seem to work. First, the theme of the activity is not set to the Holo theme, so it crashes because there is no action bar (getActionBar() returns null). I fixed this in the Manifest, but then the activity crashes when changing the orientation,

[android-developers] Action bar: attribute for changing background color when clicking an action button?

2011-03-10 Thread Clément Plantier
Hi all, Using the Honeycomb action bar, when touching an action button, its background become orange-colored (I'm using the Holo.Light theme). I would like to override the theme to change the color of this background, but I can't find the attribute that defines this color. Does someone knows the

[android-developers] Re: Action bar: attribute for changing background color when clicking an action button?

2011-03-10 Thread Clément Plantier
android:drawable=@color/red / item android:state_focused=true android:drawable=@color/red / item android:drawable=@android:color/transparent / /selector On Mar 10, 9:58 am, Clément Plantier clemplant...@gmail.com wrote: Hi all, Using the Honeycomb action bar, when touching an action button

[android-developers] Change the text style according to state, in XML

2011-03-10 Thread Clément Plantier
Does someone know if it's possible to change a text view style (bold, italic...) according to its state (pressed, selected...), the same way a drawable can depend on the state using a selector? I don't want to do that in Java, only with XML styles, but it seems that's not possible. -- You

[android-developers] Re: custom attributes in library projects

2010-08-20 Thread Clément Plantier
Any update about this problem? On Jul 9, 8:18 pm, Xavier Ducrohet x...@android.com wrote: Ah, there's a problem with the namespace. From aapt's point of view all the resources are compiled for the package name of the application (com.mycompany.test.app in your case), so your customValue

[android-developers] ADT/JUnit can't find HttpClient classes

2009-10-23 Thread Clément Plantier
Hi, I'm having troubles with ADT and JUnit Testing. When I use HttpClient classes, my JUnit tests fail with errors like: java.lang.NoClassDefFoundError: org/apache/http/client/HttpClient. I run my tests in Eclipse as JUnit Tests (not Android JUnit Tests) with the Android Test Launcher. An idea