Questions tagged as 'android-layout'

1
answer

How to hide the background of images in the android studio app?

I'm new to programming and I'm programming an app in the android studio that is practically ready. When copilo it in my Moto G2 with android 6.0 works perfectly however when copilo in the Moto X1 android 5.0 all the images appear the background...
asked by 21.07.2016 / 14:54
1
answer

Insert button dynamically in RelativeLayout

I have a ListView and I want to add a button on the side of each list item, but it has to be dynamically: item_listview.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertic...
asked by 30.06.2016 / 14:46
1
answer

How to align an element of a CollapsingToolbarLayout to the title?

I have a CollapsingToolbarLayout with a LinearLayout inside (which contains some texts). The Toolbar title has a default margin on the left (at least on LTR devices) when it is expanded and a different margin when retracted. How...
asked by 23.07.2016 / 00:30
1
answer

How to have a layout adaptable to all screens? [duplicate]

I wanted more or less this formatting, but when I fill the last editext, it goes up on the keyboard and everything goes out of order. <RelativeLayout xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent"...
asked by 20.06.2016 / 13:00
0
answers

Renew data in same activity

Hello! I would like to know how to go alternating values always in the same activity. I do not know if that's the way it's said, but I'll explain by giving as an example a table application I have here and that's what I really intend to do. In...
asked by 16.07.2016 / 03:03
1
answer

After removing app: layout_behavior="@ string / appbar_scrolling_view_behavior" out of top

When I remove the app: layout_behavior="@ string / appbar_scrolling_view_behavior " of my screen solves the setError position problem. But another one, after doing this it does not get more aligned with the top. Here is the beginning where I...
asked by 16.06.2016 / 16:09
1
answer

How to put an imageView and a textView inside a gridView? [closed]

I can not put image and text inside a gridView, can anyone help me ???     
asked by 30.04.2016 / 01:19
0
answers

GridView displays blank area in the footer in Lenovo Vibe K5 (API Level 22)

I have a GridView that displays 4 images that should fill the screen but this does not happen. I have not added any padding or margin in the layout and have tried using the fillViewPort and fitsSystemWindow attributes. I think the problem is rel...
asked by 25.10.2016 / 18:23
0
answers

Error Can not convert to color: type = 0x2

In xamarin, when debugging the application, this error appears    Can not convert to color: type = 0x2 in method SetSupportActionBar(...); Excerpt: Android.Support.V7.Widget.Toolbar myToolbar = FindViewById<Android.Suppor...
asked by 28.04.2016 / 21:33
3
answers

List of questions, each question with a list of answers

I'm implementing a question and answer application. For my listing I'm using a RecyclerView where I load several CardViews (from loading a list). Each CardView shows one question. Below the question text I want to show my list of alternatives...
asked by 27.11.2015 / 20:56