Skip to content

Commit

Permalink
set default "avoidTextOverflowAtEdge" to false
Browse files Browse the repository at this point in the history
  • Loading branch information
NitishGadangi committed Oct 18, 2020
1 parent d40bd81 commit 9156931
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class TypeWriterView extends AppCompatTextView {
private long mDelay = 40; //Default delay in ms
private Boolean isAnimationRunning = false;
private OnAnimationChangeListener mAnimationChangeListener;
private Boolean avoidTextOverflowAtEdge = true;
private Boolean avoidTextOverflowAtEdge = false;

public TypeWriterView(Context context) {
super(context);
Expand Down
9 changes: 9 additions & 0 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,13 @@
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />

<com.nitish.typewriterview.TypeWriterView
android:id="@+id/typeWriterView4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="com.nitish.typewriterview.TypeWriterView"
tools:layout_editor_absoluteX="97dp"
tools:layout_editor_absoluteY="72dp" />


</androidx.constraintlayout.widget.ConstraintLayout>

0 comments on commit 9156931

Please sign in to comment.