Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
n3o-d4rk3r committed Feb 21, 2023
1 parent 80a789a commit 7c621be
Show file tree
Hide file tree
Showing 8 changed files with 101 additions and 3 deletions.
Binary file added app/src/main/assets/fonts/Roboto-Bold.ttf
Binary file not shown.
Binary file added app/src/main/assets/fonts/Roboto-Medium.ttf
Binary file not shown.
Binary file added app/src/main/assets/fonts/Roboto-Regular.ttf
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@

import bd.com.bangal.masterpacklib.ReactionPopup;
import bd.com.bangal.masterpacklib.ReactionsConfigBuilder;
import bd.com.bangal.socialviewcore.widget.SocialEditText;

public class TestActivity extends AppCompatActivity {

SocialEditText bg_text,postText;

private final String[] strings = {"wow"};

Expand Down
2 changes: 1 addition & 1 deletion masterpacklib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ afterEvaluate {
release(MavenPublication) {
groupId = 'com.github.n3o-d4rk3r'
artifactId = 'masterpacklib'
version = '1.9'
version = '1.0.1'
artifact(bundleReleaseAar)
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package bd.com.bangal.masterpacklib.textview;


import android.content.Context;
import android.graphics.Typeface;
import android.util.AttributeSet;

import androidx.appcompat.widget.AppCompatTextView;

public class TextViewRobotoBold extends AppCompatTextView {

public TextViewRobotoBold(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
init();
}

public TextViewRobotoBold(Context context, AttributeSet attrs) {
super(context, attrs);
init();
}

public TextViewRobotoBold(Context context) {
super(context);
init();
}

private void init() {
if (!isInEditMode()) {
Typeface tf = Typeface.createFromAsset(getContext().getAssets(), "fonts/Roboto-Bold.ttf");
setTypeface(tf);
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
package bd.com.bangal.masterpacklib.textview;


import android.content.Context;
import android.graphics.Typeface;
import android.util.AttributeSet;

import androidx.appcompat.widget.AppCompatTextView;

public class TextViewRobotoMedium extends AppCompatTextView {

public TextViewRobotoMedium(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
init();
}

public TextViewRobotoMedium(Context context, AttributeSet attrs) {
super(context, attrs);
init();
}

public TextViewRobotoMedium(Context context) {
super(context);
init();
}

private void init() {
if (!isInEditMode()) {
Typeface tf = Typeface.createFromAsset(getContext().getAssets(), "fonts/Roboto-Medium.ttf");
setTypeface(tf);
}
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package bd.com.bangal.masterpacklib.textview;

import android.content.Context;
import android.graphics.Typeface;
import android.util.AttributeSet;

import androidx.appcompat.widget.AppCompatTextView;

public class TextViewRobotoRegular extends AppCompatTextView {
public TextViewRobotoRegular(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
init();
}

public TextViewRobotoRegular(Context context, AttributeSet attrs) {
super(context, attrs);
init();
}

public TextViewRobotoRegular(Context context) {
super(context);
init();
}

private void init() {
if (!isInEditMode()) {
Typeface tf = Typeface.createFromAsset(getContext().getAssets(), "fonts/Roboto-Regular.ttf");
setTypeface(tf);
}
}


}

0 comments on commit 7c621be

Please sign in to comment.