I'm working on a little project and I was wondering if this type was of spinner is a default in android, since they use this picture in their android development guides? If not, how would one go about making one like this?
The view you are looking at is NOT a spinner, it's a NumberPicker. Take a look at the official Android Docs here; http://developer.android.com/reference/android/widget/NumberPicker.html
Related
guys I am developing an Android Studio, and I would like to create a scrollabe header, a similar one that this app has: Donald Trump Soundboard.
Do you know any lectures on youtube or anywhere where I can learn a required skills to create such a header?
If you want to have a scrollable Tab Layout, I have created an android library that does just that. It has custom animations too if you're into that. You can take a look here
and see if it suits your purpose.
I just saw the app, the one you are talking about is swipe​ view. The tabs are not fix rather it moves. It has been asked here( How to make scrollable tab in Android? )
I am new to android and trying to make a android to learn different features and functions. I wanted to make a app which has a CalendarView and a list view which allows users to add their events and it'll show up on the calendar in the ListView. I do not where and or how to begin, I tried searching for tutorials on the youtube but could not find anything relevant, maybe I am searching for the wrong things. Could someone please guide me as to where I can look and whether they know tutorials I can look at, all I need for know is something pretty simple (well, I say simple.. but it seems very complicated!), a app which has a calendar and a ListView, when user adds events they show up on both.
I hope I am making sense of myself as I am pretty lost and that someone could point me to the right directions (hopefully a tutorial or something). The thought of it seemed easier but when I sat down to do it, I literally don't know where to begin.
Here is a Link to a stackoverflow question about costum calender views Custom Android calendarView
You can use some project from github for example this one https://github.com/SundeepK/CompactCalendarView by this project you can populate calendar with events
Hi I am new to Android development and I want to add a specific looking view in the my main app window, which I have seen in many apps but dont actually know the name of it :) So its hard for me to check the android developers websites for details.
Below is a good example of an app using this widget or whatever is check the link:
https://lh3.googleusercontent.com/K7HJq6Be9AVf6EiDc0pviGLNyMJ4CL1f5Bw6HmxDUaQc7vpu18KAxrF6VlG5fJciFF59=h900-rw
Look at the ones that have Squat etc in thats Im referring to. Im not wanting to build a workout app, but I want to use a similar floating area like this, as I like the look. So the question is what is this called in android, its not a listview or textview I believe.
Sorry for the noob question but as I said Im very VERY green at Android dev.
Thanks
The view used here are
CardView - Check
Recyclerview -Check
Viewpager with fragments -Check
Toolbar- Check
I want to make an Android application that controls an Raspberry Pi (singleboard computer).
To do that, I want to create a control page like the one below:
As you can see, there are section headers, listview items with a switch, listview-items with a checkbox and listview-items with only text and listview-items that go to a new activity(of fragment).
I want to create the same thing for my android application. But I want to know what the best way is to create a page like this. I have already tried a listview with a CustomListAdapter, but the problem is that ALL my listview-items have a switch or ALL my listview-items have a checkbox, and so on.
So is it better to create a page like this in an other way? (build it mostly in the layout file, item for item?).
The Android API includes an easy way to handle this. You need to create a PreferenceActivity. The Android API documentation provides a full, thorough explanation with examples. You can find that here
I wanted to make an app that you can select a country and it comes up with information about the country. I don't know that much about Java i'm hoping that this will help me learn more about java.
I would like this to be an android app
please help me
thanks
CS
edit: I am new to java so can you help me out and give me pointers on how to do this please.
Example: Lets say we have a listview that has the United States, Germany, and the UK
I already have the list view set up. How would i go about making a second view that would let me select the us and give basic information about it?
Unfortunately I am still a little unclear as to what you are asking but as far as I am aware the list view you create should be able handle clicks on it, so if you check out the ListView class in the android SDK there you will need to look for the onClick event you are after. Overload it and put in the code to create (I think you are asking for this) a second activity, to then show your selection. However that might be a bit complex so try and handle the click event first by perhaps a toast message. Then work your way up.
The second activity you could use to show information, or just create a dialog, or another full screen view to show the info.
I commend you for getting ListView to work without knowing Java. I would suggest you learn the language first before jumping into Android apps because the development resources assume that you have a good knowledge of the Java. There are lots of resources on the web for learning Java and you can do it all in the Eclipse environment if you wish.
Good luck!