菜鸟之初 Scrollview
来源:互联网 发布:zk和nginx 编辑:程序博客网 时间:2024/06/06 05:15
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <HorizontalScrollView android:layout_width="wrap_content" android:layout_height="200dp" > <LinearLayout android:layout_width="wrap_content" android:layout_height="match_parent" android:orientation="horizontal" > <android.support.v4.view.ViewPager android:layout_width="400dp" android:layout_height="match_parent" android:background="#aaffff"/> <View android:layout_width="800dp" android:layout_height="match_parent" android:background="#ffff00"/> </LinearLayout> </HorizontalScrollView>
<!--<ScrollView 之下必有子布局>--><ScrollView android:layout_width="match_parent" android:layout_height="wrap_content"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <View android:layout_width="match_parent" android:layout_height="400dp" android:background="#00ff00" /> <View android:layout_width="match_parent" android:layout_height="400dp" android:background="#ffffaa" /> </LinearLayout> </ScrollView></LinearLayout>
图片分为两拦,水平滑动,垂直滑动另一栏
阅读全文
1 0
- 菜鸟之初 Scrollview
- cocos2d-x 菜鸟学习笔记七(界面控件之scrollView与tableView)
- 菜鸟菜鸟菜鸟菜鸟编程之路
- 菜鸟初体验之----DataBinding
- 菜鸟学前端之初入江湖
- 初入IT界之菜鸟心声
- android之ScrollView
- android控件之ScrollView
- android组件之ScrollView
- Android 之ScrollView
- scrollview之contentOffset
- NGUI之ScrollView
- 用户界面View之ScrollView
- Android 笔记之ScrollView
- Android UI之ScrollView
- ScrollView实例之--侧滑
- ngui学习之scrollview
- Android之ScrollView
- Java并发编程:volatile关键字解析
- Nginx–http请求的生命周期图解
- C#和NewSQL更配 —— TiDB入门(可能是C#下的全网首发)
- Linux学习笔记:包管理工具aptitude
- windows 10 64bit+Tensorflow+Keras+VS2015+CUDA8.0+cuDNN v6.0 GPU加速
- 菜鸟之初 Scrollview
- 大型网站架构演化技术架构:核心原理与案例
- no xxx to stop
- centos网卡配置NM_CONTROLLED=”yes”的含义
- iOS---Local declaration of "" hides问题
- CSDN博客模板调查问卷
- 反射实现两个对象属性名不同之间的映射
- UVALive
- 01、Mybatis快速入门