0% found this document useful (0 votes)
18 views2 pages

Android Layout

The document is an XML layout for an Android application featuring a vertical LinearLayout. It includes a top bar with an app title and icons, a WebView for content display, and a bottom navigation bar with two buttons for 'Open Messenger' and 'Permissions'. The layout is designed with specific colors and padding for a user-friendly interface.

Uploaded by

amanxdbr08
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views2 pages

Android Layout

The document is an XML layout for an Android application featuring a vertical LinearLayout. It includes a top bar with an app title and icons, a WebView for content display, and a bottom navigation bar with two buttons for 'Open Messenger' and 'Permissions'. The layout is designed with specific colors and padding for a user-friendly interface.

Uploaded by

amanxdbr08
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

<?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"
android:background="#667eea"
tools:context=".MainActivity">

<!-- Top Bar -->


<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/colorPrimary"
android:padding="16dp"
android:orientation="horizontal"
android:gravity="center_vertical">

<ImageView
android:layout_width="24dp"
android:layout_height="24dp"
android:src="@drawable/ic_messenger"
android:layout_marginEnd="8dp"/>

<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Messenger Auto Sender"
android:textColor="@android:color/white"
android:textSize="18sp"
android:textStyle="bold"/>

<ImageView
android:layout_width="24dp"
android:layout_height="24dp"
android:src="@drawable/ic_settings"
android:layout_marginStart="8dp"/>
</LinearLayout>

<!-- WebView Container -->


<WebView
android:id="@+id/webview"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"/>

<!-- Bottom Navigation -->


<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/colorPrimary"
android:padding="12dp"
android:orientation="horizontal"
android:gravity="center">

<Button
android:id="@+id/btn_messenger"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Open Messenger"
android:backgroundTint="@color/colorAccent"
android:textColor="@android:color/white"
android:layout_margin="4dp"/>

<Button
android:id="@+id/btn_permissions"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Permissions"
android:backgroundTint="@color/colorSecondary"
android:textColor="@android:color/white"
android:layout_margin="4dp"/>
</LinearLayout>

</LinearLayout>

You might also like