试了老半天都不行,比如这个<include
android:id="@+id/right2"
android:layout_width="0dip"
android:layout_height="fill_parent"
android:layout_weight="10"
layout="@layout/detailedinfo" />怎么让它隐藏和显示呢?
android:id="@+id/right2"
android:layout_width="0dip"
android:layout_height="fill_parent"
android:layout_weight="10"
layout="@layout/detailedinfo" />怎么让它隐藏和显示呢?
解决方案 »
- LocationManager 可用却得到NULL
- Android开发: ListView中EditText、ImageView 的几个问题,求高人指点!
- Android,线性布局背景色问题,请高手解决
- CTS 可选择不测的case
- Drawable、Bitmap、byte[]之间的转换核心代码
- 有人用livecode开发android和ios app吗
- 各位男士注意啦,一大波推送优惠在靠近
- 求高手解答....我让tabactivity继承SlidingMenuActivity 但 getSupportActionBar为null不能设置action
- android 百度地图定位
- 关于图片覆盖
- 长按一个图标 多个图标抖动删除怎么实现
- 新手求助
android:id="@+id/right2"
android:visibility="visible"/>
在代码里使用:findViewById(R.id.right2).setVisibility(View.GONE);findViewById(R.id.right2).setVisibility(View.VISIBLE);
取到include里面的view再控制