Questions tagged as 'android-layout'

1
answer

Android Studio Fix text overlay

I have a problem in my code in adroid studio, in my layout it's all perfect as I want it but when I pass it to the tablet the description text and unit cost overlap one another, below it will appear text of products and these too The same thing...
asked by 26.06.2018 / 18:06
1
answer

Add Views in RelativeLayout

How about? I hope you can help me, I want to create a LinearLayout and a ScrollView within a RelativeLayout, I have an idea but the truth does not fit, I am somewhat confused about the dimensions MATCH_PARENT and WRAP_CONTENT, I attach an image...
asked by 05.06.2018 / 04:45
1
answer

I do not understand very well what Android Studio refers to with this

I have a Frame layout, and I wanted to put an OnTouchListener, it works correctly but I do not understand why I get this notice. Thank you.     
asked by 11.05.2018 / 17:35
2
answers

Error creating the .apk file

I get the following error when creating the .apk for production. He tells me among others that "can not find the file toolbar.xml", but in this file it is all correct. It works perfectly in emulator and physical device. Information:BUILD FAILE...
asked by 20.03.2018 / 16:01
1
answer

Is it possible to use 2 Layout in 1 Activity, in Xamarin.Android VS2015?

protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.ListadoDeEstilos); SetContentView(Resource.Layout.DialogInput); Inicializar(...
asked by 04.09.2017 / 19:55
1
answer

GLIDE Caused by: java.lang.OutOfMemoryError: Failed to allocate to 96000012 byte allocation with 15189568 free bytes and 74MB until OOM on Android

I am creating a giant image viewer, when I try to download a 15MB image here to see her As an image viewer I use Subsampling Scale Image View which is optimized for displaying large images. final SubsamplingScaleImageView imageView = (S...
asked by 04.06.2017 / 18:07
1
answer

Put linearlayout at the end of the screen in a map activity

I want to set a layout on the screen, at the end of the whole. The activity is a map. This is my code of layout <LinearLayout android:layout_width="match_parent" android:layout_height="75sp" android:backgroun...
asked by 15.05.2017 / 11:14
1
answer

Insert Layout's in ViewPager

I have an activity that in the lower part of the same position a ViewPager where I intend to add an edit-text and a couple of buttons. public class MyFragmentPagerAdapter extends FragmentPagerAdapter { // List of fragments which are going to...
asked by 05.05.2017 / 12:01
1
answer

How can I merge a background image with a color in an ANDROID layout?

I have an xml file where from another xml I call him and he paints two squares where I fill in a text. This box has a background color, but my idea is to also add a background image and merge with that color. XML: <?xml version="1.0" enc...
asked by 04.05.2017 / 13:00
1
answer

Android slide-out layout

This is basically the idea that I have as I can make the lower layout (below the image) be slidable by the lateral movement of the finger. I have thought that in this game that I am developing allow the player to invest with money or value...
asked by 02.05.2017 / 14:18