Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10123] Android: Expose Action Bar API's hide method to hide the action bar

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-02-16T00:09:48.000+0000
Affected Version/sRelease 2.1.0
Fix Version/sn/a
ComponentsAndroid
LabelsSupportTeam, api, insight, look1
ReporterVarun Joshi
AssigneeIngo Muschenetz
Created2012-07-24T17:10:45.000+0000
Updated2017-03-16T22:20:17.000+0000

Description

Problem

The action bar on Android is appearing by default on devices running Android OS version 3.0 or greater. This is device specific. It happens on Samsung Galaxy Nexus and HTC One X but not on Samsung Galaxy S3. It is requested to expose the hide method that would probably hide the action bar for these devices.

Attachments

FileDateSize
Screenshot_2012-07-18-14-32-07.png2012-08-06T11:31:39.000+000043562

Comments

  1. Vishal Duggal 2012-08-06

    @Varun Could you attach a sample test case which we can use to reproduce the issue.
  2. Varun Joshi 2012-08-06

    Attaching the screenshot of how the action bar looks like (notice the three vertical dots). The Kitchen sink app can be used as a sample. Please let me know if this works.
  3. Varun Joshi 2012-08-06

    De escalating it right now as the workaround provided worked for the customer. The workaround is to add a custom theme based on the android api versions to platform/res/styles folder. Related doc: http://developer.android.com/reference/android/R.style.html and http://developer.android.com/guide/topics/ui/themes.html
  4. Josh Roesslein 2012-08-08

    We might want to utilize the "navBarHidden" property on Window. On older Android versions this will hide the title bar. Honeycomb or later have replaced the title bar with the action bar. It seems logical we would control the visibility of both with the same property.
  5. Neeraj Gupta 2012-08-21

    Moving this out of the current release as Google recommends using theme to achieve the desired behavior and the theme is working for the customer.
  6. Vishal Duggal 2013-02-16

    http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.Android.ActionBar-method-hide
  7. Lee Morris 2017-03-16

    Closing ticket as fixed.

JSON Source