Share Layout Android Library

Overview

Share Layout Android Library

🤔 Problem :

In Android Studio for any Application to share any Layout Screenshot via Intent , you need to write methods where you write the whole code ..

1. Take Screenshot from the layout

2. Convert into Bitmap

3. Share Methods where you will share the image and string via Intent

There you write the whole code for share , this take too long so for that Now you can write this in a single line .

Solution :

Just add this dependency implementation 'com.github.maityamit:Share_Layout_Android_Library:1.0.0' in yout project and you can use the method directly by call this ShareLayout.simpleLayoutShare( Context , View , String ); and easily share any screenshot 📱 via Intent.

📱 Sample


⚙️Gradle

Add this on build.gradle(project)

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}
  

Add this on build.gradle(module)

dependencies {
             ....
	     implementation 'com.github.maityamit:Share_Layout_Android_Library:1.0.0'
	}

♨️Java

ShareLayout.simpleLayoutShare( Context , View , String );

Context :

In which context you call this.

View :

Which view layout you want to share , which may be linear/relative or any type of

String :

Which String you want to share with Screensshot


Example :

View view = findViewById(R.id.relativeLayout);
Button button = findViewById(R.id.button_share);
button.setOnClickListener(new View.OnClickListener() {
      @Override
         public void onClick(View v) {
              ShareLayout.simpleLayoutShare(MainActivity.this,view,"Hello I am Amit");
           }
   });

Created By 🤵

              


📝Change Log

1. 1.0.0

Simple Share Layout Screenshot with text add this version.

You might also like...
[UNMAINTAINED]: AndroidMosaicLayout is android layout to display group of views as grid consists of different asymmetric patterns (90 different patterns).
[UNMAINTAINED]: AndroidMosaicLayout is android layout to display group of views as grid consists of different asymmetric patterns (90 different patterns).

AndroidMosaicLayout AndroidMosaicLayout is android layout to display group of views in more that 90 different patterns. What is AndroidMosaicLayout? I

Scalable Layout For Android
Scalable Layout For Android

ScalableLayout for Android. Class: com.ssomai.android.scalablelayout.ScalableLayout 한글버전 README.md: https://github.com/ssomai/ScalableLayout/blob/mast

Android implementation of FlowLayout. Layout arranges its children in multiple rows depending on their width.
Android implementation of FlowLayout. Layout arranges its children in multiple rows depending on their width.

FlowLayout FlowLayout is an opensource Android library that alows developers to easily integrate flow layout into their app. FlowLayout is an layout t

Circular layout for android
Circular layout for android

CircleLayout Circular layout for android. Installlation Add CircleLayout as Android Library to your project. How to add project as Android Library Usa

An Android layout for arranging children along a circle
An Android layout for arranging children along a circle

CircleLayout An Android layout for arranging children along a circle You can customize the following options: cl_centerView: Set a specific view ID to

Android - A layout that arranges its children in relation to a background image
Android - A layout that arranges its children in relation to a background image

ImageLayout A layout that arranges its children in relation to a background image. The layout of each child is specified in image coordinates (pixels)

A layout engine for Android that decouples layouts from the View containers that manage scrolling and view recycling. FreeFlow makes it really easy to create custom layouts and beautiful transition animations as data and layouts change Android Shadow Layout
Android Shadow Layout

🔺 Before using this library, read information below 🔺 This library is not more supported. If you want to add new feature or fix a bug, grab source

An android layout to re-arrange child views via dragging
An android layout to re-arrange child views via dragging

Android Rearrangeable Layout An android layout to re-arrange child views via dragging Screencast Demo Layout Usage All the child views are draggable o

Comments
  • [ImgBot] Optimize images

    [ImgBot] Optimize images

    Beep boop. Your images are optimized!

    Your image file size has been reduced by 30% 🎉

    Details

    | File | Before | After | Percent reduction | |:--|:--|:--|:--| | /app/demo.png | 391.66kb | 268.56kb | 31.43% | | /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png | 10.40kb | 9.54kb | 8.33% | | /app/src/main/res/mipmap-xxhdpi/ic_launcher.png | 7.72kb | 7.27kb | 5.88% | | /app/src/main/res/mipmap-hdpi/ic_launcher.png | 3.51kb | 3.43kb | 2.14% | | /app/src/main/res/mipmap-xhdpi/ic_launcher.png | 4.81kb | 4.71kb | 2.07% | | | | | | | Total : | 418.11kb | 293.51kb | 29.80% |


    📝 docs | :octocat: repo | 🙋🏾 issues | 🏪 marketplace

    ~Imgbot - Part of Optimole family

    PR: merged 
    opened by imgbot[bot] 0
Releases(1.0.0)
Owner
Amit Maity
BTech CSE Undergrad at GL Bajaj Institute if Technology and Management. ( Greater Noida , Delhi NCR ) Like and doing Open Source .
Amit Maity
GoolgePlusLayout is a custom layout that plays animation on the children views while scrolling as the layout in the Google Plus (android) main page

Google Plus Layout Google Plus Layout is a custom layout that support playing animation on child view(s) in a serialize manner like the the main

Ahmed Nammari 224 Nov 25, 2022
Responsive Layout Gird Configuration using Compose. An adaptive layout

ResponsiveGrid Responsive Grid is most followed layout system by the designer as it adapts to screen size and orientation, ensuring consistency across

null 4 Apr 12, 2022
A very simple arc layout library for Android

ArcLayout A very simple arc layout library for Android. Try out the sample application on the Play Store. Usage (For a working implementation of this

ogaclejapan 1.4k Dec 26, 2022
It's an Android library that allows you to use Layout as RadioButton or CheckBox.

Android - CompoundLayout It's an Android library that allows you to use Layout as RadioButton or CheckBox. The librarie is Android 14+ compatible. Gra

null 483 Nov 25, 2022
An Android Layout which has a same function like https://github.com/romaonthego/RESideMenu

ResideLayout An Android Layout which has a same function like https://github.com/romaonthego/RESideMenu. Can be used on Android 1.6(I haven't try it.)

Yang Hui 392 Oct 12, 2022
Android layout that simulates physics using JBox2D

PhysicsLayout Android layout that simulates physics using JBox2D. Simply add views, enable physics, and watch them fall! See it in action with the sam

John Carlson 689 Dec 29, 2022
An Android demo of a foldable layout implementation. Engineered by Vincent Brison.

Foldable Layout This code is a showcase of a foldable animation I created for Worldline. The code is fully written with java APIs from the Android SDK

Worldline 599 Dec 23, 2022
A 3D Layout for Android,When you use it warp other view,it can became a 3D view,一秒让你的view拥有3D效果!

ThreeDLayout A 3D Layout,When you use it warp other view,it can became a 3D view 中文文档 preview USAGE 1.compile library allprojects { repositories {

androidwing 490 Oct 27, 2022
A pull to refresh layout for android, the RecyclerRefreshLayout is based on the SwipeRefreshLayout. support all the views, highly customizable, code simplicity, etc. really a practical RefreshLayout!

RecyclerRefreshLayout English | 中文版 RecyclerRefreshLayout based on the {@link android.support.v4.widget.SwipeRefreshLayout} The RecyclerRefreshLayout

dinus_developer 1.7k Nov 10, 2022
Easy, flexible and powerful Swipe Layout for Android

SwipeRevealLayout A layout that you can swipe/slide to show another layout. Demo Overview Drag mode Drag mode normal: Drag mode same_level: Features F

Chau Thai 1.5k Jan 4, 2023