Skip to content
Snippets Groups Projects
Commit c0428758 authored by root's avatar root
Browse files

Fully Functional. UI Changes

parent 5c7557c6
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:background="@color/bg_screen1"
android:layout_height="match_parent">
<TextView
android:id="@+id/textView4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="25dp"
android:text="Welcome to KeepMeSafe"
android:textAlignment="center"
android:textSize="30sp"
android:textStyle="bold"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true" />
</RelativeLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical" android:layout_width="match_parent"
android:background="@color/bg_screen2"
android:layout_height="match_parent">
<ImageView
android:id="@+id/imageView"
android:layout_width="150dp"
android:layout_height="150dp"
android:layout_marginTop="90dp"
android:src="@drawable/pin_icon"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true" />
<TextView
android:id="@+id/textView5"
android:layout_width="350dp"
android:layout_height="wrap_content"
android:layout_below="@+id/imageView"
android:layout_centerHorizontal="true"
android:text="PIN to cancel EMERGENCY MODE"
android:textAlignment="center"
android:textSize="30sp"
android:textStyle="bold" />
<TextView
android:id="@+id/textView6"
android:layout_width="300dp"
android:layout_height="wrap_content"
android:layout_below="@+id/textView5"
android:layout_centerHorizontal="true"
android:layout_marginTop="21dp"
android:text="Default PIN is 2020. You can change it from Settings"
android:textAlignment="center"
android:textSize="18sp"
android:textStyle="italic" />
</RelativeLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical" android:layout_width="match_parent"
android:background="@color/bg_screen3"
android:layout_height="match_parent">
<ImageView
android:id="@+id/imageView5"
android:layout_width="200dp"
android:layout_height="wrap_content"
android:layout_marginTop="97dp"
android:src="@drawable/dualsim"
android:layout_alignParentTop="true"
android:layout_alignLeft="@+id/textView2"
android:layout_alignStart="@+id/textView2" />
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/imageView5"
android:layout_centerHorizontal="true"
android:text="DUAL SIM Phone?"
android:textAlignment="center"
android:textSize="24sp"
android:textStyle="bold" />
<TextView
android:id="@+id/textView8"
android:layout_width="300dp"
android:layout_height="wrap_content"
android:layout_marginTop="27dp"
android:text="Select a Default SIM for SMS for KeepMeSafe to Work Properly"
android:textAlignment="textStart"
android:textSize="18dp"
android:textStyle="italic"
android:layout_marginRight="12dp"
android:layout_marginEnd="12dp"
android:layout_below="@+id/textView2"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true" />
</RelativeLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical" android:layout_width="match_parent"
android:background="@color/bg_screen4"
android:layout_height="match_parent">
<ImageView
android:id="@+id/imageView6"
android:layout_width="200dp"
android:layout_height="200dp"
android:src="@drawable/permissions"
android:layout_marginTop="63dp"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true" />
<TextView
android:id="@+id/textView9"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/imageView6"
android:layout_centerHorizontal="true"
android:text="Permissions"
android:textSize="24sp"
android:textStyle="bold" />
<TextView
android:id="@+id/textView12"
android:layout_width="280dp"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_below="@+id/textView9"
android:layout_marginTop="21dp"
android:layout_toStartOf="@+id/imageView6"
android:text="Permissions Needed :\n\n * \tACCESS LOCATION\n * \tSEND / RECEIVE SMS\n *\tREAD CONTACTS "
android:textAlignment="textStart"
android:textSize="18sp" />
</RelativeLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/settings"
android:icon="@drawable/settings"
android:showAsAction="always"
android:title="Settings"/>
<item
android:id="@+id/contacts"
android:icon="@drawable/contacts"
android:showAsAction="always"
android:title="Contacts"/>
</menu>
\ No newline at end of file
......@@ -6,14 +6,12 @@
<item name="android:colorAccent">@color/colorAccent</item>
<item name="android:windowBackground">@color/windows</item>
<item name="android:navigationBarColor">@color/navigation</item>
</style>
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
</style>
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
......
......@@ -7,5 +7,44 @@
<color name="windows">#DCEDC8</color>
<!-- Colors for Intro Screens -->
<color name="bg_screen1">#e91e63</color>
<color name="bg_screen2">#2196F3</color>
<color name="bg_screen3">#8BC34A</color>
<color name="bg_screen4">#FF9800</color>
<!-- Dots Inactive Colors -->
<color name="dot_dark_screen1">#C2185B</color>
<color name="dot_dark_screen2">#1976D2</color>
<color name="dot_dark_screen3">#689F38</color>
<color name="dot_dark_screen4">#F57C00</color>
<!-- Dots Active Colors -->
<color name="dot_light_screen1">#F06292</color>
<color name="dot_light_screen2">#64B5F6</color>
<color name="dot_light_screen3">#AED581</color>
<color name="dot_light_screen4">#FFB74D</color>
<array name="array_dot_active">
<item>@color/dot_light_screen1</item>
<item>@color/dot_light_screen2</item>
<item>@color/dot_light_screen3</item>
<item>@color/dot_light_screen4</item>
</array>
<array name="array_dot_inactive">
<item>@color/dot_dark_screen1</item>
<item>@color/dot_dark_screen2</item>
<item>@color/dot_dark_screen3</item>
<item>@color/dot_dark_screen4</item>
</array>
</resources>
......@@ -2,4 +2,11 @@
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
<dimen name="fab_margin">16dp</dimen>
<dimen name="dots_height">30dp</dimen>
<dimen name="dots_margin_bottom">20dp</dimen>
<dimen name="img_width_height">120dp</dimen>
<dimen name="slide_title">30dp</dimen>
<dimen name="slide_desc">16dp</dimen>
<dimen name="desc_padding">40dp</dimen>
</resources>
<resources>
<string name="app_name">KeepMeSafe</string>
<string name="title_activity_maps">Map</string>
<string name="title_activity_maps_activityddsdsf">Map</string>
<string name="next">NEXT</string>
<string name="skip">SKIP</string>
<string name="start">GOT IT</string>
<string name="slide_1_title">Hello Food!</string>
<string name="slide_1_desc">The easiest way to order food from your favourite restaurant!</string>
<string name="slide_2_title">Movie Tickets</string>
<string name="slide_2_desc">Book movie tickets for your family and friends!</string>
<string name="slide_3_title">Great Discounts</string>
<string name="slide_3_desc">Best discounts on every single service we offer!</string>
<string name="slide_4_title">World Travel</string>
<string name="slide_4_desc">Book tickets of any transportation and travel the world!</string>
<string name="play_again_desc">To see the welcome slider again, goto Settings -> apps -> welcome slider -> clear data</string>
<string name="play_again">Play Again</string>
</resources>
......@@ -9,5 +9,7 @@
<item name="colorAccent">@color/colorAccent</item>
</style>
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
</resources>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment