[android-developers] Re: Views vs Graphics

2016-08-19 Thread jtoolsdev
I'm not quite clear on why one would be concerned about performance on presenting a crossword page? Even if it took a couple seconds I don't think users would be disappointed. It's like psychologically it's thinking and doing something. Devices though are getting faster and faster. Even

[android-developers] Re: Views inside a custom ViewGroup not rendering after a size change

2011-05-03 Thread Michael Sims
For the benefit of the archives, I asked the same question on Stack Overflow and it was answered by Romain Guy: http://stackoverflow.com/questions/5852758/views-inside-a-custom-viewgroup-not-rendering-after-a-size-change On Sun, May 1, 2011 at 8:19 PM, Michael Sims michael.h.s...@gmail.comwrote:

[android-developers] Re: Views - Orientation Change

2009-10-01 Thread Vijay
Just want to destroy popups when the orientation changes. On Oct 1, 10:01 am, Vijay vijay.meenakshisunda...@gmail.com wrote: Do Views know changes in orientation? In my case, I create popups from TextView and need to know when the orientation changes(porttrait-- landscape). I cannot depend

[android-developers] Re: Views below ScrollView

2009-09-01 Thread Atif Gulzar
ok I find the solution. Set Bottom layout margin of ScrollView to 50dp and the view that you want to stick on screen sets its Up layout margin to -50dp -- Best Regards, Atif Gulzar I Unicode, ɹɐzlnƃ ɟıʇɐ On Tue, Sep 1, 2009 at 1:08 PM, Atif Gulzar atif.gul...@gmail.com wrote: Hi all,

[android-developers] Re: Views below ScrollView

2009-09-01 Thread AngelOD
Hmm, I suppose that could work, but if you use a vertical LinearLayout, and then have a ScrollView with a layout-weight of 1, and a horizontal LinearLayout with a layout-weight of 0, wouldn't that work at least as well? :) On Sep 1, 9:14 am, Atif Gulzar atif.gul...@gmail.com wrote: ok I find

[android-developers] Re: Views not getting Clear

2009-08-27 Thread Sujay Krishna Suresh
archana, i guess u r using image views or atleast images for the backgrounds. If thats the case, u'll hv to call the bitmap.recycle() method to clear memory occupied by the bitmap. On Thu, Aug 27, 2009 at 7:37 PM, Archana archana.14n...@gmail.com wrote: Hi, I am using 5 views in one

[android-developers] Re: Views, ListViews and Adapters

2009-04-20 Thread Romain Guy
Use notifyDatasetChanged(), ListVIew *needs* it. It's also optimized for cases in which the current set of Views hasn't changed. Just remember to reuse the convertView in the getView() method and you'll be fine. Market does that. On Mon, Apr 20, 2009 at 2:19 AM, Alan Jones skyp...@gmail.com

[android-developers] Re: Views, ListViews and Adapters

2009-04-20 Thread Alan Jones
Hi Romain, On Apr 21, 12:37 am, Romain Guy romain...@google.com wrote: Use notifyDatasetChanged(), ListVIew *needs* it. It's also optimized for cases in which the current set of Views hasn't changed. Just remember to reuse the convertView in the getView() method and you'll be fine. Market

[android-developers] Re: Views

2009-02-11 Thread Bobbie
Ok, so I'm having trouble with this. What I'm trying to do is design a web-based chat interface using 2 webviews (one for the message display and one to send messages). I have the code for everything ready and it works, I just need to figure out the whole layout thing. Here is the code I have:

[android-developers] Re: Views

2009-02-10 Thread Marco Schmitz
try to create a folder layout-land and layout-port next to layout. just place main.xml inside both folders but not inside layout. swapping the layout (numlock+7 inside the emulator) will show you the best fitting xml file. greetings, darolla 2009/2/10 Romain Guy romain...@google.com: 1)

[android-developers] Re: Views

2009-02-10 Thread Bobbie
I tried using fill_parent, but somewhere I still have to specify a percentage screen height instead of a px value, that's what I'm having issues with. Can you post an example of how to do an 80% screen height with a 20% screen height below it? On Feb 9, 11:05 pm, Romain Guy

[android-developers] Re: Views

2009-02-10 Thread Ludwig
2009/2/10 Bobbie bobbie.st...@gmail.com I have a couple different questions: 1) Does Google think there will only be one screen size on Android phones? The reason I ask is because I haven't been able to find anything on variable layouts in Android? I would like to create a layout with 2

[android-developers] Re: Views

2009-02-09 Thread Romain Guy
1) Does Google think there will only be one screen size on Android phones? No. The reason I ask is because I haven't been able to find anything on variable layouts in Android? All layouts are variable. I would like to create a layout with 2 webviews, one 80% of screen height and the