Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25384] Android: extendBackground extends the screen below soft system navigation

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2017-11-13T21:01:39.000+0000
Affected Version/sRelease 6.2.0
Fix Version/sRelease 7.0.0
ComponentsAndroid
Labelsn/a
ReporterPrashant Saini
AssigneeYordan Banev
Created2017-10-11T15:03:35.000+0000
Updated2017-11-15T05:57:37.000+0000

Description

Setting 'extendBackground' to _true_ extends the screen not only behind the StatusBar, but also behind the software system navigation buttons on devices with one. Test case: *index.xml*
<Alloy>
	<Window title="My Test App" backgroundColor="gray" customToolbar="toolbar">
		<Toolbar
			id="toolbar"
			title="MyMenu"
			subtitle="Subtitle"
			width="Ti.UI.FILL"
			top="0"
			barColor="#639851"
			extendBackground= "true"/>
	</Window>
</Alloy>

Attachments

FileDateSize
extended.png2017-10-11T15:06:13.000+000089816

Comments

  1. Yordan Banev 2017-10-12

    PR: https://github.com/appcelerator/titanium_mobile/pull/9524
  2. Prashant Saini 2017-10-12

    Ti.UI.Window should also have extendBackground property so that window can be extended on *Windows* not having *Toolbar*. This will provide total control on when to extend background & on which component it has to be extended.
  3. Lokesh Choudhary 2017-11-08

    FR Passed. Waiting for merge to get enabled.
  4. Abir Mukherjee 2017-11-15

    Changes are seen in SDK 7.0.0.v20171114202841.

JSON Source