Envato Tuts+ Tutorials

Envato Tuts+ Tutorials


How to Make Twitch Alerts (With 10+ Custom Notification Examples!)

Posted: 12 Jun 2021 12:00 AM PDT

One of the best ways to acknowledge and thank your viewers for supporting your Twitch channel is to create Twitch alerts that pop up when you get a new follower or one of your viewers donates or subscribes to your channel.

How to Make Twitch AlertsHow to Make Twitch AlertsHow to Make Twitch Alerts

Today we'll show you how to make custom Twitch alerts and share some of the best Twitch alerts you can find at Placeit.

Follow along with us over on our Envato Tuts+ YouTube channel:

Premium Twitch Custom Notifications From Placeit

Placeit is a great resource for custom alert boxes for Twitch. It not only offers you a great collection of Twitch resources, but also provides you with a simple online tool that you can use to create Twitch alerts quickly.

Premium Twitch Custom Notifications From PlaceitPremium Twitch Custom Notifications From PlaceitPremium Twitch Custom Notifications From Placeit

You can buy just one Twitch alert at a time for a small fee, or sign up for a monthly plan that allows you to create and download as many Twitch alerts and other resources as you like for one low monthly fee.

How to Make Custom Twitch Alerts

Step 1: Select a Twitch Alert Box Template

Step 1: Select a Twitch Alert Box TemplateStep 1: Select a Twitch Alert Box TemplateStep 1: Select a Twitch Alert Box Template
  • Go to Placeit.net and type "Twitch Alert Box" in the search bar.
  • Browse the templates, and when you find one you like, click on it. This will open up the Twitch Alert Box Maker.
Step 1: Select a Twitch Alert Box TemplateStep 1: Select a Twitch Alert Box TemplateStep 1: Select a Twitch Alert Box Template

Step 2: Choose a Colour Scheme and Graphic

  • Move to the right side of your template and begin customisation of your Twitch alerts OBS by selecting a colour scheme. Work your way down from the top of the settings.
Step 2: Choose a Colour Scheme and GraphicStep 2: Choose a Colour Scheme and GraphicStep 2: Choose a Colour Scheme and Graphic
  • Now it's time to choose a graphic for your alert box for Twitch. Look through the available graphics, and if you don't find something you like, you can enter a specific term in the search field above.
  • I entered "Icon" and chose a bow for my graphic.
Step 2: Choose a Colour Scheme and GraphicStep 2: Choose a Colour Scheme and GraphicStep 2: Choose a Colour Scheme and Graphic

Step 3: Add Text to Your Alert Box Template

  • Now move to the left of the template to add your text.
  • Here you can also change the font and font colour. 
  • You can also add additional text or a logo if you need to. 
Step 3: Add Text to Your Alert Box TemplateStep 3: Add Text to Your Alert Box TemplateStep 3: Add Text to Your Alert Box Template

Step 4: Move and Resize Text Custom Twitch Alert

  • You can move and resize your text and/or graphic as needed.
  • If you don't like what you've done, just hit the Reset Layout button to return to the default layout.
Step 4: Move and Resize Text Custom Twitch AlertStep 4: Move and Resize Text Custom Twitch AlertStep 4: Move and Resize Text Custom Twitch Alert

Step 5: Download Your Custom Twitch Alert

When you are happy with your design, just click the Download button at the top of the page. This will take you to the download page, where you have two options for purchasing your Twitch alerts

Step 5: Download Your Custom Twitch AlertStep 5: Download Your Custom Twitch AlertStep 5: Download Your Custom Twitch Alert

You can either pay a single fee for your Twitch custom notifications or sign up for a monthly or yearly subscription that offers you unlimited downloads of all Placeit's designs, mockups, logos, videos, and gaming templates.

Now that you know how to make custom alerts for OBS with minimal fuss, let's take a look at some of the best Twitch alert box templates you can find at Placeit.

12 Twitch Alert Box Templates

Alert Box Twitch Generator With a Crown Icon

Alert Box Twitch Generator With a Crown IconAlert Box Twitch Generator With a Crown IconAlert Box Twitch Generator With a Crown Icon

Celebrate your top donors with the Alert Box Twitch Generator. Your supporters will be delighted to have the contributions highlighted, and it may even make them vie to be your top donor.

Custom Alert Box Twitch Template With a Bomb Graphic

Custom Alert Box Twitch Template with a Bomb GraphicCustom Alert Box Twitch Template with a Bomb GraphicCustom Alert Box Twitch Template with a Bomb Graphic

Here's a fancier approach to custom alert box Twitch templates. This Twitch alert template can be used to celebrate any kind of contribution to your site, from top donor to newest follower. 

Twitch Alert OBS Template for Gamers Featuring a Bones Icon

Twitch Alert OBS Template for Gamers Featuring a Bones IconTwitch Alert OBS Template for Gamers Featuring a Bones IconTwitch Alert OBS Template for Gamers Featuring a Bones Icon

Celebrate your newest subscribers with this vision in pink. Use the Placeit online tool to customise the alert template in any way you want. You can change the background colour and all the other colours, as well as the graphics and text, quickly and easily. 

Gaming Twitch OBS Alert for a Donation Notification 

Gaming Twitch OBS Alert for a Donation Notification Gaming Twitch OBS Alert for a Donation Notification Gaming Twitch OBS Alert for a Donation Notification

Check out this terrific new donor OBS alert. The template shown here is just a starting point. You can use the online Twitch alert maker to customise the template as much or as little as you need to.

Twitch Follower Alert Template With a Skull Icon

Twitch Follower Alert Template with a Skull IconTwitch Follower Alert Template with a Skull IconTwitch Follower Alert Template with a Skull Icon

Create stunning new follower notifications for Twitch when you customise this template. If you're wondering how to make a Twitch follower alert, this template is your answer.

New Follower Notification Twitch Template

New Follower Notification Twitch TemplateNew Follower Notification Twitch TemplateNew Follower Notification Twitch Template

Here's another Twitch follower alert template. Keeping the colours nice and bright means that your supporters will never miss an alert.

Twitch Stream Alert Box Template With a Potion Graphic 

Twitch Stream Alert Box Generator Featuring a Potion ClipartTwitch Stream Alert Box Generator Featuring a Potion ClipartTwitch Stream Alert Box Generator Featuring a Potion Clipart

Cheering on videos you like is part of the Twitch experience, and celebrating your supporters should be too. Luckily, Twitch alerts make that all possible with these stylish and eye-catching Twitch stream alert box templates.

Alert Box Twitch Template for Streamers With a Diamond Icon

Alert Box Twitch Template for Streamers with a Diamond IconAlert Box Twitch Template for Streamers with a Diamond IconAlert Box Twitch Template for Streamers with a Diamond Icon

Like to keep things simple and classic? Then how about this terrific Twitch follower alert template, which features clean lines, bright colour accents, and clean, bold text. 

Custom Alert Box Twitch Template With a Magic Potion Graphic

Custom Alert Box Twitch Template with a Magic Potion ClipartCustom Alert Box Twitch Template with a Magic Potion ClipartCustom Alert Box Twitch Template with a Magic Potion Clipart

Just to show you how versatile these templates are, here's an example of how you can customise the template above to create a completely different vibe. All Placeit's templates have a level of versatility that allows you to create tons of different looks from one template. 

OBS Alert Box for Twitch With a Modern Style

OBS Alert Box for Twitch with a Modern StyleOBS Alert Box for Twitch with a Modern StyleOBS Alert Box for Twitch with a Modern Style

Looking for a super stylish contemporary Twitch alert template? This could be exactly what you need. With wonderfully sharp, geometric shapes and an eye-catching, contrast-rich colour scheme, this box will ensure that your visitors can't help but notice your awesome Twitch alerts. 

Stream Alert Box Template Featuring Cool Gaming Icons

Stream Alert Box Template Featuring Cool Gaming IconsStream Alert Box Template Featuring Cool Gaming IconsStream Alert Box Template Featuring Cool Gaming Icons

CreateTwitch alerts that are full of colour and dynamism when you use the template. Just select a colour scheme that matches the vibe of your account, select your graphic, add your text, change the font and font colour, and your job is done without breaking a sweat.

Twitch Follower Alert Template for Gaming Streamers

Twitch Follower Alert Template for Gaming Streamers with a Crown IconTwitch Follower Alert Template for Gaming Streamers with a Crown IconTwitch Follower Alert Template for Gaming Streamers with a Crown Icon

You no longer have to wonder how to make a Twitch follower alert when you have so many great Twitch alert templates at Placeit. You can make your templates as classic or as dynamic as you want, and show your followers that the love is real. 

Create Your Custom Twitch Alert Today

Now that you know how to make custom Twitch alerts, head on over to Placeit's Twitch Alert Box Maker and create your own custom Twitch alerts today. 

And if you're interested in other terrific Twitch resources available from Placeit, check out this list of articles below:

How to Make Android Apps for Beginners

Posted: 11 Jun 2021 09:41 PM PDT

Are you a new developer learning Java? Read ahead to learn how to make your first Java Android app as a beginner.

Creating a mobile application is a big step towards turning your idea into reality. But the primary concern among new developers is how to make an Android app with all the resources at their disposal. If you're a beginner, you won't know the purpose of many of them.

So, it is important to begin from the basics and know the starting point.

This guide will walk you through the basics of building an Android app and answer your questions about how to make an app with Java.

We'll be creating a Java Android app using Android Studio as our IDE (Integrated Development Environment).

How to Make an App in Java

To start making a Java Android app, you have to start with an IDE. There are several options for IDEs, but two of the most efficient ones are Eclipse and Android Studio.

For this guide, we are using Android Studio 3.1.3.

Android Studio is a complete IDE that offers tools that make app development very simple and easy. It has an advanced code editor and several templates for app design. There are tools for development, debugging, and testing as well.

You can learn how to install Android Studio in our post on how to get started making Android apps.

Run Android Studio

Let's begin with a new project on Android Studio. It gives the option to Create New Project on the welcome screen.

You can also continue with your current project if you have one.

Welcome page of Android StudioWelcome page of Android StudioWelcome page of Android Studio

Once you choose to create a new project, the next step is choosing your activity. You will be provided with several options but we'll begin with Empty Activity for this tutorial on creating a Java app.

Create New Project in Android StudioCreate New Project in Android StudioCreate New Project in Android Studio

The next step is configuring your activity by giving it a name. Let's name our app MyBasicApp. From the drop-down menu, choose the Java language. Click Finish.

Now we are ready to start creating our app!

Start Working on Java App Development

At this stage, Android Studio has created two folders that are visible in the left corner. They are:

  • A folder for MyBasicApp–this folder carries the code for your app.
  • A folder of Gradle scripts–Gradle is a free and open-source tool used by Android Studio to turn the code into an .apk file for your app.

Since we selected the Basic Activity template, Android Studio has created some preset files for our project. You can expand the folders to view them.

Clicking on the app folder will give a drop-down menu with three to four subfolders: manifests, Java, Java (generated), and res. Expanding each one of them will open more folders. Each folder stores a separate component of your project.

In the MyBasicApp folder, go to the Java folder and click on com.example.mybasicapp. This folder contains the source code of your Java Android app.

Now, click the res folder and open the layout folder. It contains a file activity_main.xml. It is the layout of your app. Click to open it.

Now your project view has opened the source code and the layout in two separate tabs. It looks like this:

Code and layout tabsCode and layout tabsCode and layout tabs

The .xml file gives you a layout where you can drag and drop elements to build your file. You can also change it to code editor by clicking on text at the bottom left corner. Now you can edit the source code instead of adding elements to the design layout.

In the layout editor, the left pane contains all the elements that you can add to the layout. If you see the component tree, there is just one element—Hello World—in our app.

The elements we add to our layout will be shown in the component tree and how they are added in relation to each other.

Here, ConstraintLayout is the root of the view hierarchy (it is the dimensions of the page on which components will be added).

The ConstraintLayout has a TextView called Hello World.

The TextView is the component that came with a blank activity. The layout at this stage looks like this:

Initial view of the main activityInitial view of the main activityInitial view of the main activity

The XML code for this layout will be this:

It has one root hierarchy with just one text element.

Note that this is the basic layout that Android Studio generated itself. We haven't made any modifications to it yet.

Modify the App Layout

The next step is to modify the layout by adding components of your choice and associating activities with them.

Here you can either start with this ConstraintLayout with TextView in it, or you can clear the ConstraintLayout and begin with a clean slate in terms of layout.

Let's say you want to change the text on the TextView. You can go to the code editor and view the properties of the TextView element. The code will be like this:

Change the string to whatever you like. For now, I'll stick with Hello World.

If you have set up an Android Virtual Device (AVD) in the Studio, the app will run on the simulator like this:

Result on AVDResult on AVDResult on AVD

This is the basic TextView with Hello World! as its string. You can modify the attributes of this text component. Edit the text, font, size, and color to give a new look to TextView.

The XML code for these changes would be this:

We have changed the font to Sans Serif and made the color darker gray. The font size is also increased to 30sp, and the text is made bold.

The changes as visible in the AVD:

Changes in TextViewChanges in TextViewChanges in TextView

Add Constraints

Up to now now, we've just modified the stock Empty Activity set up by Android Studio. Now, we will see how to add constraints and views to the user interface.

In the Layout Editor, there is a palette on the right side from where you can choose the constraints you'd like to add.

Constraint PanelConstraint PanelConstraint Panel

You can add more than one view and constrain them to top, bottom, left, or right. These views have attributes that can be edited to modify them.

To better understand what an attribute is, select textView in the Component Tree and look at the Constraint Widget in the Attributes panel.

ConstraintsConstraintsConstraints

The square represents the constraints.

The rectangular box and each of the four dots represent a constraint. You can increase or decrease their value based on the point where you want to place the view.

Here is how it looks in the Layout Editor.

Constraints in LayoutEditorConstraints in LayoutEditorConstraints in LayoutEditor

You can drag and drop the Views from the left palette to add them in the ConstraintLayout. After adding them, you can apply constraints to determine their position. Each new button added to the layout is given a unique identity.

Here is how your layout will look after adding the constraints to the views:

Adding button with constraintsAdding button with constraintsAdding button with constraints

Here is the XML code for the finished layout:

Assigning Activity to the Button

The layout design is the meat of your app. You have added a Button, but it doesn't do anything when pressed. To make it interactive and responsive to users' actions, we have to assign activity to it.

Let's say this is the last step on your app, and upon clicking Next you want people to see the message Finish.

Here's how to do it..

The Next buttonhas an id called @+id/next. Since no other element is using this id, we can use it to find the button and add it to the Java code so that the activity doesn't get associated with another button.

The id for a view helps you identify it as each id differs from other viewers' id.

With the findViewByID() function, next can be found through its id, R.id.next.

Here is the final code that will display the finish message:

Run the app to see how the Button works.

Toast output on AVDToast output on AVDToast output on AVD

Conclusions

This guide covered everything from setting up the Android Studio to coding and testing a Button. It's not hard to get started coding an app—Java mobile app development has become easier since a lot of elements are drag and drop.

Android App Templates and UI Kits From CodeCanyon

You may have noticed that our app looks very plain and simple. That's because we're using the default theme, without applying any styles to our views. CodeCanyon is full of Android UI kits that offer beautiful, hand-crafted styles you can apply to your views.

CodeCanyon mobile Android app template bestsellersCodeCanyon mobile Android app template bestsellersCodeCanyon mobile Android app template bestsellers

The kits generally also have several custom views and layouts. You can refer to the following articles to learn more about them:

Post a Comment

0 Comments