Tagged Questions
0
votes
3answers
49 views
How to change the xml within the same activity
I´m trying to change xml layouts (the differences are mainly the distribution of the components inside) within the same activity. Actually is a pitch (background of the layouts) and have different ...
-1
votes
0answers
17 views
Preserve ContentView when starting new activity
I would like to start an activity B from activity A, but I would like to preserve the A's ContentView and change only a part of it in activity B.
Is it possible?
0
votes
2answers
29 views
Activity switch and Async Android
I have 2 activities: MainActivity which is associated with main.xml layout (app "Home" screen) and AboutActivity which is associated with about.xml layout (app "About" screen).
While in ...
0
votes
3answers
33 views
Android call method from an other activity
I have read a bunch of posts,articles and everything but i cant get a solution..
i make an android app..
i start the first activity(first class). then i have a button for the second activity which i ...
0
votes
3answers
40 views
Activitiy's layout opens more than one?
I have three activities connected witdh three layouts. When I call an activity everytime before one collect background. eg. I am on the mainactivity then, I call B then call main again when I am on ...
0
votes
0answers
54 views
Creating a media menu items view attached to action bar
I have put an action item on action bar, selecting which should open an option menu item view. It should be opened being attached to action bar.
I created an xml layout file.
Contents:
<?xml ...
1
vote
0answers
17 views
status bar activity skips parent to return to grand-parent
My android app uses an abstract activity, StatusActivity, for my status bar. In my status bar is a button that dispatches activity Zeta. Now say AlphaActivity dispatched BravoActivity, and then from ...
0
votes
1answer
52 views
Android - Is it possible to change the gravity of a custom dialog?
The image below is essentially what I want to achieve, this comes straight out of eclipse as my dialog_layout.xml
I want to inflate a custom dialog and have it on the right of screen to serve as a ...
0
votes
1answer
71 views
Sidebar in each activity
For an application I am designing we have to deal with some "special" needs of our users. One of these is to create a navigation sidebar that has to appear in almost all the activities.
This ...
1
vote
1answer
106 views
Dynamically updating data between android app activities
I recently had a question (Android: sharing data between activities) where I solved a part of my problem, but I am still having issues. I decided to start completely fresh.
This simple app does the ...
2
votes
1answer
83 views
Text adventure app for Android - how to draw different content of XML layout depending on the an integer
If you don't want to go through a bit of wall of text, go to tl;dr.
I want to create a text adventure app for Android.
It's gonna be huge, so I figured out instead of creating 10,000 activities I ...
1
vote
0answers
62 views
Android Activity to Fragment - Possible without massive changes?
I've finished one of my new games and I think it would be 10x better with some kind of Facebook integration. I'm new to the facebook sdk and I can see that it utilises fragments, which I'm not overly ...
0
votes
0answers
36 views
Keeping layout in new activity
In my layout "as below". I want to start another activity as soon as flipper is done and continue with same state of view in new activity.
Basically I want to keep some part of layout to be static ...
1
vote
2answers
182 views
Add layout with parameters programmatically Android
Hello I have a main screen.
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
...
0
votes
2answers
503 views
ActivityThread.performLaunchActivity(ActivityThread$ActivityClientRecord, Intent) line: 2100 source not found
Ive started developing an app and i havent changed the class, nor changed the manifest, only created the xml layout:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
...