GithubHelp home page GithubHelp logo

jiyiren / pulltozoomscrollview Goto Github PK

View Code? Open in Web Editor NEW
38.0 5.0 15.0 144 KB

下拉头部变化的 ScrollView Android 组件

Home Page: http://jiyiren.github.io/2015/08/13/android-scrollview/

Java 100.00%
scrollview android pull-refresh

pulltozoomscrollview's Introduction

效果图

效果图

实现简介

  • 说明地址:Android-Scrollview 下拉变大说明

  • 项目结构

    代码结构图

  • 代码结构

    • 一个主 Activity ,
    • 一个 PullToZoomScrollView ( 即自定义的 ScrollView ),
    • 还有一个工具类(可以忽略)

项目实现

布局结构

  • 主布局

    分为两块,一个为TopBar,即标题栏(这个不用说了),另外一个是自定义的ScrollView,即PullToZoomScrollView。既然是ScrollView,它也是ViewGroop,所以它内部也可以包含多个布局。

  • PullToZoomScrollView 布局

    也包含两块,一个是上面要下拉可以变大的布局(即含背景图的布局),一个就是下面的文字显示布局。我这里是分别写两个layout布局,在主布局里include进去的。

pulltozoomscrollview's People

Contributors

jiyiren avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pulltozoomscrollview's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.