- Yandex.Metrika counter -->

Main menu

Pages

How to create a moving text in Sketchware

 Hi everyone today we have a new lesson in Sketchware and this lesson is about how to create a moving text and you will know how to do it in this Steps. 

1 step : add this blocks to Sketchware

Download it's from Here 

2 step : add textview  

3 step : go to oncreat and set this blocks like this in the image below



  4 step : go to resource file  and click on it 


5 step : add file like this in the image below   


6 step : past this code on the file you create like in the image below and click on save : 




Code : 

 
<translate>
<translate xmlns:android="http://schemas.android.com/apk/res/android"
    android:duration="8000"
    android:fromXDelta="500" android:interpolator="@android:anim/linear_interpolator"
  android:repeatCount="infinite"
    android:repeatMode="restart"
    android:toXDelta="-500" />
</translate>


Watch the video from more understanding



reactions

Comments

table of contents title