解决方案 »
- 找不到sdcard的图片
- 求助,sqlite问题
- 导apidemo的时候为什么工程 报红叉。
- 请教一个小问题,关于选择sdk的
- SoapObject 运行错误!
- android两只手机实现实时通信,用哪种协议?
- 问一下矩阵旋转的函数,setRotate(float degrees),他围绕哪里转的?
- 刚学android,写了一段代码运行部起来,高手们帮忙看下
- 信息推送的 服务器是用C# 的XMPP编写.android客户端基于xmpp协议的smack,这种跨平台,可否实现推送?
- listview通过滚动摆脱底部button遮盖的问题
- android webview 如何获取对应的缓存图片
- OnScroll.rar
android:id="@+id/ledbtscroll"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_centerHorizontal="true"
android:layout_above="@+id/allctlcontainer"
> <GridLayout
android:id="@+id/ledbtcontainer"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:scrollX="0dp"
android:scrollY="0dp"
>
</GridLayout>
</ScrollView>
android:id="@+id/ledbtscroll"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_centerHorizontal="true"
android:scrollX="0dp"
android:scrollY="0dp"
android:layout_above="@+id/allctlcontainer"
> <GridLayout
android:id="@+id/ledbtcontainer"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
>
<TextView
android:id="@+id/textView1"
android:layout_gravity="left"
android:text="@string/blank" />
</GridLayout>
</ScrollView>
这样子没效果,我的gridlayout是通过代码添加按钮的。