All Projects → Manuiq → Zoomabletextureview

Manuiq / Zoomabletextureview

Adding zoom and scroll gestures to video playback on Android

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Zoomabletextureview

Consecutivescroller
ConsecutiveScrollerLayout是Android下支持多个滑动布局(RecyclerView、WebView、ScrollView等)和普通控件(TextView、ImageView、LinearLayou、自定义View等)持续连贯滑动的容器,它使所有的子View像一个整体一样连续顺畅滑动。并且支持布局吸顶功能。
Stars: ✭ 1,383 (+1033.61%)
Mutual labels:  android-ui
Android Inappbilling
A sample which uses Google's Play Billing Library and it does InApp Purchases and Subscriptions.
Stars: ✭ 114 (-6.56%)
Mutual labels:  android-ui
Androidrate
AndroidRate is a library to help you promote your Android app by prompting users to rate the app after using it for a few days.
Stars: ✭ 117 (-4.1%)
Mutual labels:  android-ui
Busbookingui Android
Check out the new style for App Design aims for the Bus Booking Service...😉😀😁😎
Stars: ✭ 105 (-13.93%)
Mutual labels:  android-ui
Android Observablescrollview
Android library to observe scroll events on scrollable views.
Stars: ✭ 9,625 (+7789.34%)
Mutual labels:  android-ui
Teammate Android
A Team Management app for creating tournaments and games for various sports
Stars: ✭ 116 (-4.92%)
Mutual labels:  android-ui
Toro
Video list auto playback made simple, specially built for RecyclerView
Stars: ✭ 1,380 (+1031.15%)
Mutual labels:  exoplayer
Firebasecrud
Rich UI and animation flutter app backed by firebase
Stars: ✭ 121 (-0.82%)
Mutual labels:  android-ui
Cameraxdemo
A sample camera app with CameraX API from Android Jetpack
Stars: ✭ 112 (-8.2%)
Mutual labels:  android-ui
Player
Clean and elegant Android video player based on ExoPlayer
Stars: ✭ 116 (-4.92%)
Mutual labels:  exoplayer
Mediapicker
Easy customizable picker for all your needs in Android application
Stars: ✭ 105 (-13.93%)
Mutual labels:  android-ui
Xupdate
🚀A lightweight, high availability Android version update framework.(一个轻量级、高可用性的Android版本更新框架)
Stars: ✭ 1,688 (+1283.61%)
Mutual labels:  android-ui
Ui2018
安卓高级UI代码,配合博客详细讲解知识点
Stars: ✭ 1,571 (+1187.7%)
Mutual labels:  android-ui
Boden
Purely native C++ cross-platform GUI framework for Android and iOS development. https://www.boden.io
Stars: ✭ 1,394 (+1042.62%)
Mutual labels:  android-ui
Vectorifydahome
📱 Minimal app to apply wallpapers from a vast (400+) collection of vector graphics 🙃
Stars: ✭ 119 (-2.46%)
Mutual labels:  android-ui
Smiley Rating
A custom android Rating view with Interactive Smiles 😄
Stars: ✭ 103 (-15.57%)
Mutual labels:  android-ui
Compactcalendarview
An android library which provides a compact calendar view much like the one used in google calenders.
Stars: ✭ 1,504 (+1132.79%)
Mutual labels:  android-ui
Easyadapter
Recyclerview adapter library- Create adapter in just 3 lines of code
Stars: ✭ 122 (+0%)
Mutual labels:  android-ui
Anychart Android
AnyChart Android Chart is an amazing data visualization library for easily creating interactive charts in Android apps. It runs on API 19+ (Android 4.4) and features dozens of built-in chart types.
Stars: ✭ 1,762 (+1344.26%)
Mutual labels:  android-ui
Truffle Shuffle
An Android data-driven, percentage-based UI Card Gallery Library
Stars: ✭ 117 (-4.1%)
Mutual labels:  android-ui

ZoomableTextureView

Enables pinch to zoom and scroll gestures on video while it's playing. Can be used with MediaPlayer and the new ExoPlayer API. Inspired by similar implementation for ImageView http://stackoverflow.com/questions/6650398/android-imageview-zoom-in-and-zoom-out

Usage

Library is distributed via jCenter

dependencies {
  implementation 'ua.polohalo.zoomabletextureview:zoomabletextureview:1.0.0'
}

Just include the custom view in your XML layout:

    <ua.polohalo.zoomabletextureview.ZoomableTextureView
        android:id="@+id/textureView"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        app:maxScale="6" />

app:maxScale="6" determines that the max zooming factor will be 600%.

Main limitation of this library is the fact that it doesn't properly handle "wrap_content" size so you need to set it manually

In case you want to use it with the new SimpleExoPlayerView instead of ExoPlayer(provides controls out of the box) there is a sample on how to do just that here.

License

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].