Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6234] Android: Change Ti.Facebook.LoginButton style properties string "wide" and "normal" to constants

GitHub Issuen/a
TypeNew Feature
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2012-04-05T10:36:56.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sRelease 2.1.0, Sprint 2012-07
ComponentsAndroid
Labelsapi
ReporterSabil Rahim
AssigneeArthur Evans
Created2011-11-18T11:38:11.000+0000
Updated2012-06-05T17:47:52.000+0000

Description

We actually created new style constants as part of the parity bug timob-5163. It replaces the internal usage of "wide" & "normal" and replaces it with constants Ti.Facebook.BUTTON_STYLE_WIDE & Ti.Facebook.BUTTON_STYLE_NORMAL. Please keep the original names in backward compatibility in 1.9 and deprecate it.

Comments

  1. Sabil Rahim 2011-11-18

    Parity bug for the same issue.
  2. Marshall Culpepper 2012-04-03

    Since this can be automated, we should also be adding a drillbit test for these properties
  3. Arthur Evans 2012-04-03

    We don't seem to have any drillbit tests for Facebook. Did you just want to test for the existence of the constants, or...?
  4. Arthur Evans 2012-04-03

    Added drillbit test. Also note that the updated KitchenSink can be used as a test for this. With these changes, running Mashups > Facebook tests in KS should: 1) Not throw an exception. 2) Show the appropriately sized button.
  5. Natalie Huynh 2012-06-05

    Tested with version=2.1.0 module_apiversion=2 timestamp=06/05/12 17:26 githash=2b67019 on Droid 3 2.3.4

JSON Source