Android Library to display text while it is being spoken
Follow one of these steps to import Live-Text-View into your project:
The X.X.X
stands for the current version, which can be found at the top
implementation 'com.jeffg.live_text_view:live-text-view:X.X.X'
<dependency>
<groupId>com.jeffg.live_text_view</groupId>
<artifactId>live-text-view</artifactId>
<version>X.X.X</version>
<type>pom</type>
</dependency>
<dependency org='com.jeffg.live_text_view' name='live-text-view' rev='X.X.X'>
<artifact name='live-text-view' ext='pom' />
</dependency>
<com.jeffg.live_text_view.LiveTextView
android:id="@+id/liveTextView"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
LiveTextView liveTextView = (LiveTextView) findViewById(R.id.liveTextView);
liveTextView.setText(Text);
liveTextView.start();
Copyright 2018 Jeff Gugelmann
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.