Android 在“剪切我的文本”中水平滚动查看
我使用水平滚动视图滚动行中的文本 但是文字从屏幕上消失了 这是我的密码Android 在“剪切我的文本”中水平滚动查看,android,react-native,scrollview,Android,React Native,Scrollview,我使用水平滚动视图滚动行中的文本 但是文字从屏幕上消失了 这是我的密码 <ScrollView ref={(scrollView) => { this._scrollView = scrollView; }} horizontal={true} showsHorizontalScrollIndicator={false} showsVerticalScrollIndicator={false} automaticallyAdjustCont
<ScrollView
ref={(scrollView) => { this._scrollView = scrollView; }}
horizontal={true}
showsHorizontalScrollIndicator={false}
showsVerticalScrollIndicator={false}
automaticallyAdjustContentInsets={false}
directionalLockEnabled={true}
bounces={false}
scrollsToTop={false}
>
{this.\u scrollView=scrollView;}}
水平={true}
showshorizontalscrolindicator={false}
showsVerticalScrollIndicator={false}
automaticallyAdjustContentInsets={false}
directionalLockEnabled={true}
反弹={false}
scrollsToTop={false}
>
这就是发生的事情:
在右边的文本剪切,我可以从左向右滚动文本。。。
我需要做什么
tnx很多使用HorizontalScrollView可以水平滚动文本使用HorizontalScrollView可以水平滚动文本我猜其中一个滚动容器的宽度大于屏幕宽度,这会导致滚动超出屏幕宽度。
看看我制作的哪个很棒(也适用于希伯来文)。我猜其中一个滚动容器的宽度大于屏幕宽度,这会导致滚动超出屏幕宽度。
看看我做了哪些很好(也适用于希伯来字母)。ah,我还以为你在使用android sdk。当我使用contentContainerStyle={{marginLeft:-50}返回文本会有帮助,但它不是通用的解决方案……啊,我还以为你在使用android sdk。当我使用contentContainerStyle={{marginLeft:-50}它有助于返回文本,但不是genric解决方案…你找到了吗?你找到了吗?