Posts

Showing posts from March, 2019

Firebase Social Media App Complete Android Tutorials

Image
Firebase Social Media App using Android Studio and Firebase ✓Registration using Email/Password ✓Login using Email/Password, Google, Phone  ✓Recover password in case you forgot  ✓Profile [Name, Email, Profile Pic, Phone, etc]  ✓Update  ✓Add Posts [Publisher name, email; Title, Image Description, Date & Time etc]  ✓All Posts, User Specific Posts  ✓Like Post  ✓Comment Post  ✓Delete, Edit your post Firebase Social Media App Complete Android Tutorials Complete Videos Playlist When presses like button, refreshes whole list - Fixed package com . blogspot . atifsoftwares . firebaseapp . fragments ; import android.content.Intent ; import android.os.Bundle ; import androidx.annotation.NonNull ; import androidx.annotation.Nullable ; import androidx.fragment.app.Fragment ; import androidx.core.view.MenuItemCompat ; import androidx.recyclerview.widget.LinearLayoutManager ; import androidx.recyclerview.widget.RecyclerView ; import androidx.a

Notification with expandable custom layout

Image
Android Notification using custom layout with Text & Image In this tutorial we will do the followings: 1) Make/Show Notification (expandable) 2) Custom layout xml for notification 3) Image and Text in custom layout Video Step 1:  Create a new project   OR   Open your project Step 2: In res folder create two resource layout files named custom_normal.xml and custom_expanded.xml Step 3: Place an image in drawable folder to show in notification Step 4: Code: custom_normal.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android= "http://schemas.android.com/apk/res/android" android:layout_width= "match_parent" android:layout_height= "match_parent" android:orientation= "horizontal" > <ImageView android:layout_width= "40dp" android:layout_height= "40dp" android:src= "@drawable/logo_atif" /> &l