problem description
when presenting (and editing) multiple lines of text using EditText, slide up and down without feeling fluid or inertia.
solution
wraps EditText with ScrollView.
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:fillViewport="true">
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@null"
android:gravity="top"
android:inputType="textMultiLine" />
</ScrollView>
div>
Read More:
- CentOS solves the problem of modulenotfounderror when salt calls python3 script remotely, and solves the problem that PIP3 module cannot be shared by different users
- Android learning — cannot resolve symbol ‘EditText‘
- Android EditText cursor control, color modification, show and hide
- Android monitor EditText text input EditText monitor events and input events
- Unity Android solves the problem of information flow advertisement closing and error reporting
- Flutter solves the problem of incorrect use of parent datawidget and boundary constraint
- Windows subsystem Ubuntu 18.04 solves SSH problem
- Jsonformat annotation solves the problem of time format in the front end of localdatetime
- IOS solves the problem of this action could not be completed. Try again
- Vs code solves the problem that latex does not display references and [?] is displayed in the text
- Centos8 solves the problem of “failed to set locale, defaulting to c.utf-8”
- Centos7 solves the problem of unable to use tab to complete automatically
- Git solves the problem of failed: http request failed
- Android Studio sync build.gradle appears: Failed to resolve: com.android.support:appcompat problem
- The background object of thymeleaf is null, which solves the problem of error when the object is empty to get the property value
- Selenium reports an error and solves the problem of element not interactive exception, element not interactive
- Error: Error parsing D:\new_android\Android SDK\system-images\android-25\android-wear\armeabi-v7a\de
- Android 8.1 compilation error Jack server problem
- Android Studio | Failed to find target with hash string ‘android-26’ in: D:\Android\sdk
- Supplement to the problem of “Session’app’: Error Launching activity” when running on Android