Android Question Remove Activity Title from emulator?

Roger Daley

Well-Known Member
Licensed User
Longtime User
Hi All,

The default emulator 320*480 does not display 320*480 because of the "Activity" title. How do I remove the title so I have full access to position views [buttons].
Klaus answered a similar post Project Acivity.png Emulator no fit.png in May 2012 with "Menu Project / Activity Properies / Incluse Title." However I do not find anything like "Activity Properties" in the Project menu of the IDE.

Any clue as to how to show the full 320*480 in the emulator would be appreciated.

Regards Roger
 

Roger Daley

Well-Known Member
Licensed User
Longtime User
It is not related to the emulator. The title bar will show on real devices as well.

You should set the FullScreen and IncludeTitle attributes: Modules Attributes

Erel,
I am puzzled! Are you saying that B4A Apps all have a title bar or are you saying that the title bar is only in the "Designer" [Emulator or real device].

If it is only true of the designer, how do you design the layout of buttons on an App for a 320*480 format if the Designer shows only a format for the App of 320*430?

Roger
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
All Android apps show a title bar unless the developer decided to remove it. Set #IncludeTitle to False if you want to remove it.

In the designer you can also remove the bar by setting the activity properties. This will only affect the visual designer. Note that it is not very useful to deal with the designer title as your layout should be flexible and work with all devices.

SS-2014-06-20_09.16.17.png


I recommend you start with the beginner's guide: http://www.b4x.com/android/documentation.html it covers all of these issues.
 
Upvote 0

Roger Daley

Well-Known Member
Licensed User
Longtime User
All Android apps show a title bar unless the developer decided to remove it. Set #IncludeTitle to False if you want to remove it.

In the designer you can also remove the bar by setting the activity properties. This will only affect the visual designer. Note that it is not very useful to deal with the designer title as your layout should be flexible and work with all devices.

SS-2014-06-20_09.16.17.png


I recommend you start with the beginner's guide: http://www.b4x.com/android/documentation.html it covers all of these issues.




Thanks Erel,

The above graphic hit the nail on the head. The "Show Title" and "Full Screen" did exactly what I wanted. Be assured I have been studying the Beginners Guide unfortunately it is always difficult for the beginner to see what is obvious to the expert. I appreciate your patience.


Roger
 
Upvote 0
Top