Twitter Facebook Delicious Digg Stumbleupon Favorites More

Thursday 26 July 2018

Arti App


  • xml file 
  • <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        xmlns:tools="http://schemas.android.com/tools"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        tools:context=".MainActivity">
    
        <ScrollView
            android:layout_width="match_parent"
            android:layout_height="match_parent">
    
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:orientation="vertical">
    
                <TextView
                    android:layout_width="match_parent"
                    android:layout_height="240dp"
                    android:background="@drawable/banner"
                    android:gravity="bottom"
                    android:textAlignment="center" />
    <!--FIRST ROW START     FIRST ROW START             FIRST ROW START                FIRST ROW START                    FIRST ROW START               FIRST ROW START           -->
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="horizontal"
                    android:weightSum="3">
    
                    <LinearLayout
                        android:id="@+id/one"
                        android:layout_width="0dp"
                        android:layout_height="120dp"
                        android:layout_margin="2dp"
                        android:layout_weight="1"
                        android:background="@color/colorGrapeFruit"
                        android:orientation="vertical">
    
                        <ImageView
                            android:layout_width="60dp"
                            android:layout_height="60dp"
                            android:layout_gravity="center"
                            android:layout_marginTop="20dp"
                            android:src="@drawable/tt"
                            android:tint="@color/colorWhite" />
    ye dusre type ke image ke liye
                        <TextView
                            android:layout_width="match_parent"
                            android:layout_height="match_parent"
                            android:background="@color/colorGrapeFruitDark"
                            android:padding="8dp"
                            android:text="Durga ji"
                            android:textAlignment="center"
                            android:textColor="@color/colorWhite"
                            android:textSize="18dp" />
                    </LinearLayout>
                    <!--sec-->
                    <LinearLayout
                        android:id="@+id/two"
                        android:layout_width="0dp"
                        android:layout_height="120dp"
                        android:layout_margin="2dp"
                        android:layout_weight="1"
                        android:background="@color/colorBitterSweet"
                        android:orientation="vertical">
    
                        <ImageView
                            android:layout_width="30dp"
                            android:layout_height="30dp"
                            android:layout_gravity="center"
                            android:layout_marginTop="20dp"
                            android:src="@drawable/ic_77_essential_icons_diary"
                            android:tint="@color/colorWhite"
                            />
    
                        <TextView
                            android:layout_width="match_parent"
                            android:layout_height="match_parent"
                            android:layout_marginTop="30dp"
                            android:background="@color/colorBitterSweetDark"
                            android:padding="8dp"
                            android:text="Ganesh ji marathoi"
                            android:textAlignment="center"
                            android:textColor="@color/colorWhite"
                            android:textSize="18dp" />
                    </LinearLayout>
    
    <!--comp-->
    
                    <!--THIRD-->
                    <LinearLayout
                        android:id="@+id/three"
                        android:layout_width="0dp"
                        android:layout_height="120dp"
                        android:layout_margin="2dp"
                        android:layout_weight="1"
                        android:background="@color/colorFlower"
                        android:orientation="vertical">
    
                        <ImageView
                            android:layout_width="30dp"
                            android:layout_height="30dp"
                            android:layout_gravity="center"
                            android:layout_marginTop="20dp"
                            android:src="@drawable/ic_77_essential_icons_credit_card"
                            android:tint="@color/colorWhite"
                            />
    
                        <TextView
                            android:layout_width="match_parent"
                            android:layout_height="match_parent"
                            android:layout_marginTop="30dp"
                            android:background="@color/colorFlowerDark"
                            android:padding="8dp"
                            android:text="karpur gavram"
                            android:textAlignment="center"
                            android:textColor="@color/colorWhite"
                            android:textSize="18dp" />
                    </LinearLayout>
  • colour <?xml version="1.0" encoding="utf-8"?>
    <resources>
        <color name="colorPrimary">#dd3333</color>
        <color name="colorPrimaryDark">#d11616</color>
        <color name="colorAccent">#ff4081</color>
        <color name="colorWhite">#FFFFFF</color>
        <color name="colorGrapeFruit">#ed5565</color>
        <color name="colorGrapeFruitDark">#da4453</color>
        <color name="colorBitterSweet">#fc6e51</color>
        <color name="colorBitterSweetDark">#e9573f</color>
        <color name="colorFlower">#ffce54</color>
        <color name="colorFlowerDark">#f68b42</color>
        <color name="colorGrass">#A0D468</color>
        <color name="colorGrassDark">#8CC152</color>
        <color name="colorBlueJeans">#509CEC</color>
        <color name="colorBlueJeansDark">#4A89DC</color>
        <color name="colorLavander">#ac92ec</color>
        <color name="colorLavanderDark">#967adc</color>
        <color name="colorMint">#48cfad</color>
        <color name="colorMintDark">#37bc9b</color>
        <color name="colorAqua">#4fc1e9</color>
        <color name="colorAquaDark">#3bafda</color>
        <color name="colorPinkRose">#EC87C0</color>
        <color name="colorPinkRoseDark">#D770AD</color>
    </resources>
  • 3
Share:

0 comments:

Post a Comment

Search This Blog

Popular Posts

Pages

how to make crores from 1 lakh in stock markets in 1 year

how to make crores from 1 lakh in stock markets in 1 year

Blogger Tutorials

Blogger Templates

Sample Text

Copyright © ANDROID TUTORIAL CODE | Powered by Blogger
Design by SimpleWpThemes | Blogger Theme by NewBloggerThemes.com & Distributed By Protemplateslab