Questions tagged as 'android-layout'

2
answers

Element superimposed on a Framelayout

I put a FrameLayout blue (see image) and I move it with my finger, but it hides when I go over the edge of FrameLayout father, and the idea is that it is always superimposed, but that it is still added in Framelayout father...
asked by 31.01.2017 / 20:19
2
answers

Prevent sliding gesture in an Android ViewPager

How can you disable the scrolling of ViewPage pages when a swipe gesture is made?     
asked by 08.12.2016 / 10:23
1
answer

Put a bold word in an XML text

I've been looking and I've seen several solutions but they all go through something out of TextView , for example to use row separation and I use \n there is not something similar to put a single word (or several different ones) in...
asked by 11.02.2017 / 16:42
1
answer

Can an Activity be saved in a preference?

I'm creating an App, I've already finished it, but I start thinking as a user if I'm browsing and suddenly I'm forced to close the App or minimize it, it starts again with the activity that is predetermined in manifest de android ,...
asked by 06.01.2017 / 23:58
1
answer

Transitions of elements between activities

Is there any way to make transitions between activities other than as follows? ActivityOptions transitionActivityOptions; transitionActivityOptions = makeSceneTransitionAnimation(activity, sharedView, "shared_image"); v.getContext().startActiv...
asked by 08.11.2016 / 11:58
1
answer

Resources in android pixel density, xxdpi, xdpi, hdpi, mdpi, ldpi

I find that static images included in the apps, with aspect ratio 16: 9 on tablets, brushstrokes are displayed, which is the way to generate resources appropriately for each pixel density ldpi,mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi I under...
asked by 16.09.2016 / 19:57
1
answer

EditText with error message on Android

In the Google Material Design Design Guide , to show an error message when a field is incorrectly filled in, an error message is used below the component, I wonder how that text is established and what method it launches for its appearance, ho...
asked by 18.04.2016 / 18:00
2
answers

Create a RecyclerView with horizontal and vertical scrolling at the same time

A few weeks ago I am learning to use the RecyclerView . My main intention to learn how to use it, was that I needed to implement a horizontal list, that is, when turning the device in landscape mode (horizontal) it appeared as follows:...
asked by 04.04.2016 / 18:22
2
answers

I get the error RecyclerView: No adapter attached; skipping layout when I try to load a RecyclerView

I'm doing a chat, where I charge it through a RecyclerView. When I enter the chat, I should load the messages, but it does not, and I try to scroll in that recyclerView and I get the following message every time I scroll: RecyclerView: No adap...
asked by 21.09.2018 / 06:05
1
answer

How to show a local folder image to an "ImageView"

I'm trying to show an image that is stored in the "drawable" folder and I'm using'setImageURI 'but for some reason I'm not sure the code is not working for me. The information that I am uploading in the app is from a json file in which I have...
asked by 29.06.2018 / 18:09