Questions tagged as 'android-layout'

1
answer

How to remove automatic items from an activity

In Android Studio, at the time of creating an activity, the IDE already places some items inside it, like that circle with an envelope inside (image). How do I pull this off after creating the activity?     
asked by 28.03.2016 / 17:34
0
answers

Android toolbar getting behind the topbar

What can be happening, the toolbar is behind the topbar as in the image below This is occurring in versions 4.4.2 and 4.1.1     
asked by 14.02.2016 / 05:47
0
answers

Inflate Toolbar in Stepper

I need to create a Stepper in my application that got the library on GitHub link I was able to implement the application, however I want to put a Toolbar to inflate a menu and have the button go back into it, but I am not able to put it in...
asked by 13.02.2016 / 11:41
2
answers

FloatingActionButton misaligned

Hello I have a dynamically created TableLayout, and I want to insert an FAB on the screen. The problem is that I can not get the normal alignment in the lower right corner. Am I forgetting any parameters? Here is the code I'm using:...
asked by 03.03.2016 / 00:23
1
answer

LinearLayout with 2 textViews to simulate a button

My goal is to have a Button with 2 TextView s inside. For what I researched the easiest way is to have a LinearLayout and within put the TextView s and put the android:clickable="true" property. The problem...
asked by 06.12.2015 / 16:12
0
answers

Custom ActionBar does not occupy the full screen width

Well, I was trying to customize my ActionBar, it worked, but it happens that it does not fill the entire width of the screen, it is as if it were superimposed on the old one, to better understand the image below: ThisismycustomActionBar.xmlc...
asked by 08.01.2016 / 20:18
1
answer

Use android layout randomly

Well, I want to randomly call a layout, the problem is to call it, I thought about saving all the layouts in an array and based on randomly generated numbers call the layout in that position of the array, I thought I would do it this way:...
asked by 08.11.2015 / 03:49
1
answer

Verify android keyboard visibility

How do I check if the android keyboard is visible or not? Some people talk to calculate the difference between the size of the RootView and its general layout of the activity, but for me, that does not work. Here is an example final View ac...
asked by 16.10.2015 / 13:57
0
answers

Click Framelayout does not work with Listview inside

I have the following situation: I have a main layout that contains a listview inside. This listview keeps some distance from the layout edges and I placed an External Layout literally over that listview occupying the entire screen. The problem i...
asked by 01.03.2016 / 01:36
0
answers

Menu with custom layout

I need to create custom menu so it looks like this: ThenIcreatedan.xmlinres/layout/layout_menuitem.xmltoserveasmyapp'smenu.<TextViewandroid:id="@+id/text_minha_conta" android:layout_width="match_parent" android:layout_height="wrap_co...
asked by 31.08.2015 / 19:36