Hi Daniel,
can u please tell me where i will get the default layout coordinate
for one application?
Let me clear my doubt once again!
consider there are two separate application(dialer & calc).
At the time of launching calculator application I want to resize the
application size
so that it launches in half of the android screen. And again at the
time of launching dialer application I want to resize the application
size so that it fits into the other half of the android screen.
Is this really possible?
What I am thinking is if I can change the application layout size,then
it will be possible.
please put some idea into this.
-souvik
On Jun 24, 5:28 pm, honcheng <
honch...@gmail.com> wrote:
> Most application consists of activities. Activities fills the screen.
> You probably mean having 2 views
>
> Sent from my iPhone
>
> On 24-Jun-2009, at 7:09 PM, "Daniel , Dao Quang Minh" <
dqmin...@gmail.com
>
> > wrote:
> > I have never done those things before. Basically you cannot run two
> > applications in 1 screen. So my best guess is that you have to use
> > nested layout.
>
> > For nested layout, you need to have a child layout as a placeholder
> > inside your normal layout, so it will look like:
>
> > <RelativeLayout>
> > <LinearLayout/> or any customized layout here
> > </RelativeLayout>
>
> > and you need to have another .xml file declaring the layout you want
> > to added into the original.
>
> > After that, you can use View.inflate() to attach the it into the
> > original one.
>
> > Hence, the resizing function will be the layout resize function.
>
> > Daniel.
> > On Wed, Jun 24, 2009 at 6:43 PM, souvik <
sadhu.sou...@gmail.com>