Re: [android-developers] Problem with fragments

2012-09-02 Thread dminik
The problem was solved in the same weird way, as it appeared - I've only removed activity_main.xml and now I can see a big calendar and a button under it. In addition, I've removed some strings from res and the button name in string.xml. So, everything works fine for now. -- You received this

Re: [android-developers] Problem with fragments

2012-09-02 Thread dminik
Yeah, and one more thing, I've removed if -statements. With if -statements it doesn't work. In this case, there is the a problem in manuals... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Problem with fragments

2012-09-01 Thread dminik
Hello! I'm a newbie in software development for android. In my simple program I'm trying to add a new fragment into the main activity during run-time. And here is the place where problems come - the fragment doesn't appear at all. Here is the code from the main activity: public class

Re: [android-developers] Problem with fragments

2012-09-01 Thread Mark Murphy
Use Hierarchy View to examine your activity and see what is and is not actually there. On Sat, Sep 1, 2012 at 3:24 PM, dminik ndimon...@gmail.com wrote: Hello! I'm a newbie in software development for android. In my simple program I'm trying to add a new fragment into the main activity during