Skip to main content

Posts

Showing posts with the label App development tutorials

How to add a user list to your social media app

  The user list will provide a list of all our users. Depending on the size of your network, your user list may range from a few people to millions. The user list is important because it shows a new or existing user who else is using the app and it allows them an opportunity to connect. This tutorial will cover how to create a userlist for your app. The user list will look similar to the one shown in the image above. As you get more experienced, we will optimise our app to perform better and cater for larger audiences. Create the layout Create a new Activity. Give this activity a new name... something like "users", "allusers" or "students". This will depend on the type of app.  Add a linear Horizontal Inside the linear Horizontal, place an imageview, a textview and an imageview inside the linear. Give the textview a weight of 1. This will make it take up the entire screen. Change the imageviews and place the icons you want to use. In my example, I am using

How to create user profiles for a social media app

User profiles allow us to showcase our uniqueness by adding custom pics and customizing our personal information. This tutorial will take you through the process of creating the profile section of our social media app. We will start by creating a new activity with the name "profile". Building the profile interface Next we will build our layout for the profile section. We will use imageviews, linears and textviews to display the user data. Our layout will look as shown above in Sketchware. You can customize yours. In the image above I have used: 1. Scrollview(vertical) This will allow me to scroll up and down if the data overlaps 2. linears to position my widgets horizontally and vertically. 3. Textviews for the labels 4. Imageview for the user's profile picture as well as the Help Tips. 5. Edittexts where the user will enter their user details. 6. Spinner to allow the user to choose from predetermined options. 7. Button that will be clicked when the user wants to update o