Questions tagged as 'android'

1
answer

How to put border on a selected item in the ListView?

How to put a border on a ListView item when the user selects that item in the android application?     
asked by 17.12.2015 / 19:27
1
answer

How to check what a html / javascript page is loading?

How can I check what my browser is trying to load even after the html / javascript page has already loaded "completely"? The page is: link If they can do a test and see that it delivers the result correctly, but the browser is loading so...
asked by 03.03.2016 / 17:44
1
answer

How to resize an imageview in Android via code?

I tried using LayoutParams but it did not work, I tried layoutParams.width = 80; and it did not work. Does anyone know how to do this? Thanks in advance. In my case the image got too big I needed to slow down. My code: ImageView i...
asked by 06.01.2016 / 18:29
1
answer

Save EditText and DatePicker in Shared Preferences

I'm trying to save an edittext and a datepicker but they always save both with a die of the two. The date picker when you click on Editext2 it opens the calendar where you click and it selects the date for edittext2. I just need to know how I...
asked by 20.09.2015 / 22:49
1
answer

How do I pass the contents of a String (which I took from the View.toString ()) to a View?

I used the "View.toString" to grab the contents of a string and save it to SharedPreferences, since I need to save the view inside and the SharedPreferences only accepts primitive type, but now I need to set this String to a view that I believe...
asked by 21.09.2015 / 17:29
1
answer

Doubt about the operation of BaseAdapter and ListView

My code is as follows: In the getView method of my BaseAdapter , I add all views created to a list (I need this to do a certain thing). In that same BaseAdapter, I have a getQuantViews method that returns how many views h...
asked by 16.09.2015 / 14:42
1
answer

Sending photo with public privacy

Through the code below, I can send a photo to the user's photos that is logged in, and the photo is sent successfully. But the photo goes Friends . How do I submit with Public privacy? Bundle params = new Bundle(); /* make the API cal...
asked by 03.08.2015 / 23:09
1
answer

Ionic's Apk does not work. White screen

Good morning, I've created an application on Ionic, it works perfectly when I use ionic serve The ionic can generate the Build without any error, however after installing the apk appears only the header and then a white screen. Has anyone e...
asked by 03.09.2015 / 08:20
1
answer

Android - Align Layout above keyboard

I have the following layout: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/view_login" android:layout_width="match_parent" andr...
asked by 10.09.2015 / 12:56
1
answer

AlertDialog.Builder with undue space

I have a space in the bottom of my custom AlertDialog. I do not know why it's happening, knowing that I did not set any margins or padding at the end of my view. If anyone can help. Here is a real print of what is happening Andhere'smyuse...
asked by 14.09.2015 / 20:52