All Questions
15
questions
1
vote
0
answers
50
views
Android single activity app structure for smooth ux
I have an app that has only one activity and 5 fragments. I removed the navigation component because it was buggy and restored the old navigation, which is simply a ...
1
vote
1
answer
1k
views
Starting an activity after 1000ms from a splash screen with Runnable and Handler().postDelayed
I have implemented a splash screen which is the main activity of my Android app. This splash screen shows an image, and after 1000ms there is an animation to show another activity's layout.
The code ...
4
votes
1
answer
80
views
Android Java Splash Screen code
Here's my android splash screen. I am trying to figure out a better way to write it. It just moves the logo up to the center of the screen. It's my third time creating a splash screen for an android ...
2
votes
0
answers
617
views
Extend OnClickListener and animate view in android
I'm working on animation and I want to organize my code in best way I'm new in android and not know too much about this. Here is my code that I'm using to animate ...
6
votes
0
answers
116
views
Android component animatable on its height
I'd like to have a code review for a component which is supposed to be animatable on its height. It's supposed to be a transitioning element.
I find it quite laggy on my phone.
...
2
votes
1
answer
6k
views
Animating multiple views in Android efficiently
I am currently making an application where the user will launch the app and the first this we see is the app logo fade in at the center of the screen. After about a second, the logo will translate up ...
3
votes
0
answers
207
views
Animation for android ImageViews acting as game pieces
My question is about how to achieve a well-performing animation for a set of ImageViews, so that the foreground fades away and the background stays the same.
...
1
vote
1
answer
231
views
Progress indication with animation
I have a game in which the player has to do something within a defined time.
E.g.: the player has 10 seconds to complete a level.
My current code animates an imageview (it's only a horizontal line) ...
0
votes
1
answer
303
views
2
votes
0
answers
316
views
Dice-rolling Android app
This is just a simple app. All it's suppose to do is move the dice around the screen when the user swipes up or down. It will move 2 dice (image drawables) to a position on the screen depending ...
6
votes
1
answer
2k
views
Grid with images in RecyclerView
I've created a Grid with a RecyclerView similar to the GoogleIO 2014's generic media player one.
GoogleIO generic music player
Mine
The thing is that the images ...
6
votes
1
answer
2k
views
Performance optimization on Box2D with libgdx
A few days ago I decided that I wanted to get involved with libgdx. So far I'm blown away by how simple it is to get something on the screen to work with.
I'm trying to make a very simple tech demo ...
2
votes
2
answers
1k
views
Thread, handler and activity structure for a bouncing ball animation
This is a custom MyActivity class with two custom views (bar and a ball):
...
2
votes
1
answer
2k
views
Loader animation using Custom View in Android
I created a loader animation for an Android app: a simple 3 dots loader.
Is this the correct way to animate by using TimerTask?
...
5
votes
1
answer
98
views
Sprite is Refreshing
I am using "AndEngine" and I would like to know if I am following the best practice when I want to refresh the entity.
Let say, I have 2 sprites and I want change them into 2 another sprites.
I ...