Questions tagged as 'android-layout'

1
answer

ExpandableListView: change the header title when clicking on an item in the list

I need to get the name of the items from the ExpandableListView list, and settar in the header according to his position, but he is only getting the last one. Here is my code below: MainActivity public class MainActivity extends App...
asked by 22.02.2018 / 15:40
0
answers

Image getting behind the background

I would like to place one image in front of another image. I'll explain better. I have a background and I want to put an image on the dividing line between RelativeLayout and ScrollView. In the native android I have the option: app:layout_a...
asked by 12.02.2018 / 19:07
1
answer

What is the reason for the "This view is not constrained ..." error in ConstraintLayout?

What is the reason for this error?    This view is not constrained, it only has designtime positions, so it will jump to (0,0) unless you add constraints XML <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.Co...
asked by 22.06.2017 / 00:05
0
answers

How to insert a View between 2 children of a LinearLayout

I have a% of Vertical% and 4% of% within it. For example: linearLayout frame_1 frame_2 frame_3 frame_4 I want to add LinearLayout to existing ones For example: linearLayout...
asked by 05.02.2018 / 19:22
0
answers

calendar application with messages

I'm having a deadlock here, I'm setting up a screen for my app, where it has a calendar, where the dates appear, and when I touch the date it appears the notes that another user made, but he wanted to know how he would do those notes, if I would...
asked by 28.01.2018 / 21:16
2
answers

Show an EditText when clicking the FloatingActionButton

See if you can help me I'm starting to work with FloatingButton I would like when the user clicks the button an EditText appears for typing and a button at the end to delete the text, as shown below: IcreatedthisFrameLayout<?xmlversion="1...
asked by 25.01.2018 / 16:49
1
answer

This xml works fine on Android studio emulators, but not on the physical device. I ask for help

<TextView android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginTop="20dp" android:gravity="center" android:text="@string/Mensagem_Principal" android:textSize="30sp" androi...
asked by 22.01.2018 / 17:34
1
answer

Problems with ScroolView in Android Studio

Good morning, I'm new to Android programming and I'm trying to create a program that based on a subject that the user chooses, will open a certain screen, everything I did was based on search in websites, videos and etc; but when compiling the p...
asked by 15.01.2018 / 18:04
1
answer

Change image of Navigation Drawer Activity

I'm creating an app through Android Studio and chose Navigation Drawer Activity as the system screen. ButIwouldliketoknowhowtochangethegreenbackgroundandputanimage. Ithinkit'sintheblockbelow:<LinearLayoutxmlns:android="http://schemas.an...
asked by 23.01.2018 / 22:31
0
answers

How to load more than one image into a grid layout xamarin

I'm trying to load more than one image into rows / columns. Only the image for row = 0 and column = 0 is loaded. The others do not. I made several attempts, inside stacklayout, outside, at the beginning, in the middle and at the end of the gri...
asked by 17.01.2018 / 20:41