Questions tagged as 'android'

3
answers

Scroll when focusing on a Component X JAVA

I find myself with the following dilemma suppose I have a control in this case a EditText and below I have a Button which allows me to follow the course of the app, Now my problem is that I want that when you focus or click the...
asked by 23.02.2018 / 18:27
1
answer

Multiple filtering in an ArrayList

I have a method that receives an Object of type List of a class of its own that is called Pallet. The class Pallet has a creation date, an article, an id, a warehouse ... etc. The method    filterPalletWithDataretorna (List lis...
asked by 03.10.2017 / 15:29
2
answers

Copy TextView on Clipboard when pressed

I want to make that when I clicked on a TextView in andorid studio it was copied to the clipboard, I tried to put the android:longClickable="true" line in the text view tag as I read on a page, but nothing. I have changed in the androi...
asked by 10.04.2018 / 16:13
2
answers

Item of one color or another (RecyclerView)

What I want to achieve is the following, that an element is painted in one color and the next in another: ----------- item0: azul ----------- item1: amarillo ----------- item2: azul ----------- item3: amarillo ----------- ... and thus witho...
asked by 20.06.2017 / 16:40
2
answers

Click on a button in a listview to have an activity open

I have this ListviewAdapter and I would like to know how I can add an equal button to each item in the list, that when I press it, I will be directed to another activity. public class ListViewAdapter extends BaseAdapter { // Declare Variables...
asked by 03.06.2017 / 17:16
1
answer

Direct my button to google maps on Android

Hello, I have been doing an APP, which is basically filled by a WebService, where I get all the information in it its latitud and longitud in this example of a school x, in my detail and put a map button is say that if you click on...
asked by 19.07.2017 / 17:12
2
answers

Save images in cache memory so as not to download them again

Good morning. I have a series of images in my Activity , every time I enter this Activity download the images, for what I consider that this "wrong", I was reading about the consumption of resources of the images but I am not v...
asked by 17.01.2017 / 15:46
1
answer

How to use openweathermap

Hello friends, I want to integrate in my App a window where I show a list of the weather forecast of a city, and I want it to be more or less like this I have researched and found that there is a service called Openweathermap, I have regist...
asked by 08.01.2017 / 20:51
2
answers

Why does not the layout change (Portrait / Landscape) when the device is rotated?

I have implemented tabs with the viewpager, depending on the orientation of the screen (Portrait / Landscape) the layout assigned for each view must be changed, but it does not change, it remains with the layout that started the activity, some i...
asked by 12.01.2017 / 00:45
1
answer

how can I make a horizontal ListView on android?

They could tell me how I can do a Horizontal ListView, I have a HorizontalScrollView but it gets stuck when I use it, but I have no idea how to do the Horizontal ListView. Thanks in advance.     
asked by 01.08.2016 / 22:30