Questions tagged as 'android-layout'

2
answers

When changing the fragment, the former is visible under the new

I'm using fragments instead of activity, but when I call the second fragment with the replace method, it does not completely overlap the previous fragment, it overlaps, but the drawing of the other fragment keeps popping up, how do I this does n...
asked by 23.03.2017 / 19:12
1
answer

Remove selected item bottombar (Lib Roughike)

I have an application that uses NavigationView and BottomBar, I'm having a hard time removing the bootloader item selection when I select a navigationView item, I'm using the Roughike Library link . I tried to use: // Remove item selected...
asked by 16.12.2016 / 11:18
1
answer

Element fixed to the top of the keyboard

I created a RelativeLayout with property match_parent at the time so I can fill the entire screen. Inside it I insert a LinearLayout with property alignParentBottom having value true to fix the element in the f...
asked by 19.12.2016 / 19:16
1
answer

Listview Adapter problems with whitespace

I am creating a listView with adpater and I have a problem, I needed to add an image in the middle of the list to be in the direct corner, this image is just an arrow. how can I solve it, it takes up all the screen space even though I define the...
asked by 09.12.2016 / 17:23
1
answer

Editing in the ListView

I created a separate xml to get better with the ListView .. I just can not relate its id to my onCreate XML: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:...
asked by 02.11.2016 / 16:57
1
answer

Insert image in ListView via JSON + SQL

I created a code that perfectly matches the results via JSON from my database and populates my ListView with Strings, but I'd like the database to bring it from the "image" column I created, the image-related address : link ) and the ListView l...
asked by 31.10.2016 / 12:29
1
answer

Android error - Must specify preferenceTheme in theme

I created a layout (preferences.xml) in the res / xml directory based on the PreferenceScreen. Implemented a class derived from PreferencesFragmentCompat public class PrefsFragment extends PreferenceFragmentCompat { @Override publi...
asked by 30.09.2016 / 21:08
1
answer

Button that overlays all screens

How to make a floating button that overlays all screens, especially the screens outside the application. In the image there are 2 examples of floating buttons     
asked by 05.09.2016 / 19:05
1
answer

Android Button below a ViewPager with no fixed size

I'm creating a layout where I need a button below ViewPager, in this layout I also loads tabs, as in the image below: WhathappensisthatIcannotleavethiswaywithoutsettingtheViewPagersize,itfollowsthexmlofthelayout.<?xmlversion="1.0" encodin...
asked by 10.08.2016 / 20:13
1
answer

ListView Selector and ImageButton not working

Both the button and the ListView are not modified when clicked, but the settings when the item is not pressed work. ListView : <ListView android:id="@+id/listaListas" android:layout_width="wrap_content" android:l...
asked by 20.09.2016 / 17:01