Questions tagged as 'android-layout'

2
answers

Framelayout does not show my TextViews

My Framelayout has not bugged and is no longer showing data I received from Json on my TexView in the Header section. Even though I adding a text it does not show anything. XML: <FrameLayout android:layout_width="match_p...
asked by 26.06.2017 / 21:01
1
answer

How to add Shadow effect to a Framelayout?

I'd like to add a shadow effect that results in a screen snap , like this below : Google image: Code<?xmlversion="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" andro...
asked by 28.06.2017 / 16:34
1
answer

Changing label and color of the entries of a pie Chart - Android

I have the following code: public class PontuacaoUserActivity extends AppCompatActivity { PieChart graficoUser; int pontosCor, pontosNumero, pontosObjeto; FirebaseUser user; FirebaseAuth auth; DatabaseReference databaseRef, userDB; ArrayLi...
asked by 31.05.2017 / 18:13
1
answer

Error while editing through SQLITE

I'm trying to edit an information that is saved on the SQLITE side. I'm working with fragments.  But I have the following error: FATAL EXCEPTION: main P...
asked by 22.06.2017 / 20:40
1
answer

Problems with multicones in the android menu

I'm trying to create two buttons but it's only working when I click on one of the buttons. Myactivitylookslikethis:<?xmlversion="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android" xmln...
asked by 16.05.2017 / 20:41
1
answer

Why is not the menu appearing?

I'm doing an online course and the menu section is not working in my Android Studio. First, I delete the Contents that came, I just left what is Activity in Layout . About the code: The App starts in a list, I click the "+" button and I go...
asked by 02.04.2017 / 16:12
2
answers

RecyclerView Orientation

How can I make for the recyclerview instead of filling from top to bottom starting from bottom to top. EDITED When I open my activity with recyclerview and it has several messages so that it exceeds the size of the screen as the new mess...
asked by 09.03.2017 / 19:23
1
answer

Hide Keyboard when sending message [duplicate]

Hello, then .. I am looking for a solution for when the user sends the message the keyboard close automatically.Thank you in advance.           <Button android:id="@+id/singleComentBtn" android:layout_width="80dp" android:...
asked by 09.03.2017 / 18:49
1
answer

EditText with same size Android

I would like to leave my components <EditText/> the same size but I can not. <?xmlversion="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_pare...
asked by 30.08.2017 / 03:00
1
answer

When is / was the AbsoluteLayout used?

I know that with this layout it is possible to manually set the x and y posits of the components inserted in the layout . In what hypothesis is / was it recommended to use AbsoluteLayout , since it works with fixed coordinates...
asked by 16.03.2017 / 03:52