Questions tagged as 'android-layout'

0
answers

How to make a GridView like this?

Hello, I'm learning Android and I learned a lot about ListView ... But not much about GridView, so I'd like to know how to develop a GridView similar to the below: (The title "POPULAR" does not matter), just wanted I know how to configure the "si...
asked by 02.09.2017 / 00:29
1
answer

Linearlayout on a listview

I have a LinearLayout that I want when it gets VISIBLE it overlaps a listview, how do I do that? I want my LinearLayout option to override the listview when it is set to VISIBLE. <RelativeLayout xmlns:android="http://schemas.android.com/apk...
asked by 14.08.2017 / 17:56
1
answer

Swipe Refresh on api 15

I'm making an application that uses swipe refresh a lot, would you like to know how to implement the swipe refresh on androids with api 15? If it is not possible how can I create the swipe for android that support it and an alternative for other...
asked by 05.08.2017 / 00:15
0
answers

Low performance in RecyclerView with ConstraintLayout, within a ViewPager on Android

I have a RecyclerView with about 20 items. It takes quite a while to render and blocks the UI. I'm using ConstraintLayout to position items on each line. They are nothing complex as you can see in the preview. I also have a ViewPager...
asked by 28.08.2017 / 16:11
1
answer

Why does ProgressBar hide behind the button?

I created a RelativeLayout with a button and a circular ProgressBar. Here's how: <RelativeLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal"> &...
asked by 28.07.2017 / 19:19
0
answers

How to implement Navigation Drawer with Bottom Navigation in the same application

In an app that has NavigationDrawer with Bottom Navigation , what would be the recommended path for implementation? I looked for tutorials and found neither in the official documentation. I created an app based on the NavigationDrawer...
asked by 19.07.2017 / 16:23
0
answers

Android Folder Structure

Hello! I am starting my studies in Android development, I am trying to list and link the folders of the Android Memory, either internal or external. I can already list and display in a Listview or LinearLayout, but how do I when the user clicks...
asked by 18.07.2017 / 03:52
1
answer

Screen and Keyboard Configuration

Well, I have a certain difficulty: I created a form in android studio to insert some information, as in figure 1. Inallfields,Icanentertheinformationwithoutproblems.However,whenIenterthelastfield(whosehintis"insert a description of your even...
asked by 16.06.2017 / 19:57
1
answer

After changing the Navigation Drawer icon it does not open anymore

I customized that side menu icon and put an icon of mine. Here is the image: Problem: When I click on the Icon, it no longer opens that menu on the side. Here is the code I used to change the icon: toggle.setHomeAsUpIndicator(R.drawable....
asked by 19.06.2017 / 17:05
0
answers

TextView is not aligned below with the android property: layout_gravity="bottom"

I have two texts views that will appear in a ListView and I want one to be aligned above and one below, but it's not working the way I'm doing.      xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android....
asked by 17.05.2017 / 18:10