{"id":3326,"date":"2021-07-02T03:23:03","date_gmt":"2021-07-02T03:23:03","guid":{"rendered":"https:\/\/www.liainfraservices.com\/blog\/?p=3326"},"modified":"2022-04-13T06:50:14","modified_gmt":"2022-04-13T06:50:14","slug":"mobile-single-screen-layout-with-video-view-and-multiple-gestures","status":"publish","type":"post","link":"https:\/\/www.liainfraservices.com\/blog\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\/","title":{"rendered":"Mobile Single Screen Layout with Video View and Multiple Gestures"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\"><\/span> <span class=\"rt-time\"> 4<\/span> <span class=\"rt-label rt-postfix\">min read<\/span><\/span><div class='epvc-post-count'><span class='epvc-eye'><\/span>  <span class=\"epvc-count\"> 5,287<\/span><\/div>\n<p class=\"wp-block-paragraph\">The custom <span class=\"has-inline-color has-vivid-cyan-blue-color\"><a href=\"https:\/\/www.liainfraservices.com\/mobile-app-development-company-in-chennai\" target=\"_blank\" rel=\"noreferrer noopener\">Mobile App Development<\/a><\/span> experts at Lia Infraservices is here to brief you about how to set up &#8220;<span class=\"has-inline-color has-vivid-cyan-blue-color\"><a href=\"https:\/\/www.liainfraservices.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Single Screen Layout with Video View and Multiple Gestures<\/a><\/span>&#8220;. This contains custom video controllers, seek bar with timer, multiple gestures like a single tap at left and right, swipe up and down.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For that, I split the device screen into three parts. Left, Middle, Right.<br>Our device screen has two coordinates X and Y.<br>To splitting the device screen into three parts, we must know the total range of values in X and Y coordinates.<br>For that, the ACTION_DOWN event is used to get the value of X and Y while touching the screen.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>        case MotionEvent.ACTION_DOWN:\n            initialX = event.getX();\n            initialY = event.getY();\n            break;\n        case MotionEvent.ACTION_UP:\n            float finalX = event.getX();\n            float finalY = event.getY();\n            x1 = event.getX();\n            y1 = event.getY();\n            Log.d(\"x1\", \"&gt;&gt;\" + x1);\n            Log.d(\"y1\", \"&gt;&gt;\" + y1);<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/liainfraservices.com\/kbarticles\/wp-content\/uploads\/2021\/06\/image.png\" alt=\"Layout with Video View and Multiple gestures - Lia Infraservices Mobile App Development \" class=\"wp-image-861\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">(approximately)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Find the layout width: Single Screen Layout with Video View and Multiple Gestures<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">For finding the width, make sure our xml layout_width and layout_height should be match parent.<br>android:layout_width=&#8221;match_parent&#8221;<br>android:layout_height=&#8221;match_parent&#8221;<br>Because each mobile has different pixels.so this will affect the design.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/\/ GET WIDTH OF THE LAYOUT<br>relativeLayout.post(new Runnable() {<br>@Override<br>public void run() {<br>width = relativeLayout.getWidth();<br>}<br>});<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By using the values of x and y, write the conditions for each gestures on touch event,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here I used only Action down and action up<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">@Override<br>public boolean onTouchEvent(MotionEvent event) {<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>    int action = event.getActionMasked();\n\n    switch (action) {\ncase MotionEvent.ACTION_DOWN:<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">break;<br>case MotionEvent.ACTION_UP:<br>break;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Click here To know about <span class=\"has-inline-color has-vivid-cyan-blue-color\"><strong><a href=\"https:\/\/developer.android.com\/reference\/android\/view\/MotionEvent\" target=\"_blank\" rel=\"noreferrer noopener\">MotionEvents<\/a><\/strong> <\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Splitting Screen into three parts:<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>        case MotionEvent.ACTION_UP:\n            float finalX = event.getX();\n            float finalY = event.getY();\n            x1 = event.getX();\n            y1 = event.getY(); \n            float half = width \/ 2;       \/\/540\n            float Dividedby3 = width \/ 3; \/\/360\n            float Dividedby4 = width \/ 4; \/\/270\n            float mid = by3 + by4;\n            Log.d(\"half\", \"&gt;&gt;\" + width \/ 2);\n            Log.d(\"3\", \"&gt;&gt;\" + width \/ 3);\n            Log.d(\"4\", \"&gt;&gt;\" + width \/ 4);\n            Log.d(\"mid\", \"&gt;&gt;\" + mid)<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">On Swipe up and down: Single Screen Layout with Video View and Multiple Gestures<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Create a separate layout for content to show while swiping up, on swipe down set that layout invisible.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">if (initialY &lt; finalY) {<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>                swipe.setVisibility(View.GONE);\n            }<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">if (initialY &gt; finalY) {<br>swipe.setVisibility(View.VISIBLE);<br>relativeLayout.setVisibility(View.GONE);<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>            }<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Hide and show the layout content by tapping at middle of the screen:<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Create separate layout for this action and initialize Boolean variable flag.<br>Make that layout background as transparent.<br>android:background=&#8221;#66000000&#8243;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>                if (flag == false) {\n                    relativeLayout.setVisibility(View.GONE);\n                    flag = true;\n                } else {\n                    relativeLayout.setVisibility(View.VISIBLE);\n                    flag = false;\n                }<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Tap right or left to see previous or next Video:<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">if (x1 &lt; Dividedby3) {<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>       (write action)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">}<br>else if (x1 &gt; Dividedby3 &amp;&amp; x1 &gt; mid) {<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>      (write action)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">}<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Swipe Left or Right to see next session:<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>            if (initialX &lt; finalX) {\n                 Log.d(TAG, \"Left to Right swipe performed\");\n\n            }\n\n            if (initialX &gt; finalX) {\n                 Log.d(TAG, \"Right to Left swipe performed\");\n\n            }<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Custom video controller:<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Prepared Listener for Media Player<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>    videoView.setOnPreparedListener(new MediaPlayer.OnPreparedListener() {\n        @Override\n        public void onPrepared(MediaPlayer mp) {\n            videoView.start();\n            setVideoProgress();\n        }\n    });\n    setPause();\n    setforward();\n    setRewind();\n\n    return super.onTouchEvent(event);\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">For seek bar timing, Use this time conversion<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/liainfraservices.com\/kbarticles\/wp-content\/uploads\/2021\/06\/Custom-video-controller-seek-bar-timing-conversion.png\" alt=\"Custom video controller - seek bar timing conversion - Lia Infraservices\" class=\"wp-image-862\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\/\/time conversion<br>public String timeConversion(long value) {<br>String videoTime;<br>int dur = (int) value;<br>int hrs = (dur \/ 3600000);<br>int mns = (dur \/ 60000) % 60000;<br>int scs = dur % 60000 \/ 1000;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>if (hrs &gt; 0) {\n    videoTime = String.format(\"%02d:%02d:%02d\", hrs, mns, scs);\n} else {\n    videoTime = String.format(\"%02d:%02d\", mns, scs);\n}\nreturn videoTime;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Get the current position and total duration from seek bar, for forward and rewind the video.<br>\/\/progress video<br>public void setVideoProgress() {<br>\/\/get the video duration<br>current_pos = videoView.getCurrentPosition();<br>Log.d(&#8220;current_pos&#8221;, &#8220;&gt;&gt;&gt;&#8221; + videoView.getCurrentPosition());\/\/0<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>total_duration = videoView.getDuration();\nseekBar.setMax((int) total_duration);\nLog.d(\"total_duration\", \"&gt;&gt;&gt;\" + videoView.getDuration());\/\/-1\n\n\/\/display video duration\ntotal.setText(timeConversion((long) total_duration));\ncurrent.setText(timeConversion((long) current_pos));\nseekBar.setMax((int) total_duration);\nfinal Handler handler = new Handler();\n\nRunnable runnable = new Runnable() {\n    @Override\n    public void run() {\n        try {\n            current_pos = videoView.getCurrentPosition();\n            current.setText(timeConversion((long) current_pos));\n            seekBar.setProgress((int) current_pos);\n            handler.postDelayed(this, 30);\n        } catch (IllegalStateException ed) {\n            ed.printStackTrace();\n\n        }\n    }\n};\nhandler.postDelayed(runnable, 30);\n\/\/seekbar change listner\nseekBar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {\n    @Override\n    public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n        Log.d(\"seekchangeprogress\", \"&gt;&gt;&gt;&gt;&gt;\" + progress);\n        progress1 = seekBar.getProgress();\n    }\n\n    @Override\n    public void onStartTrackingTouch(SeekBar seekBar) {\n\n    }\n\n    @Override\n    public void onStopTrackingTouch(SeekBar seekBar) {\n        current_pos = seekBar.getProgress();\n        videoView.seekTo((int) current_pos);\n        Log.d(\"seekchange1\", \"&gt;&gt;&gt;&gt;&gt;\" + current_pos);\n    }\n});<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Write some methods for,<br>setPause();<br>setforward();<br>setRewind();<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Conclusion:<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">To develop custom video controllers seek bar with timer, multiple gestures like a single tap at left and right, swipe up and down,&nbsp;contact&nbsp;<span class=\"has-inline-color has-vivid-cyan-blue-color\"><a href=\"https:\/\/www.liainfraservices.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">LIA Infraservices<\/a><\/span><a href=\"https:\/\/www.liainfraservices.com\/\">&nbsp;<\/a>the leading&nbsp;<span class=\"has-inline-color has-vivid-cyan-blue-color\"><a href=\"https:\/\/www.liainfraservices.com\/mobile-app-development-company-in-chennai\" target=\"_blank\" rel=\"noreferrer noopener\">Mobile App Development Company in Chennai<\/a><\/span>,&nbsp;Experts in <a href=\"https:\/\/www.liainfraservices.com\/web-app-development-company-in-chennai\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"has-inline-color has-vivid-cyan-blue-color\">Web Development<\/span><\/a>, DevOps, Digital Marketing, Graphics &amp; UI\/UX Design and&nbsp;<a href=\"https:\/\/www.liainfraservices.com\/cloud-migration-services\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"has-inline-color has-vivid-cyan-blue-color\">Cloud Migration Services<\/span><\/a>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a class=\"https:\/\/www.liainfraservices.com\/contact\" href=\"https:\/\/www.liainfraservices.com\/contact\" target=\"_blank\" rel=\"https:\/\/www.liainfraservices.com\/contact noopener\"><img decoding=\"async\" src=\"https:\/\/liainfraservices.com\/kbarticles\/wp-content\/uploads\/2021\/04\/Transform-Your-Innovative-Ideas-into-INCREDIBLE-APPS-2.jpg\" alt=\"Readymade e-commerce website build-in 2 days - lia infraservices\" class=\"wp-image-761\"\/><\/a><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">If you find this blog <strong>\u201cSingle Screen Layout with Video View and Multiple Gestures\u201d<\/strong> informative&nbsp;please comment below or<a href=\"https:\/\/www.liainfraservices.com\/contact\" target=\"_blank\" rel=\"noreferrer noopener\">&nbsp;<strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">Contact Lia Infraservices<\/mark><\/strong><\/a><\/p>\n\n\n<div class=\"taxonomy-post_tag wp-block-post-terms has-medium-font-size\"><a href=\"https:\/\/www.liainfraservices.com\/blog\/tag\/android-app-development\/\" rel=\"tag\">Android App Development<\/a><span class=\"wp-block-post-terms__separator\">|<\/span><a href=\"https:\/\/www.liainfraservices.com\/blog\/tag\/android-app-development-company-in-chennai\/\" rel=\"tag\">android app development company in chennai<\/a><span class=\"wp-block-post-terms__separator\">|<\/span><a href=\"https:\/\/www.liainfraservices.com\/blog\/tag\/custom-mobile-app-development\/\" rel=\"tag\">Custom Mobile App Development<\/a><span class=\"wp-block-post-terms__separator\">|<\/span><a href=\"https:\/\/www.liainfraservices.com\/blog\/tag\/ios-app-development\/\" rel=\"tag\">iOS App Development<\/a><span class=\"wp-block-post-terms__separator\">|<\/span><a href=\"https:\/\/www.liainfraservices.com\/blog\/tag\/ios-app-development-company-in-chennai\/\" rel=\"tag\">ios app development company in chennai<\/a><span class=\"wp-block-post-terms__separator\">|<\/span><a href=\"https:\/\/www.liainfraservices.com\/blog\/tag\/media-player\/\" rel=\"tag\">Media Player<\/a><span class=\"wp-block-post-terms__separator\">|<\/span><a href=\"https:\/\/www.liainfraservices.com\/blog\/tag\/mobile-app-development\/\" rel=\"tag\">Mobile App Development<\/a><span class=\"wp-block-post-terms__separator\">|<\/span><a href=\"https:\/\/www.liainfraservices.com\/blog\/tag\/mobile-app-development-company-in-chennai\/\" rel=\"tag\">mobile app development company in chennai<\/a><span class=\"wp-block-post-terms__separator\">|<\/span><a href=\"https:\/\/www.liainfraservices.com\/blog\/tag\/postman\/\" rel=\"tag\">Postman<\/a><span class=\"wp-block-post-terms__separator\">|<\/span><a href=\"https:\/\/www.liainfraservices.com\/blog\/tag\/video-controller\/\" rel=\"tag\">Video COntroller<\/a><\/div>","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\"><\/span> <span class=\"rt-time\"> 4<\/span> <span class=\"rt-label rt-postfix\">min read<\/span><\/span>5,287 The custom Mobile App Development experts at Lia Infraservices is here to brief you about how to set up &#8220;Single Screen Layout with Video View and Multiple Gestures&#8220;. This<\/p>\n","protected":false},"author":1,"featured_media":3327,"comment_status":"open","ping_status":"open","sticky":true,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[698],"tags":[758,886,765,760,887,766,763,826,764,767],"class_list":["post-3326","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mobile-application-development","tag-android-app-development","tag-android-app-development-company-in-chennai","tag-custom-mobile-app-development","tag-ios-app-development","tag-ios-app-development-company-in-chennai","tag-media-player","tag-mobile-app-development","tag-mobile-app-development-company-in-chennai","tag-postman","tag-video-controller"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Mobile Single Screen Layout with Video View and Multiple Gestures - Blog | Liainfraservices<\/title>\n<meta name=\"description\" content=\"Lia Infraservices custom Mobile App Development experts brief you about how to set Single Screen Layout with Video View and Multiple Gestures\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.liainfraservices.com\/blog\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mobile Single Screen Layout with Video View and Multiple Gestures - Blog | Liainfraservices\" \/>\n<meta property=\"og:description\" content=\"Lia Infraservices custom Mobile App Development experts brief you about how to set Single Screen Layout with Video View and Multiple Gestures\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.liainfraservices.com\/blog\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog | Liainfraservices\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-02T03:23:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-13T06:50:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2021\/07\/Mobile-Layout-with-Video-View-and-multiple-Gestures.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"512\" \/>\n\t<meta property=\"og:image:height\" content=\"315\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Partho\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Partho\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\\\/\"},\"author\":{\"name\":\"Partho\",\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/#\\\/schema\\\/person\\\/b5a729cb152dd3bc7f07550ca9d223e4\"},\"headline\":\"Mobile Single Screen Layout with Video View and Multiple Gestures\",\"datePublished\":\"2021-07-02T03:23:03+00:00\",\"dateModified\":\"2022-04-13T06:50:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\\\/\"},\"wordCount\":512,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/Mobile-Layout-with-Video-View-and-multiple-Gestures.jpg\",\"keywords\":[\"Android App Development\",\"android app development company in chennai\",\"Custom Mobile App Development\",\"iOS App Development\",\"ios app development company in chennai\",\"Media Player\",\"Mobile App Development\",\"mobile app development company in chennai\",\"Postman\",\"Video COntroller\"],\"articleSection\":[\"Mobile Application Development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\\\/\",\"url\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\\\/\",\"name\":\"Mobile Single Screen Layout with Video View and Multiple Gestures - Blog | Liainfraservices\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/Mobile-Layout-with-Video-View-and-multiple-Gestures.jpg\",\"datePublished\":\"2021-07-02T03:23:03+00:00\",\"dateModified\":\"2022-04-13T06:50:14+00:00\",\"description\":\"Lia Infraservices custom Mobile App Development experts brief you about how to set Single Screen Layout with Video View and Multiple Gestures\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/Mobile-Layout-with-Video-View-and-multiple-Gestures.jpg\",\"contentUrl\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/Mobile-Layout-with-Video-View-and-multiple-Gestures.jpg\",\"width\":512,\"height\":315,\"caption\":\"Single Screen Layout with Video View and Multiple Gestures\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mobile Application Development\",\"item\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/category\\\/mobile-application-development\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Mobile Single Screen Layout with Video View and Multiple Gestures\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/\",\"name\":\"Blog | Liainfraservices\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/#organization\",\"name\":\"Blog | Liainfraservices\",\"url\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/lia-logo-b-e1635340384244.png\",\"contentUrl\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/lia-logo-b-e1635340384244.png\",\"width\":308,\"height\":96,\"caption\":\"Blog | Liainfraservices\"},\"image\":{\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.liainfraservices.com\\\/blog\\\/#\\\/schema\\\/person\\\/b5a729cb152dd3bc7f07550ca9d223e4\",\"name\":\"Partho\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6c5fc8918cc5dbc844eccbeaaf854eef27d2c79ab17ff0022304f712805d6959?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6c5fc8918cc5dbc844eccbeaaf854eef27d2c79ab17ff0022304f712805d6959?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6c5fc8918cc5dbc844eccbeaaf854eef27d2c79ab17ff0022304f712805d6959?s=96&d=mm&r=g\",\"caption\":\"Partho\"},\"description\":\"Partho Das, founder of Lia Infraservices, has 15+ years of expertise in cloud solutions, DevOps, and infrastructure security. He provides consultation on architecture planning, DevOps setup, Kubernetes, and cloud migrations. Partho holds multiple AWS and Azure certifications, along with CISCO CCNA &amp; CCNP. Connect on LinkedIn\",\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/partho-dev\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Mobile Single Screen Layout with Video View and Multiple Gestures - Blog | Liainfraservices","description":"Lia Infraservices custom Mobile App Development experts brief you about how to set Single Screen Layout with Video View and Multiple Gestures","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.liainfraservices.com\/blog\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\/","og_locale":"en_US","og_type":"article","og_title":"Mobile Single Screen Layout with Video View and Multiple Gestures - Blog | Liainfraservices","og_description":"Lia Infraservices custom Mobile App Development experts brief you about how to set Single Screen Layout with Video View and Multiple Gestures","og_url":"https:\/\/www.liainfraservices.com\/blog\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\/","og_site_name":"Blog | Liainfraservices","article_published_time":"2021-07-02T03:23:03+00:00","article_modified_time":"2022-04-13T06:50:14+00:00","og_image":[{"width":512,"height":315,"url":"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2021\/07\/Mobile-Layout-with-Video-View-and-multiple-Gestures.jpg","type":"image\/jpeg"}],"author":"Partho","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Partho","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.liainfraservices.com\/blog\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\/#article","isPartOf":{"@id":"https:\/\/www.liainfraservices.com\/blog\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\/"},"author":{"name":"Partho","@id":"https:\/\/www.liainfraservices.com\/blog\/#\/schema\/person\/b5a729cb152dd3bc7f07550ca9d223e4"},"headline":"Mobile Single Screen Layout with Video View and Multiple Gestures","datePublished":"2021-07-02T03:23:03+00:00","dateModified":"2022-04-13T06:50:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.liainfraservices.com\/blog\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\/"},"wordCount":512,"commentCount":0,"publisher":{"@id":"https:\/\/www.liainfraservices.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.liainfraservices.com\/blog\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\/#primaryimage"},"thumbnailUrl":"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2021\/07\/Mobile-Layout-with-Video-View-and-multiple-Gestures.jpg","keywords":["Android App Development","android app development company in chennai","Custom Mobile App Development","iOS App Development","ios app development company in chennai","Media Player","Mobile App Development","mobile app development company in chennai","Postman","Video COntroller"],"articleSection":["Mobile Application Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.liainfraservices.com\/blog\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.liainfraservices.com\/blog\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\/","url":"https:\/\/www.liainfraservices.com\/blog\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\/","name":"Mobile Single Screen Layout with Video View and Multiple Gestures - Blog | Liainfraservices","isPartOf":{"@id":"https:\/\/www.liainfraservices.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.liainfraservices.com\/blog\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\/#primaryimage"},"image":{"@id":"https:\/\/www.liainfraservices.com\/blog\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\/#primaryimage"},"thumbnailUrl":"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2021\/07\/Mobile-Layout-with-Video-View-and-multiple-Gestures.jpg","datePublished":"2021-07-02T03:23:03+00:00","dateModified":"2022-04-13T06:50:14+00:00","description":"Lia Infraservices custom Mobile App Development experts brief you about how to set Single Screen Layout with Video View and Multiple Gestures","breadcrumb":{"@id":"https:\/\/www.liainfraservices.com\/blog\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.liainfraservices.com\/blog\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.liainfraservices.com\/blog\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\/#primaryimage","url":"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2021\/07\/Mobile-Layout-with-Video-View-and-multiple-Gestures.jpg","contentUrl":"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2021\/07\/Mobile-Layout-with-Video-View-and-multiple-Gestures.jpg","width":512,"height":315,"caption":"Single Screen Layout with Video View and Multiple Gestures"},{"@type":"BreadcrumbList","@id":"https:\/\/www.liainfraservices.com\/blog\/mobile-single-screen-layout-with-video-view-and-multiple-gestures\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.liainfraservices.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Mobile Application Development","item":"https:\/\/www.liainfraservices.com\/blog\/category\/mobile-application-development\/"},{"@type":"ListItem","position":3,"name":"Mobile Single Screen Layout with Video View and Multiple Gestures"}]},{"@type":"WebSite","@id":"https:\/\/www.liainfraservices.com\/blog\/#website","url":"https:\/\/www.liainfraservices.com\/blog\/","name":"Blog | Liainfraservices","description":"","publisher":{"@id":"https:\/\/www.liainfraservices.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.liainfraservices.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.liainfraservices.com\/blog\/#organization","name":"Blog | Liainfraservices","url":"https:\/\/www.liainfraservices.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.liainfraservices.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2021\/10\/lia-logo-b-e1635340384244.png","contentUrl":"https:\/\/www.liainfraservices.com\/blog\/wp-content\/uploads\/2021\/10\/lia-logo-b-e1635340384244.png","width":308,"height":96,"caption":"Blog | Liainfraservices"},"image":{"@id":"https:\/\/www.liainfraservices.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.liainfraservices.com\/blog\/#\/schema\/person\/b5a729cb152dd3bc7f07550ca9d223e4","name":"Partho","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/6c5fc8918cc5dbc844eccbeaaf854eef27d2c79ab17ff0022304f712805d6959?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/6c5fc8918cc5dbc844eccbeaaf854eef27d2c79ab17ff0022304f712805d6959?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6c5fc8918cc5dbc844eccbeaaf854eef27d2c79ab17ff0022304f712805d6959?s=96&d=mm&r=g","caption":"Partho"},"description":"Partho Das, founder of Lia Infraservices, has 15+ years of expertise in cloud solutions, DevOps, and infrastructure security. He provides consultation on architecture planning, DevOps setup, Kubernetes, and cloud migrations. Partho holds multiple AWS and Azure certifications, along with CISCO CCNA &amp; CCNP. Connect on LinkedIn","sameAs":["https:\/\/www.linkedin.com\/in\/partho-dev\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.liainfraservices.com\/blog\/wp-json\/wp\/v2\/posts\/3326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.liainfraservices.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.liainfraservices.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.liainfraservices.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.liainfraservices.com\/blog\/wp-json\/wp\/v2\/comments?post=3326"}],"version-history":[{"count":4,"href":"https:\/\/www.liainfraservices.com\/blog\/wp-json\/wp\/v2\/posts\/3326\/revisions"}],"predecessor-version":[{"id":4734,"href":"https:\/\/www.liainfraservices.com\/blog\/wp-json\/wp\/v2\/posts\/3326\/revisions\/4734"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.liainfraservices.com\/blog\/wp-json\/wp\/v2\/media\/3327"}],"wp:attachment":[{"href":"https:\/\/www.liainfraservices.com\/blog\/wp-json\/wp\/v2\/media?parent=3326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.liainfraservices.com\/blog\/wp-json\/wp\/v2\/categories?post=3326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.liainfraservices.com\/blog\/wp-json\/wp\/v2\/tags?post=3326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}