Questions tagged as 'android-layout'

1
answer

Error when reopening Map in fragment within DrawerList

I'm developing an Android Application and am having a problem navigating between Fragments. I created a drawerList and in it I have some fragments, in one of these fragments I have a map, when initially accessing this fragment, its components...
asked by 08.01.2015 / 14:32
1
answer

How can I switch tabs using a spinner?

I would like to implement the tab change for a spinner that I added inside the toolbar. public class MainActivity extends FragmentActivity { /** * The {@link android.support.v4.view.PagerAdapter} that will provide * fragments for each o...
asked by 05.12.2014 / 03:21
1
answer

How to get rid of the layout of Android

I want to remove those azul margins for my line verde get layout all and not get any margin, but do not remove padding from RelativeLayout Is ActionBar vermelho that has a margim bottom or my V...
asked by 01.09.2014 / 19:18
1
answer

Change custom spinner selector

I created a custom spinner and custom dropdown spinner , when using them, the selector will be almost invisible and its color will not help either. I wanted my spinner selector to be larger, it could be the default size and I want...
asked by 03.06.2014 / 19:57
1
answer

Added components in Xamarin Studio 4.x / 5.x and Android Designer

When using the Xamarin Studio 4.x / 5.x Interface Designer tool on the Windows 8 / 8.1 platform I can not add components to the screen, when trying to drag and drop a toolbar component to the interface, the same is not applied (stays on the scre...
asked by 29.06.2014 / 14:53
2
answers

Problem dragging components in Android Studio

I'm starting to use android studio today, this blue box on the side of the layout is right? And whenever I drag components into the middle, the button goes up alone, but the button's selection box remains in the middle. Does anyone know...
asked by 15.04.2018 / 01:03
3
answers

How to add the Toolbar in Activity without inheriting AppCompatActivity - Android Studio 1.4

Good evening. I upgraded my Android Studio to version 1.4 and by default, any% created% uses as inheritance activity AppCompatActivity . I developed an app that needs to inherit a class responsible for controlling the lifecycl...
asked by 16.10.2015 / 04:44
2
answers

Place the text in the center

I have this TextView: I would like the text to be centered vertically and horizontally in relation to the black area, which is the background of TextView itself, which set height of 100dp , what do I need to do?     
asked by 20.12.2017 / 00:11
3
answers

Fragment error "Unable to start activity"

My application error when opening on a tablet and I can not identify the error it informs that I have to enable:    Unable to start activity   ComponentInfo {com.example.everton.horoscope / com.example.everton.horoscopo.MainActivity}:   andro...
asked by 09.10.2016 / 22:57
1
answer

Home screen for android app

I created an APP with a drawer menu, the drawable menu that appears as a template when creating a project in Android Studio. I was able to create the fragments and relate to the menu, it is working beauty, my problem is that I can not d...
asked by 08.09.2017 / 21:11