acrabb / businessOnesies

0 stars 0 forks source link

Slider should look like a slider in the UIElements popup #11

Closed acrabb closed 11 years ago

achalddave commented 11 years ago

more generally, all elements need a way to show themselves in the popups.

acrabb commented 11 years ago

DevelopmentActivity.createImageViewWithBitmap( DevelopmentActivity.createBitmapOfView( view ), context );

Just make sure the layout params of the views (elements) are set to the right size before calling this. (Note: you may have to inflate the layouts before this works, but I'm not sure. Try without it first.)

-André.

On Mon, Apr 29, 2013 at 1:36 AM, Achal Dave notifications@github.comwrote:

more generally, all elements need a way to show themselves in the popups.

  • Just take a screenshot and put it there (but then we have an ugly background, or black element on black background)
  • Use the onDraw methods of each element to somehow render them onto the popup (issue: "somehow")

— Reply to this email directly or view it on GitHubhttps://github.com/acrabb/businessOnesies/issues/11#issuecomment-17155213 .

acrabb commented 11 years ago

Oh, and this wouldn't go in the onDraw method of the elements. This would go in the 'showUIElementsPopup' function or something. And we would delete the elements in the xml.

-André.

On Mon, Apr 29, 2013 at 1:59 AM, André Crabb crabb.andre@gmail.com wrote:

DevelopmentActivity.createImageViewWithBitmap( DevelopmentActivity.createBitmapOfView( view ), context );

Just make sure the layout params of the views (elements) are set to the right size before calling this. (Note: you may have to inflate the layouts before this works, but I'm not sure. Try without it first.)

-André.

On Mon, Apr 29, 2013 at 1:36 AM, Achal Dave notifications@github.comwrote:

more generally, all elements need a way to show themselves in the popups.

  • Just take a screenshot and put it there (but then we have an ugly background, or black element on black background)
  • Use the onDraw methods of each element to somehow render them onto the popup (issue: "somehow")

— Reply to this email directly or view it on GitHubhttps://github.com/acrabb/businessOnesies/issues/11#issuecomment-17155213 .

achalddave commented 11 years ago

We would still run into the issue that the popup has a dark background, but the canvas has a light one... Should we make the bg of the popup lighter? I think that would also look nicer.

Sent from my Windows Phone


From: André Crabbmailto:notifications@github.com Sent: ‎4/‎29/‎2013 2:00 AM To: acrabb/businessOnesiesmailto:businessOnesies@noreply.github.com Cc: Achal Davemailto:achalddave@live.com Subject: Re: [businessOnesies] Slider should look like a slider in the UIElements popup (#11)

Oh, and this wouldn't go in the onDraw method of the elements. This would go in the 'showUIElementsPopup' function or something. And we would delete the elements in the xml.

-André.

On Mon, Apr 29, 2013 at 1:59 AM, André Crabb crabb.andre@gmail.com wrote:

DevelopmentActivity.createImageViewWithBitmap( DevelopmentActivity.createBitmapOfView( view ), context );

Just make sure the layout params of the views (elements) are set to the right size before calling this. (Note: you may have to inflate the layouts before this works, but I'm not sure. Try without it first.)

-André.

On Mon, Apr 29, 2013 at 1:36 AM, Achal Dave notifications@github.comwrote:

more generally, all elements need a way to show themselves in the popups.

  • Just take a screenshot and put it there (but then we have an ugly background, or black element on black background)
  • Use the onDraw methods of each element to somehow render them onto the popup (issue: "somehow")

— Reply to this email directly or view it on GitHubhttps://github.com/acrabb/businessOnesies/issues/11#issuecomment-17155213 .


Reply to this email directly or view it on GitHub: https://github.com/acrabb/businessOnesies/issues/11#issuecomment-17156074

acrabb commented 11 years ago

when you use the functions to create an image view from a bitmap of an image, it only takes the view into account. not whats behind it. So, the slider, radio button, etc, will only be that, with transparency everywhere else.

-André.

On Mon, Apr 29, 2013 at 11:15 AM, Achal Dave notifications@github.comwrote:

We would still run into the issue that the popup has a dark background, but the canvas has a light one... Should we make the bg of the popup lighter? I think that would also look nicer.

Sent from my Windows Phone


From: André Crabbmailto:notifications@github.com Sent: 4/29/2013 2:00 AM To: acrabb/businessOnesiesmailto:businessOnesies@noreply.github.com Cc: Achal Davemailto:achalddave@live.com Subject: Re: [businessOnesies] Slider should look like a slider in the UIElements popup (#11)

Oh, and this wouldn't go in the onDraw method of the elements. This would go in the 'showUIElementsPopup' function or something. And we would delete the elements in the xml.

-André.

On Mon, Apr 29, 2013 at 1:59 AM, André Crabb crabb.andre@gmail.com wrote:

DevelopmentActivity.createImageViewWithBitmap( DevelopmentActivity.createBitmapOfView( view ), context );

Just make sure the layout params of the views (elements) are set to the right size before calling this. (Note: you may have to inflate the layouts before this works, but I'm not sure. Try without it first.)

-André.

On Mon, Apr 29, 2013 at 1:36 AM, Achal Dave notifications@github.comwrote:

more generally, all elements need a way to show themselves in the popups.

  • Just take a screenshot and put it there (but then we have an ugly background, or black element on black background)
  • Use the onDraw methods of each element to somehow render them onto the popup (issue: "somehow")

— Reply to this email directly or view it on GitHub< https://github.com/acrabb/businessOnesies/issues/11#issuecomment-17155213>

.


Reply to this email directly or view it on GitHub: https://github.com/acrabb/businessOnesies/issues/11#issuecomment-17156074

— Reply to this email directly or view it on GitHubhttps://github.com/acrabb/businessOnesies/issues/11#issuecomment-17184018 .

achalddave commented 11 years ago

Right. The issue is, all the UI Elements are dark in color, which means they'll be barely visible in the dark popup background.

acrabb commented 11 years ago

Oh, duh. Then yea I'm down to make the popup lighter. I agree it would look nicer. Just copy the 9patch image into illustrator and edit :)

-André.

On Mon, Apr 29, 2013 at 11:48 AM, Achal Dave notifications@github.comwrote:

Right. The issue is, all the UI Elements are dark in color, which means they'll be barely visible in the dark popup background.


From: André Crabbmailto:notifications@github.com Sent: 4/29/2013 11:47 AM To: acrabb/businessOnesiesmailto:businessOnesies@noreply.github.com Cc: Achal Davemailto:achalddave@live.com Subject: Re: [businessOnesies] Slider should look like a slider in the UIElements popup (#11)

when you use the functions to create an image view from a bitmap of an image, it only takes the view into account. not whats behind it. So, the slider, radio button, etc, will only be that, with transparency everywhere else.

-André.

On Mon, Apr 29, 2013 at 11:15 AM, Achal Dave notifications@github.comwrote:

We would still run into the issue that the popup has a dark background, but the canvas has a light one... Should we make the bg of the popup lighter? I think that would also look nicer.

Sent from my Windows Phone


From: André Crabbmailto:notifications@github.com Sent: 4/29/2013 2:00 AM To: acrabb/businessOnesiesmailto:businessOnesies@noreply.github.com Cc: Achal Davemailto:achalddave@live.com Subject: Re: [businessOnesies] Slider should look like a slider in the UIElements popup (#11)

Oh, and this wouldn't go in the onDraw method of the elements. This would go in the 'showUIElementsPopup' function or something. And we would delete the elements in the xml.

-André.

On Mon, Apr 29, 2013 at 1:59 AM, André Crabb crabb.andre@gmail.com wrote:

DevelopmentActivity.createImageViewWithBitmap( DevelopmentActivity.createBitmapOfView( view ), context );

Just make sure the layout params of the views (elements) are set to the right size before calling this. (Note: you may have to inflate the layouts before this works, but I'm not sure. Try without it first.)

-André.

On Mon, Apr 29, 2013 at 1:36 AM, Achal Dave notifications@github.comwrote:

more generally, all elements need a way to show themselves in the popups.

  • Just take a screenshot and put it there (but then we have an ugly background, or black element on black background)
  • Use the onDraw methods of each element to somehow render them onto the popup (issue: "somehow")

— Reply to this email directly or view it on GitHub<

https://github.com/acrabb/businessOnesies/issues/11#issuecomment-17155213>

.


Reply to this email directly or view it on GitHub:

https://github.com/acrabb/businessOnesies/issues/11#issuecomment-17156074

— Reply to this email directly or view it on GitHub< https://github.com/acrabb/businessOnesies/issues/11#issuecomment-17184018>

.


Reply to this email directly or view it on GitHub: https://github.com/acrabb/businessOnesies/issues/11#issuecomment-17186007

— Reply to this email directly or view it on GitHubhttps://github.com/acrabb/businessOnesies/issues/11#issuecomment-17186081 .