Re: [android-developers] widgets overlap (are on top of each other)

2017-08-08 Thread Tony Cardinal
Thanks Marina ! I clicked the "infer constraints" button. And it worked. God bless ) On Thursday, August 3, 2017 at 10:14:40 AM UTC-4, Marina Cuello wrote: > > When a property starts with "tools:" it means it only works on the editor. > It's useful when you will modify the position or visibilit

Re: [android-developers] widgets overlap (are on top of each other)

2017-08-03 Thread Marina Cuello
When a property starts with "tools:" it means it only works on the editor. It's useful when you will modify the position or visibility of a view programatically or you want to use different color backgrounds to play around with images with transparency. But it will not be reflected on your app. Yo

[android-developers] widgets overlap (are on top of each other)

2017-08-01 Thread Tony Cardinal
hello, I created a simple app with 2 checkboxes a button and a text field. And I see all of these widgets on top of each other on the upper left hand corner of the screen when I run the app. In the design tab of android studio, these widgets are spaced one on top of the other. What am I doing w

[android-developers] Widgets change in landscape mode

2012-07-16 Thread BearTi
Hi, I´ve a little problem with my widgets. I change the e.g. background color over remoteviews. Now every time I rotate my phone to landscape mode, the design (background color) is changes to the default value specified in the config file. How can handle this? thanks -- You received this mes

[android-developers] widgets: onEnabled() not getting called correctly at bootup...

2012-02-03 Thread Shaun
Hi all, I have created & installed a simple widget into the Android 2.2 simulator. Now when I bootup, I do see onEnabled() called once. But then the package manager decides to force stop the package and reinstall it. However from now on, onEnabled() is never called - only onUpdate(). I have in

Re: [android-developers] widgets not showing up after ListView

2011-09-17 Thread TreKing
On Sat, Sep 17, 2011 at 11:15 AM, John Goche wrote: > When the button > labeled "SCHEDULE DATE HERE" has text which is too long it runs under > the other two buttons which is not what I want. Instead when its text grows > I would like the text to wrap like in the buttons in the bottom row > Put i

Re: [android-developers] widgets not showing up after ListView

2011-09-17 Thread John Goche
Thanks TreKing, Now that I have seen how to use the layout_weight parameter properly I was able to insert a decent row of buttons both at the top and at the bottom of the list view. However my concern now is in the top row. When the button labeled "SCHEDULE DATE HERE" has text which is too long it

Re: [android-developers] widgets not showing up after ListView

2011-09-16 Thread TreKing
On Fri, Sep 16, 2011 at 3:47 PM, John Goche wrote: > >android:layout_width="wrap_content" > android:layout_height="fill_parent"> >android:layout_width="fill_parent" > android:layout_height="fill_parent"> > > A) If you tell the "layout" LinearLayout to fill it's parent vert

[android-developers] widgets not showing up after ListView

2011-09-16 Thread John Goche
Hello, I am trying to insert a linear layout with a button or two at the bottom of a listview which is dynamically populated from source code. But the bottom button(s) (the one with text property set to Foo) do not show up. Any idea what I am doing wrong and how to fix it? http://schemas.andr

Re: [android-developers] Widgets do not work on all devices!

2011-08-07 Thread guruk
i thought about, ALSO i asked several users and they did say they did not moved to sd card! so its not that. they just installed the update of my app.. and all widgets gone :( -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to t

Re: [android-developers] Widgets do not work on all devices!

2011-08-07 Thread Nikolay Elenkov
On Sun, Aug 7, 2011 at 7:27 PM, guruk wrote: > Hi there, > i have the Simulator to test, a Nexus ONE and a G1 > on all my coded Widgets appear. > but i get more and more users complain that on their > devices the widgets do not appear even in their > widget list. So do they come filtered or what?

[android-developers] Widgets do not work on all devices!

2011-08-07 Thread guruk
Hi there, i have the Simulator to test, a Nexus ONE and a G1 on all my coded Widgets appear. but i get more and more users complain that on their devices the widgets do not appear even in their widget list. So do they come filtered or what? I can't purchase each and any device in the market to t

Re: [android-developers] Widgets: Lanscape vs Portrait

2011-04-08 Thread Kostya Vasilyev
08.04.2011 19:25, Jake Colman пишет: I have a 2x1 widget with two textviews, aligned top and bottom to the baseline, that display fine in Portrait. When I switch to landscape, there is insufficient room for the two textviews (the widget becomes long and narrow) so the two textviews overlap each

[android-developers] Widgets: Lanscape vs Portrait

2011-04-08 Thread Jake Colman
I have a 2x1 widget with two textviews, aligned top and bottom to the baseline, that display fine in Portrait. When I switch to landscape, there is insufficient room for the two textviews (the widget becomes long and narrow) so the two textviews overlap each other. What is the correct way to han

[android-developers] Widgets in SD installed application

2011-03-20 Thread Joan Pujol
Did widgets work in a SD installed application? According Android javadoc it seems that can work: App Widgets Your A pp Widgets will be removed from the home screen. When external storage is remounted, your App Widget will *not* be available for the user to select until the system resets the h

Re: [android-developers] Widgets installed by default on Home Screen

2011-03-08 Thread TreKing
On Tue, Mar 8, 2011 at 8:42 PM, Justin Anderson wrote: > AFAIK this is not possible... It's not. Dianne confirmed this in another post a little while back. - TreKing

Re: [android-developers] Widgets installed by default on Home Screen

2011-03-08 Thread Justin Anderson
AFAIK this is not possible... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Mar 8, 2011 at 6:38 PM, argongold wrote: > Hi, > > I am writing a Home Screen application, for which I have to display > some widget by default. This means user interact

[android-developers] Widgets installed by default on Home Screen

2011-03-08 Thread argongold
Hi, I am writing a Home Screen application, for which I have to display some widget by default. This means user interaction is not required to pick those widgets such as google search widget on launcher home screen etc. Is it possible an application compiled with sdk can access those widgets and

Re: [android-developers] Widgets size

2011-01-17 Thread Dianne Hackborn
That was written before there was multiple densities, so you should take 74 as in dp. So that is 74 pixels in mdpi, 1.5x in hdpi, etc. An mdpi device with a 480x800 screen has more layout space than a 480x800 hdpi screen. So the size of the widgets in pixels is still 74, but launcher can just pu

Re: [android-developers] Widgets size

2011-01-17 Thread TreKing
On Mon, Jan 17, 2011 at 10:54 AM, Cleverson wrote: > The device is 480 pixels wide and 294 pixels would be covered by 3 cells. > > Who's wrong here? The formula or my interpretation? > >From the same documentation, previous line: "The default Home screen positions App Widgets in its window base

[android-developers] Widgets size

2011-01-17 Thread Cleverson
Hi, I'm trying to understand how the home screen calculates how many cells will be assigned to a given widget. I came across the following sentence in the Android Developer Site: "Because the Home screen's layout orientation (and thus, the cell sizes) can change, as a rule of thumb, you should as

Re: [android-developers] widgets

2010-12-03 Thread TreKing
On Fri, Dec 3, 2010 at 3:21 PM, Mark Murphy wrote: > That is not possible, sorry. Checkout Smart Taskbar. Apparently it is, though I wager it's a hack. - TreKing

Re: [android-developers] widgets

2010-12-03 Thread Mark Murphy
On Fri, Dec 3, 2010 at 12:19 AM, Ramesh M wrote: > Hi, can any one tell me about.. how to display widget in top of > application > i.e even if you working on some other application example typing text > in messages.. >  the widget should display some portion on the application That is not possibl

[android-developers] widgets

2010-12-03 Thread Ramesh M
Hi, can any one tell me about.. how to display widget in top of application i.e even if you working on some other application example typing text in messages.. the widget should display some portion on the application -- You received this message because you are subscribed to the Google Groups "

Re: [android-developers] Widgets: Can the widget icon be different...

2010-03-16 Thread Mark Murphy
Ne0 wrote: > ...to the application icon? > > Essentially i have an application that has a few different activities > and services. I want a widget that indicates whether or not one of the > services is running and starts/stops it on a press. The widget works > fine and does what i want, though whe

[android-developers] Widgets: Can the widget icon be different...

2010-03-16 Thread Ne0
...to the application icon? Essentially i have an application that has a few different activities and services. I want a widget that indicates whether or not one of the services is running and starts/stops it on a press. The widget works fine and does what i want, though when you long press the ho

[android-developers] Widgets: controlling phone functionality

2009-12-10 Thread Derek
I'm a web developer who recently bought a Droid (Android 2.0) and was wondering if it's possible to write a widget that controls certain features of the phone (e.g. lock keypad, adjust screen brightness, etc.) Are there any tutorials that discuss this subject? Thanks! -- You received this messa

[android-developers] Widgets and custom components?

2009-09-27 Thread Moto
Are widgets currently not supporting any type of custom components? I've tried creating a very simple custom TextView component and it does not work when displaying the widget... Also, can we use the animation classes in widgets? Thanks, -Moto --~--~-~--~~~---~--~

[android-developers] Widgets changes with 1.6?

2009-09-20 Thread BoD
Hi! I'm developing a Widget that updates every 10 seconds (android:updatePeriodMillis="1"). On the 1.5 emulator, as well as on my adp1, it works as expected. On the 1.6 emulator, my widgets are not updated. Apparently, AppWidgetProvider.onUpdate(...) is never called. Is there something I miss

[android-developers] Widgets: Imageview doesn't support transparency/alpha

2009-08-07 Thread Tom Z
When applying an alpha value to an imageview, Eclipse displays the view accurately in layout mode. But when exporting to a target device (such as a phone), the alpha appears to be ignored. This impacts developers trying to create fade ins/outs of elements in a widget. Has anyone else come across t

[android-developers] Widgets ( frequent updates )

2009-06-22 Thread Alexey Volovoy
Hi All , i'm looking for the best strategy for the following -- widget suppose to go through cached headlines. And once a 3 hours or so - pull new ones. Update are scheduled from widget config file. Everything seems to be working, except I don't want to running my updates which are simply changing

[android-developers] Widgets - use (any) subclassed Views?

2009-05-16 Thread JP
I've started building a Widget for an app that is mostly map centric, i.e. consists of a screen-filling subclassed MapView, Overlay and so forth. The relevant information that is displayed by the map overlay actually fits into a Widget that uses one of the standard sizes, so it would make sense to

[android-developers] Widgets as Video Overlay. How?

2009-03-22 Thread bestpriv...@googlemail.com
How can I place widgets such as buttons on top of a SurfaceView (Video). According to the reference this should be possible. But I have no idea how the xml file should look like. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

[android-developers] widgets (editText and button) drawn on top of bitmaps...

2008-12-04 Thread petunio
Hi all I am porting an application that I did for the sdk 3 to the last one, and one of the problems that I am facing is: some of the widgets that I have, which are created in the following way: void init() { //create a button myButton = (Button) findViewById(R.id