Finally I only added the line I put here below to the listview and it was solved, thanks for the answers!
android: paddingBottom="attr / actionBarSize" / >
Good the problem is that my listview shows me the list, but the last element of the list does not show it complete, if not that the last one is cut,:
As you can see in the picture Luis does not appear completely.
Lisview:'<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<ListView
android:id="@+id/LvListaUsuarios"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" />
</LinearLayout>
Adaptador:'public class AdaptadorListaUsuarios extends ArrayAdapter<Usuario>{
public AdaptadorListaUsuarios(Context context, ArrayList<Usuario> usuarios) {
super(context, 0, usuarios);
}
@Override
public View getView(int position, View convertView, ViewGroup parent) {
LayoutInflater layoutInflater = (LayoutInflater) getContext().getSystemService(Activity.LAYOUT_INFLATER_SERVICE);
if (convertView == null) {
convertView = layoutInflater.inflate(R.layout.item_lista_usuarios,parent,false);
}
TextView nombre = (TextView) convertView.findViewById(R.id.tvUsuarioLista);
TextView correo = (TextView) convertView.findViewById(R.id.tvCorreoLista);
Usuario usuario = getItem(position);
nombre.setText(usuario.getNombreUsuario());
correo.setText(usuario.getEmail());