Questions tagged as 'android-layout'

0
answers

avoid restarting the activity Navigation Drawer when turning the mobile in android studio

I have an application that shows me a fragment, here the problem is that when turning the mobile, the Navigation Drawer is restarted, and it takes me out of the fragment that I have in view, some idea of how to turn the mobile do not restart the...
asked by 18.10.2018 / 18:19
0
answers

Error selecting an item in a Recycler View

I hope you can help me with my problem, I have spent a lot of time trying to correct it. I have a recycler view but when I click (in this case, symbol +) in one item, I also select another one in a lower position. This way. this is the...
asked by 17.10.2018 / 23:15
1
answer

Help Lottie For Android Studio

I am implementing lottie for animations in android studio, I put it in an activity in this way <com.airbnb.lottie.LottieAnimationView android:id="@+id/animation_view" android:layout_width="392dp" android:layout_height="421dp" android:layout...
asked by 15.10.2018 / 23:20
1
answer

Request a value only once, save it and accumulate it to use it always in java with Android studio

Good day,  I have in this interface where in the EditTex marked in red is a value that I want to leave fixed after I request it once From this activity I send it to another activity2 where I have this structure. Bundle bundle = getInten...
asked by 20.10.2018 / 18:59
0
answers

Custom notification with RemoteView

My question comes because I need to create a custom notification with a rating bar with stars. From what I read the RatingBar widget does not have the @ RemoteView so that it can be rendered by notification. Is there any way to create a cust...
asked by 28.10.2018 / 02:17
3
answers

Buttons or items in android studio are not displayed

I am starting to create an application in Android Studio and I can not show the buttons or elements in the image preview. I attach captures and current code. CODE xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:an...
asked by 22.09.2018 / 23:14
0
answers

android / view / View $ OnUnhandleKeyListener (Error)

I am creating a menu that is built by a Toolbar, but I get an error android / view / View $ OnUnhandleKeyListener , I can not see the part of the Design p> This is the code of the Menu <menu xmlns:android="http://schemas.android.com...
asked by 31.08.2018 / 23:16
1
answer

Android studio EditorLayout problems

the views of my interface are not shown in the android editorLayout help, thanks ] 1     
asked by 23.08.2018 / 07:13
0
answers

How to fix the first row in a TableLayout

I am working on Android Studio with TableLayout, I am showing data and I would like the head (name of the columns) to be fixed in such a way that when I do Scroll horizontally everything moves but when I do a vertical Scroll, just move the data,...
asked by 30.08.2018 / 01:43
1
answer

layout_columnSpan of GridLayout with code

I have an app with a GridLayout with several rows and columns and I want the columns and rows to be combined with each other (they expand) depending on a certain entry, meaning that this change was made through code: I want the rows to...
asked by 23.08.2018 / 23:35