Re: [android-developers] EditText selectAll() does not work in ICS

2012-02-02 Thread dmon
Hmmm i just saw there's a selectAllOnFocusattribute. I've never tried it though. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

[android-developers] Ice Cream Sandwich and high memory usage on launch

2012-02-01 Thread dmon
I was doing some memory profiling recently for another issue, and I found that, on my phone running ICS, as soon as I launch the app the memory is already at about 7 MB, when it was usually about 4 MB in others. I looked at the HPROF file and it seems like the app is keeping a bunch (all?) of m

[android-developers] Re: Edittext Scrolling

2012-01-31 Thread dmon
Hmm I'm not 100% clear, but I think that you will get the behavior that you want if you extend the EditText class and override the onTouchEvent() method: public boolean onTouchEvent(MotionEvent ev) { boolean canScroll = !this.isFocusable() || !this.isEnabled() ||

[android-developers] Re: Robotium Solo getCurrentActivity returns previous activity not current.

2011-10-12 Thread dmon
I guess I should note that this still works fine when "going forward" in the stack. That is, if I open an activity and check that it's the expected one, it works. However, if I do solo.goBack(), and *then *try to test for the one that is visible, it fails. -- You received this message because

[android-developers] Re: Robotium Solo getCurrentActivity returns previous activity not current.

2011-10-12 Thread dmon
We just hit this as well when running our matrix tests in Honeycomb. I tried to debug it a little, and it seems as if activityMonitor.getLastActivity() is returning the wrong thing now. Something must have changed in the ActivityMonitor code, but since Honeycomb's source is not available, I'm no

Re: [android-developers] Translation handling

2011-08-17 Thread dmon
I *think* you can use getResources().getValue("my_cart", aTypedValue, false) -- 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