在android emulator中显示单个活动中的所有数据/视图
我在活动中有edittext、复选框、radiobutton、微调器等,因此底部的微调器和radiobutton隐藏在emulator屏幕中 解决这个问题的最佳方案是什么? 我应该使用滚动视图吗在android emulator中显示单个活动中的所有数据/视图,android,Android,我在活动中有edittext、复选框、radiobutton、微调器等,因此底部的微调器和radiobutton隐藏在emulator屏幕中 解决这个问题的最佳方案是什么? 我应该使用滚动视图吗 提前感谢…只需将顶层布局设置为滚动视图即可: <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layo
提前感谢…只需将顶层布局设置为滚动视图即可:
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<!-- everything you already have -->
</ScrollView>
只需将顶层布局设置为滚动视图:
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<!-- everything you already have -->
</ScrollView>
您可以使用ScrollView,以便没有空间进入该视图的视图
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
//Your view here..like spinner ,button etc
</TableLayout>
</ScrollView>
//你在这里的观点…像旋转器,按钮等
希望这样你可以使用ScrollView,这样没有空间进入的视图
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
//Your view here..like spinner ,button etc
</TableLayout>
</ScrollView>
//你在这里的观点…像旋转器,按钮等
希望如此您可以在图片中显示您的视图,基本上是您需要的,以便我们可以更好地帮助您。请共享您的布局xml是的,请使用滚动视图。请看,您可以向用户显示有限数量的视图,但如果屏幕包含更多组件,则明智的做法是用户滚动视图。请在图片中向我们显示您的视图,基本上是您需要的,以便我们可以更好地帮助您。请共享您的布局xmlYes,请使用滚动视图。您可以看到,屏幕可以向用户显示有限数量的视图,但如果屏幕包含更多组件,则明智的做法是向用户滚动视图。如何在不使用xml的情况下以编程方式处理它?如何在不使用xml的情况下以编程方式处理它?