Questions tagged as 'android-layout'

1
answer

How to use a ListView within a ScrollView

Hello, I'm trying to use a ListView inside a ScrollView. The goal is to work similar to other apps that do this, such as instagram and young nerd. Below my comment will be the code in xml and below it in java. Thanks <LinearLayout xml...
asked by 25.07.2017 / 01:04
0
answers

Help with dats sql server and android

I have this code to do a search to SQL Server database but give me error:    Incorrect syntax near '19' Here is the search code: SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); String currentDateandTime = sdf.for...
asked by 10.07.2017 / 21:36
0
answers

How do I maintain a radioButton's marking when scrolling a listview?

Good afternoon, I have an edited listView and inside it I own a radioGroup. I need that when scrolling the listView, the marking on the radioGroup does not lose its markup. Follow the xml. <RadioGroup android:layout_width="w...
asked by 14.06.2017 / 16:37
0
answers

Android Dynamic Field

<RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:id="@+id/relativeLayoutPacient" > <TextView android:id="@+id/textViewCar...
asked by 29.06.2017 / 04:46
1
answer

Method setEmptyView is not working in my listview

I'm setting the setEmptyView method in my listview, but when it is empty it does not show the desired view, and it also does not give any error in the log. public class ListaNotificacoes extends Fragment{ View minha_view; private ListView li...
asked by 10.06.2017 / 22:11
0
answers

I have a problem in CardView to pull in a layout in TabsAdapter

Hello, I can not pull my CardView. I use Tabs for page scrolling to get easier. Rather than just pulling a list of things using ReciclyerView, I pull the Layouts I've created. That said, my cardview on the list is populated, but when I go to...
asked by 01.06.2017 / 21:35
0
answers

List getting whole page of android

My personal listview is coming out, I need it to take only parts, I am poor in layout android and the expectation is totally different from reality kkkk I need you to look like this: Anditlookslikethis: Ifyoucanfixthelistaju...
asked by 24.05.2017 / 21:26
0
answers

How to open a new activity without closing the drawer menu?

I have an activity and in this activity I have the drawer menu. How do you call another activity without the drawer menu adding up? I just want to change the activity content. I tried to use fragment but it does not erase what is already on the...
asked by 23.05.2017 / 19:34
1
answer

How to save the id of a relativeLayout?

Hello, good afternoon. I'm new to Android programming and I'm not able to save the ID of a relativeLayout to be compared. Example: <RelativeLayout android:id="@+id/idAmc" android:layout_width="match_parent" andro...
asked by 23.05.2017 / 16:01
0
answers

Error initiating activity on Api 17

I have a code that is working perfectly in api 25, but when I squeeze it in api 17 it gives this error below: 03-25 13:26:59.750 1895-1895/? E/AndroidRuntime: FATAL EXCEPTION: main java.lang.Runtime...
asked by 25.03.2017 / 14:39