ScrollView 中的text覆盖下面的按钮 scrollView textview 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 简洁的说,就是scrollview中的文字太多,滚动滚动条时,把下面应该显示的布局给覆盖了.求大神指导.新手跪谢 不得不说楼主这个布局写的太差了,很多没必要的父控件嵌套,性能很低。<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/linearlayout" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <TextView android:text="了解牛成功" android:gravity="center" android:layout_width="match_parent" android:layout_height="wrap_content" android:textSize="20sp" android:background="@color/background1" /> <LinearLayout android:layout_height="match_parent" android:layout_width="match_parent" android:orientation="vertical" > <ScrollView android:id="@+id/scrollView1" android:layout_width="match_parent"android:layout_height="0dip"android:layout_weight="1"android:fadingEdge="vertical" android:scrollbars="vertical"><LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@android:color/darker_gray" android:orientation="vertical" > <TextView android:id="@+id/text_guanyu_nuodun" android:layout_width="fill_parent" android:paddingLeft="10dip" android:textColor="#8F683A" android:textSize="18dip" android:layout_height="1000dip"/> </LinearLayout> </ScrollView> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/bottom_linearlayout" android:background="@color/background1" android:orientation="vertical" > <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="版权所有:牛成功个人所有" android:gravity="center_horizontal" /> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="网站:www.0536822.cn" android:gravity="center_horizontal" /> </LinearLayout> </LinearLayout> </LinearLayout> 同一个TextView中部分字体左边靠齐,其它的右边靠齐, 用InputStream接收网上的图片, 为什么在真机运行时总是黑屏等待 android 调用webservice问题 我的AVD界面的背景怎么是白色的,求指导 android平板电脑上的开发是个什么情况? 新人求帮忙!!老鸟进. 点击返回键后webview无效了。 求解android应用图标实现加未读消息数字实现 eclipse中如何修改项目名称 具体操作 手机app动态行为的可信与安全评测 新手求教android4.0以后上不了网 ffmpeg里如何计算文件大小?
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/linearlayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
>
<TextView
android:text="了解牛成功"
android:gravity="center"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="20sp"
android:background="@color/background1"
/>
<LinearLayout
android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="vertical"
>
<ScrollView
android:id="@+id/scrollView1"
android:layout_width="match_parent"
android:layout_height="0dip"
android:layout_weight="1"
android:fadingEdge="vertical"
android:scrollbars="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/darker_gray"
android:orientation="vertical" >
<TextView
android:id="@+id/text_guanyu_nuodun"
android:layout_width="fill_parent"
android:paddingLeft="10dip"
android:textColor="#8F683A"
android:textSize="18dip"
android:layout_height="1000dip"/>
</LinearLayout>
</ScrollView>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/bottom_linearlayout" android:background="@color/background1"
android:orientation="vertical"
>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="版权所有:牛成功个人所有"
android:gravity="center_horizontal"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="网站:www.0536822.cn"
android:gravity="center_horizontal"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>