On Feb 19, 2:16 pm, Kritzli wrote:
> Did you mean HelloLinearLayout or the API Demos ?
> Well, I had a look at both. But as I mentioned before, in my opinion I
> can't create a layout in XML.
> It need to be dynamically.
>
> Maybe I'm thinking in the wrong direction...
no, i mean LinearLayout.j
Did you mean HelloLinearLayout or the API Demos ?
Well, I had a look at both. But as I mentioned before, in my opinion I
can't create a layout in XML.
It need to be dynamically.
Maybe I'm thinking in the wrong direction...
--
You received this message because you are subscribed to the Google
Gr
> That's because you can't "define a position with specific values".
Um, why not ? It worked well in onGesturePerformed-Method. That's why
I'm thinking it also should be working.
And I can't create a layout in XML, cause I don't know how many and
where the widgets would be moved.
> err, well, L
On Feb 17, 5:08 pm, Mark Murphy wrote:
> skink wrote:
> > On Feb 17, 4:58 pm, Mark Murphy wrote:
> >> You cannot just arbitrarily position widgets wherever you want -- their
> >> position is dictated by their layouts.
>
> > unless he writes own custom layout extending ViewGroup -
>
> Agreed. Go
skink wrote:
> On Feb 17, 4:58 pm, Mark Murphy wrote:
>> You cannot just arbitrarily position widgets wherever you want -- their
>> position is dictated by their layouts.
>>
>
> unless he writes own custom layout extending ViewGroup -
Agreed. Got any well-documented examples?
--
Mark Murphy (a
On Feb 17, 4:58 pm, Mark Murphy wrote:
>
> You cannot just arbitrarily position widgets wherever you want -- their
> position is dictated by their layouts.
>
unless he writes own custom layout extending ViewGroup -
RelativeLayout in his case is pretty useless
pskink
--
You received this mess
Kritzli wrote:
> Thank you for your replies. But I still don't get it...
>
> Could you please explain how I should use the LayoutParams ?
> I thouht I only can use them with FILL_PARENT, WRAP_CONTENT and
> addRule() but not to define a position with specific values.
That's because you can't "defi
Thank you for your replies. But I still don't get it...
Could you please explain how I should use the LayoutParams ?
I thouht I only can use them with FILL_PARENT, WRAP_CONTENT and
addRule() but not to define a position with specific values.
@pskink
How would you do that ?
On 17 Feb., 15:23, s
Kritzli wrote:
> I'm still stuck on this problem. I tried to solve it by making the
> whole activity dynamic. But still the button is positioned at top
> left.
> I can't see why
>
> ok.layout(k.getLeft(), k.getTop(), k.getRight(),k.getBottom());
>
> isn't repositioning the button, even if it show
Kritzli wrote:
> I'm still stuck on this problem. I tried to solve it by making the
> whole activity dynamic. But still the button is positioned at top
> left.
> I can't see why
>
> ok.layout(k.getLeft(), k.getTop(), k.getRight(),k.getBottom());
>
> isn't repositioning the button, even if it show
I'm still stuck on this problem. I tried to solve it by making the
whole activity dynamic. But still the button is positioned at top
left.
I can't see why
ok.layout(k.getLeft(), k.getTop(), k.getRight(),k.getBottom());
isn't repositioning the button, even if it shows the right Values on
LogCat.
Ok. Here's some more information about my App.
I'm going to create a keyboard app. Or rather an App where you can
define your own keyboard. Therefore I have two Activities A and B.
Activity A:
Here I want to create a single key. This is currently realized by
configuring a button.
The buttons size
> You cannot pass a Button via an Intent.
You're right. I only pass the height, width and text of the button I
customized in Activity A.
> Activity B cannot modify the UI of Activity A. Activity B cannot safely
> reuse the widgets of Activity A.
I don't want to modify the UI of Activity A. Activ
13 matches
Mail list logo