[android-developers] Re: Textview gravity resets

2012-04-03 Thread adev
;s parent > changes its width? > > An easy way to find out is to temporarily assign bright, solid, distinct > background colors to views in your hierarchy. > > -- K > > 3 апреля 2012 г. 4:24 пользователь adev написал: > > > > > > > > > I unders

[android-developers] Re: Textview gravity resets

2012-04-02 Thread adev
t's for a vertical linear layout - for relative layout, > use android:layout_alignParentRight="true". > > -- K > > 2 апреля 2012 г. 16:24 пользователь adev написал: > > > > > > > > > It is set to wrap_content, I have tried match_parent a

[android-developers] Re: Textview gravity resets

2012-04-02 Thread adev
, Kostya Vasilyev wrote: > There is - layout_width="wrap_content" on the text view. > > 2 апреля 2012 г. 7:30 пользователь adev написал: > > > > > > > > > I've tried dynamically changing each text view, but nothing happens > > when I change it.

[android-developers] Re: Textview gravity resets

2012-04-01 Thread adev
I've tried dynamically changing each text view, but nothing happens when I change it. Is there anything thing else that would cause a text view to APPEAR to be left justified eventhough gravity is still set to RIGHT? On Apr 1, 9:54 am, adev wrote: > The adview and admob is all in the XML

[android-developers] Re: Textview gravity resets

2012-04-01 Thread adev
Also, even if I did do it dynamically, how do I know when to do it? I would need to trigger the gravity code to run after the ad has been loaded or when the gravity gets changed. Is there a way to trigger off one of these events? On Apr 1, 9:54 am, adev wrote: > The adview and admob is all

[android-developers] Re: Textview gravity resets

2012-04-01 Thread adev
the rest of the layout resizes to fit. This is when the gravity is reset. I couldn't figure out how to have a preset height. On Apr 1, 1:52 am, Narendra Singh Rathore wrote: > On Sun, Apr 1, 2012 at 8:01 AM, adev wrote: > > Sure I can reset the gravity on all of them in code, bu

[android-developers] Re: Textview gravity resets

2012-03-31 Thread adev
Sure I can reset the gravity on all of them in code, but that defeats the purpose of using the XML. I'd like to know the cause of the issue I'm seeing now and solve it. On Mar 31, 2:17 pm, Narendra Singh Rathore wrote: > On Sat, Mar 31, 2012 at 4:24 AM, adev wrote: > > >

[android-developers] Textview gravity resets

2012-03-30 Thread adev
My layout is as follows I have a table of textviews in a linear layout. that is in a realative layout above an adview. Relative layout -linear layout --tablelayout ---tablerow textview . AdView All the textviews have gravity set to "right|centervertical" When it first loads, it looks f

[android-developers] layout height relative to screen height

2012-03-26 Thread adev
I would like to set the height of my layout items based on the height of the screen to allow it to scale to screens of different resolution and in landscape. my current layout structure uses a relativelayout with linearlayout childeren. one of the linear layouts consists of a table layout which I

[android-developers] Re: Applications no longer working after SDK17 upgrade

2012-03-23 Thread adev
After further investigtation, this is the error I am getting. android.view.InflateException: Binary XML file line #125: Error inflating class com.google.ads.AdView I had to copy the jar file into /libs on my project. I actually have 3 apps with a lib of shared code. I had to copy the jar into /l

[android-developers] Applications no longer working after SDK17 upgrade

2012-03-23 Thread adev
I just upgraded to version 17 of the SDK (from 16). I have made no changes to my code. I am able to rebuild all my source code with no errors, however when I attempt to run the code, I get the following messages: Launch timeout has expired, giving up wake lock! Activity idle timeout for HistoryRec

[android-developers] Sockets and bluetooth

2008-10-29 Thread adev
Any help would be appreciated... Thanks. Adev. --~--~-~--~~~---~--~~ 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 unsubsc