Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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"
- tools:context=".RealMainActivity"
- android:background="#f7f7f7"
- android:orientation="vertical">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="50dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Welcome to the Lake County Road Maintainance App"
- android:layout_marginLeft="15dp"
- android:layout_marginRight="15dp"
- android:textSize="16sp"
- android:textStyle="bold"/>
- <RelativeLayout
- android:id="@+id/badge_layout1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:layout_gravity="right"
- android:layout_marginRight="14dp">
- <RelativeLayout
- android:id="@+id/relative_layout"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </RelativeLayout>
- </RelativeLayout>
- <LinearLayout
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <LinearLayout
- android:layout_width="0dp"
- android:layout_weight="1"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:layout_marginTop="15dp"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:gravity="center">
- <androidx.cardview.widget.CardView
- android:id="@+id/item2"
- android:layout_width="match_parent"
- android:layout_height="100dp"
- android:background="#FFFFFF"
- android:clickable="true"
- android:onClick="filereport"
- android:theme="@style/ThemeOverlay.AppCompat.Light"
- app:cardBackgroundColor="@android:color/white"
- app:cardCornerRadius="10dp"
- app:cardElevation="0dp"
- >
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:gravity="center">
- <ImageView
- android:layout_width="35dp"
- android:layout_height="35dp"
- android:src="@drawable/ic_car"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textColor="#bcbcbc"
- android:textSize="14sp"
- android:layout_marginTop="10dp"
- android:text="File a report"
- android:textStyle="bold"/>
- </LinearLayout>
- <FrameLayout
- android:id="@+id/flrpt"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- </FrameLayout>
- </RelativeLayout>
- </androidx.cardview.widget.CardView>
- </LinearLayout>
- </LinearLayout>
- //ROW 2
- <LinearLayout
- android:layout_width="405dp"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <LinearLayout
- android:layout_width="0dp"
- android:layout_weight="1"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:layout_marginTop="15dp"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:gravity="center">
- <androidx.cardview.widget.CardView
- android:id="@+id/item4"
- android:layout_width="match_parent"
- android:layout_height="100dp"
- android:background="#FFFFFF"
- android:theme="@style/ThemeOverlay.AppCompat.Light"
- app:cardBackgroundColor="@android:color/white"
- app:cardCornerRadius="10dp"
- android:clickable="true"
- android:onClick="database"
- app:cardElevation="0dp"
- >
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:gravity="center">
- <ImageView
- android:layout_width="35dp"
- android:layout_height="35dp"
- android:src="@drawable/ic_notebook"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textColor="#bcbcbc"
- android:textSize="14sp"
- android:layout_marginTop="10dp"
- android:text="Your Tickets"
- android:textStyle="bold"/>
- </LinearLayout>
- </RelativeLayout>
- </androidx.cardview.widget.CardView>
- </LinearLayout>
- </LinearLayout>
- //ROW 3
- //ROW 2
- <LinearLayout
- android:layout_width="405dp"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <LinearLayout
- android:layout_width="0dp"
- android:layout_weight="1"
- android:layout_marginTop="15dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:gravity="center">
- <androidx.cardview.widget.CardView
- android:id="@+id/item5"
- android:layout_width="match_parent"
- android:layout_height="100dp"
- android:background="#FFFFFF"
- android:theme="@style/ThemeOverlay.AppCompat.Light"
- app:cardBackgroundColor="@android:color/white"
- app:cardCornerRadius="10dp"
- app:cardElevation="0dp"
- >
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:gravity="center">
- <ImageView
- android:layout_width="35dp"
- android:layout_height="35dp"
- android:src="@drawable/ic_info_circle"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textColor="#bcbcbc"
- android:textSize="14sp"
- android:layout_marginTop="10dp"
- android:text="About"
- android:textStyle="bold"/>
- </LinearLayout>
- <FrameLayout
- android:id="@+id/button5"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- </FrameLayout>
- </RelativeLayout>
- </androidx.cardview.widget.CardView>
- <Switch
- android:id="@+id/detect"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="50dp"
- android:text="Auto Bump Detector Detect" />
- <Switch
- android:id="@+id/photoperm"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="30dp"
- android:text="Permission To Read Photo Metadata" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement