Techno Blender
Digitally Yours.

How to Create a Shayari Android App Using Firebase in Kotlin?

0 37


<?xml version="1.0" encoding="utf-8"?>

<RelativeLayout

    android:layout_width="match_parent"

    android:layout_height="wrap_content">

  

    <androidx.cardview.widget.CardView

        android:layout_width="match_parent"

        android:layout_height="wrap_content"

        android:layout_margin="10dp"

        app:cardCornerRadius="10dp">

  

        <LinearLayout

            android:id="@+id/mainBaground"

            android:layout_width="match_parent"

            android:layout_height="match_parent"

            android:orientation="vertical">

  

            <TextView

                android:id="@+id/itemShayari"

                android:layout_width="match_parent"

                android:layout_height="wrap_content"

                android:layout_margin="10dp"

                android:fontFamily="@font/bold"

                android:gravity="center"

                android:text=""

                android:textColor="@color/black"

                android:textSize="22sp" />

  

            <LinearLayout

                android:layout_width="match_parent"

                android:layout_height="wrap_content"

                android:background="#80000000"

                android:orientation="horizontal"

                android:padding="10dp">

  

                <FrameLayout

                    android:layout_width="match_parent"

                    android:layout_height="match_parent"

                    android:layout_weight="1">

  

                    <LinearLayout

                        android:id="@+id/btnShare"

                        android:layout_width="40dp"

                        android:layout_height="40dp"

                        android:layout_gravity="center"

                        android:background="@drawable/btn_round_shape"

                        android:padding="7dp">

  

                        <ImageView

                            android:layout_width="match_parent"

                            android:layout_height="match_parent"

                            android:background="@drawable/ic_baseline_share_24" />

                    </LinearLayout>

  

                </FrameLayout>

  

                <FrameLayout

                    android:layout_width="match_parent"

                    android:layout_height="match_parent"

                    android:layout_weight="1">

  

                    <LinearLayout

                        android:id="@+id/btnCopy"

                        android:padding="7dp"

                        android:layout_width="40dp"

                        android:layout_height="40dp"

                        android:layout_gravity="center"

                        android:background="@drawable/btn_round_shape">

  

                        <ImageView

                            android:layout_width="match_parent"

                            android:layout_height="match_parent"

                            android:background="@drawable/ic_baseline_content_copy_24" />

                    </LinearLayout>

                </FrameLayout>

  

                <FrameLayout

                    android:layout_width="match_parent"

                    android:layout_height="match_parent"

                    android:layout_weight="1">

  

                    <LinearLayout

                        android:id="@+id/btnWhatsapp"

                        android:padding="7dp"

                        android:layout_width="40dp"

                        android:layout_height="40dp"

                        android:layout_gravity="center"

                        android:background="@drawable/btn_round_shape">

  

                        <ImageView

                            android:layout_width="match_parent"

                            android:layout_height="match_parent"

                            android:src="@drawable/whatsapp" />

                    </LinearLayout>

                </FrameLayout>

  

            </LinearLayout>

  

        </LinearLayout>

  

    </androidx.cardview.widget.CardView>

  

</RelativeLayout>


<?xml version="1.0" encoding="utf-8"?>

<RelativeLayout

    android:layout_width="match_parent"

    android:layout_height="wrap_content">

  

    <androidx.cardview.widget.CardView

        android:layout_width="match_parent"

        android:layout_height="wrap_content"

        android:layout_margin="10dp"

        app:cardCornerRadius="10dp">

  

        <LinearLayout

            android:id="@+id/mainBaground"

            android:layout_width="match_parent"

            android:layout_height="match_parent"

            android:orientation="vertical">

  

            <TextView

                android:id="@+id/itemShayari"

                android:layout_width="match_parent"

                android:layout_height="wrap_content"

                android:layout_margin="10dp"

                android:fontFamily="@font/bold"

                android:gravity="center"

                android:text=""

                android:textColor="@color/black"

                android:textSize="22sp" />

  

            <LinearLayout

                android:layout_width="match_parent"

                android:layout_height="wrap_content"

                android:background="#80000000"

                android:orientation="horizontal"

                android:padding="10dp">

  

                <FrameLayout

                    android:layout_width="match_parent"

                    android:layout_height="match_parent"

                    android:layout_weight="1">

  

                    <LinearLayout

                        android:id="@+id/btnShare"

                        android:layout_width="40dp"

                        android:layout_height="40dp"

                        android:layout_gravity="center"

                        android:background="@drawable/btn_round_shape"

                        android:padding="7dp">

  

                        <ImageView

                            android:layout_width="match_parent"

                            android:layout_height="match_parent"

                            android:background="@drawable/ic_baseline_share_24" />

                    </LinearLayout>

  

                </FrameLayout>

  

                <FrameLayout

                    android:layout_width="match_parent"

                    android:layout_height="match_parent"

                    android:layout_weight="1">

  

                    <LinearLayout

                        android:id="@+id/btnCopy"

                        android:padding="7dp"

                        android:layout_width="40dp"

                        android:layout_height="40dp"

                        android:layout_gravity="center"

                        android:background="@drawable/btn_round_shape">

  

                        <ImageView

                            android:layout_width="match_parent"

                            android:layout_height="match_parent"

                            android:background="@drawable/ic_baseline_content_copy_24" />

                    </LinearLayout>

                </FrameLayout>

  

                <FrameLayout

                    android:layout_width="match_parent"

                    android:layout_height="match_parent"

                    android:layout_weight="1">

  

                    <LinearLayout

                        android:id="@+id/btnWhatsapp"

                        android:padding="7dp"

                        android:layout_width="40dp"

                        android:layout_height="40dp"

                        android:layout_gravity="center"

                        android:background="@drawable/btn_round_shape">

  

                        <ImageView

                            android:layout_width="match_parent"

                            android:layout_height="match_parent"

                            android:src="@drawable/whatsapp" />

                    </LinearLayout>

                </FrameLayout>

  

            </LinearLayout>

  

        </LinearLayout>

  

    </androidx.cardview.widget.CardView>

  

</RelativeLayout>

FOLLOW US ON GOOGLE NEWS

Read original article here

Denial of responsibility! Techno Blender is an automatic aggregator of the all world’s media. In each content, the hyperlink to the primary source is specified. All trademarks belong to their rightful owners, all materials to their authors. If you are the owner of the content and do not want us to publish your materials, please contact us by email – [email protected]. The content will be deleted within 24 hours.

Leave a comment