hi,
Thanks for u reply.But i was looking to get the screen size available for
our application.
regards,
Kalyan
On Mon, Jun 2, 2008 at 8:33 PM, <[EMAIL PROTECTED]> wrote:
>
> With this you get the maximum size available off the certain
> cellphone.
>
> As for QVGA that would be 320*240.
>
> On Jun
With this you get the maximum size available off the certain
cellphone.
As for QVGA that would be 320*240.
On Jun 2, 4:59 pm, "Kalyan Kondapally"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> Yes.But do we get the screen width available to our appl there.when should I
> use that.As i am confused when,our
Hi,
Yes.But do we get the screen width available to our appl there.when should I
use that.As i am confused when,our view is assignedthe height and width.Is
it onLayout or onMeasured??
Regards,
Kalyan
On Mon, Jun 2, 2008 at 8:25 PM, <[EMAIL PROTECTED]> wrote:
>
> You mean something like this:
>
You mean something like this:
WindowManager a = this.getWindowManager();
Display v = a.getDefaultDisplay();
String s = "Height: " + v.getHeight(); --> display height
String b = "Widtht: " + v.getWidth(); --> display width
?
On Jun 2, 7:23 am, "Kalyan Kondapally"
Hi Dolan,
I think u miss udestood my Question.I have that in my xml file, before
drawing my Layout which contains my list view.I would liek to check for some
conditions and depending on it set the width of the layout(I mean reduce it
,not allow it to occupy the whole screen).For this i need to cal
Hi Kalyan,
to set the width in whole screen, use
android:layout_width="fill_parent"
Thanks,
Dolan.
On Mon, Jun 2, 2008 at 10:28 AM, Kalyan Kondapally <
[EMAIL PROTECTED]> wrote:
> Hi Dolan,
>
> I would like to retrieve the Screen Size so that I could ajust the width of
> my Layout and use the re
Hi Dolan,
I would like to retrieve the Screen Size so that I could ajust the width of
my Layout and use the remaining to place another image view.
With this it fills the whole screen width isint it??
Regards,
Kalyan
On Mon, Jun 2, 2008 at 10:23 AM, dolan kundu <[EMAIL PROTECTED]> wrote:
>
> Hi
Hi Kalyan,
To control the position of the image, adjust the x and y-co-ordinate in the
xml file.
Thanks,
Dolan.
On Sun, Jun 1, 2008 at 11:14 PM, Kalyan <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I created a simple List view.Now i want to control the width of the
> List view.
> I have the following
Hi Kalyan,
To fix the actual size of the screen, try like this way:
android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="384dip"
android:layout_weight="1"
android:layout_x ="0px"
9 matches
Mail list logo