Questions tagged as 'android-layout'

0
answers

How to fill the parameter of this FirebaseRecycleAdapter (... this field ...) {}?

I'm making an App where from the FireBase console I add content to the cardview of the App. I have a problem, I do not know how to fill a certain field in the firebaseRecyclerAdapter. The code is as follows: FirebaseRecyclerAdapter<Blog,...
asked by 08.04.2018 / 21:15
0
answers

How to give effect to an edit text that works as an android button?

It turns out that I'm doing a login / register in my App. But I need to give some effect to the editText and the cardview (this one with a button shape), which function as buttons in my APP. Since up to now they are listened to thanks to SetO...
asked by 06.04.2018 / 18:07
0
answers

Center Items in a dynamic ListView

I have this ListView that takes the Items of a String-arraay that I have defined in my strings.xml, how can I make these items appear in the center of the screen, with the text centered? <ListView android:id="@+id/listaprincipal" an...
asked by 12.04.2018 / 14:21
2
answers

I have 4 buttons on a screen, each one throws a different Activity but only one works for me

I am programming an app for a project, I have a screen with 4 buttons (menu) each button sends me to a new Activity but only the button that sends me to the profile activity works. package com.example.slash.serviceconect; import android.con...
asked by 30.03.2018 / 05:19
0
answers

Convert a LinearLayout to an image in order to share it =

I have my layout with information about a transaction this info I want to share with the design that my view has, I want to do it converting the layout to image and share it via wsap, mail or according to the app that is chosen. I was able to...
asked by 22.03.2018 / 18:49
0
answers

Zoom Android Studio screen

I would like to know how to zoom with your fingers in Android Studio, that is, to do all the layout.xml (or as you call it), since on the internet I have only seen how to zoom in on a image, and I would be interested in zooming the whole screen,...
asked by 19.03.2018 / 15:48
0
answers

Percentage with ProgressBar

What's up with friends? I would like to know how I can do it based on the code that I will attach here, so that in a progressbar I show the percentage if for example I do I want to take the percentage of an amount X and that percentage is X% as...
asked by 25.02.2018 / 21:53
2
answers

Get Android application version?

I have the name of my application in strings.xml of the folder res/values : <string name="app_name">Liturgia+</string> I would like to change that value, adding the current version of the app. Assuming the current v...
asked by 25.10.2017 / 14:45
0
answers

how can you immobilize an image in a scrollview?

We have a scrollview wrapping a relative layout where there are two imageview on top of each other, how can you do that: when scrolling, one imageview moves and the other does not? thanks <LinearLayout android:layout_...
asked by 23.01.2018 / 16:12
0
answers

YouTube view

What is this type of view based on, where BottomNavigationView is seen? I know they are not Fragments because the life cycle remains and is not destroyed (or so I think), but from what I have seen, Fragment is usually...
asked by 22.12.2017 / 22:16