Questions tagged as 'android-fragment'

0
answers

How to make a list using fragments

I am having probelmas trying to show a list inside of a fragment, inside activity_main I have the following code, that for the moment it only shows a textview with a phrase and if I keep it that way the menu I am using works for me (template of...
asked by 17.07.2018 / 23:42
0
answers

Go back from an activity to the selected fragment

I find myself doing an application in Android Studio and I get this problem that I will narrate in images: The code of the toolbar is in the problematic activity is: setSupportActionBar(toolbar); getSupportAction...
asked by 14.07.2018 / 03:23
2
answers

problems with getText of editText Android Studio

I have a problem with two EditText in particular, these are in a fragment , the first time I arrive at the fragment, these are empty I assign them a number ( ej: et1 = 1, et2 = 2; ) I do all the operations in a normal way, I l...
asked by 06.07.2018 / 16:51
0
answers

can you do a fragment with vertical scroll in android studio?

It is for a questionnaire in the form of a list, but the questions below my fragment can not be seen because the fragment does not have the scroll. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://...
asked by 30.06.2018 / 05:54
1
answer

How to set the "summary" attribute of a Preference from its persistent value in Android

I am developing the preferences for an Android application, for this I have created the file "preferences.xml" where I set the preferences and its summary from the default value. <EditTextPreference android:key="pref_ciudad" android...
asked by 20.06.2018 / 19:29
0
answers

because my app deletes the data of my Tabs - fragment when I move between them?

I have an app that I am developing for a job at my institute where I have to measure different times dynamically at different levels, and I have managed to show the different chronometers in the 5 tabs-fragments that I require, but when the firs...
asked by 11.06.2018 / 04:24
1
answer

Customize error message when not uploading webview for not having internet in Fragment

I have an application that uses a webview , now what I try is that when you do not have Internet the classic error screen that contains the link does not come out, I want to use a personalized message. I have some code, it does not mark...
asked by 31.05.2018 / 03:47
0
answers

Receive and send firebase

How can I write something with edittext and send it to firebase and then see it in list view something like posting a question and another user can see it? I want to do a list view with the questions of the users a...
asked by 30.05.2018 / 13:44
0
answers

Stepper blank in Android Studio

I am using the android-material-stepper library to load a claim in my application, it consists of several parts: Applicant Data, Claim Data, Location and Images. Each of them is included in a Fragment individual. There is a Fragment...
asked by 10.05.2018 / 17:19
0
answers

How can I remove the legend that appears when using RecognizerIntent, because it did not appear before? Thank you

My question is how do I delete the legend "The audio to google is enraged to provide a voice recognition service, a transcript will be shared with this app.s Saving audio at [email protected]"     
asked by 02.05.2018 / 06:05