Questions tagged as 'android'

1
answer

Application restarts when orientation changes (rotated)?

I did this in my app: OnCreate: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ... Instances: @Override protected void onSaveInstanceState(Bundle outState){ super.onSaveIn...
asked by 19.07.2016 / 20:14
1
answer

android text gradient

Is it possible to create a gradient in the text (and not the background ) of a textView using XML only? I know that using shader can do with code ( here >) Is it possible to do this using only XML ?     
asked by 24.05.2016 / 15:43
1
answer

Background with two colors

I would like to create a background with two colors at a 45 degree angle, but without transition. I did it this way: <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shap...
asked by 15.05.2016 / 07:12
1
answer

View a dynamically loaded text / photo block with QML for Android

I'm writing an application using the QML of the newly released Qt 5.2 targeted for Android. On one of the screens I need to display an article that is loaded from a server and may change after the application has been released. The article would...
asked by 15.12.2013 / 18:09
1
answer

Animation on Android, circle emitting waves

I need to do an effect similar to% of% in% with%, that the circle photo emits waves (zoon from below) as can be seen in the video link That's a lot of help, because I do not even know where to start the search! I'm using Android Studio w...
asked by 01.02.2015 / 14:59
1
answer

Difference between scheduleAtFixedRate and schedule in the ScheduledExecutorService class

What is the difference between scheduleAtFixedRate and schedule ? I'm developing an app on Android that I want to have a delay of 50 minutes before starting an action and repeat that same action in the next 50 minutes, but I'd li...
asked by 12.02.2015 / 16:32
1
answer

Invisible buttons in the emulator but visible in the preview

Why do not the buttons I create in xml show up in avd? In the layout they appear with a gray color, however when boto to run in the emulator they are simply invisible. If I put some text in the button, the text appears, but the button does not....
asked by 13.04.2015 / 19:46
1
answer

Avoid removing the TestProvider from the Mock Location

I'm trying to mock location for use in another application, but that application is removing my TestProvider, making it impossible to mock the location. How can I prevent this other app from removing my TestProvider ? The code that the ot...
asked by 30.11.2015 / 18:16
1
answer

Change icon action back with fragment

Good morning, I'm having trouble changing the back icon action
asked by 03.11.2015 / 14:34
1
answer

How to get the result of the Request in Retrofit 2.0

Well, I'm starting to study Android, I even made an application with Volley but a friend indicated Retrofit because it was much faster and "simple". But I still can not understand much. I have a WebService where I want to log in. I have to se...
asked by 09.12.2015 / 23:00