Commit ab25300b by Kunj Gupta

Added UofL flavor.

parent f4ea5c46
Showing with 118 additions and 35 deletions
......@@ -7,7 +7,7 @@
<string name="home_screen_report_incident_icon">report_incident</string>
<string name="home_screen_order_services_title">Order Services</string>
<string name="home_screen_order_services_icon">order_serivces</string>
<string name="home_screen_order_services_icon">order_services</string>
<string name="home_screen_my_incidents_title">My Incidents</string>
<string name="home_screen_my_incidents_icon">my_incidents</string>
......
......@@ -4,7 +4,7 @@
<!--Home Screen Option-->
<!--Start-->
<string name="home_screen_report_incident_title">Report Incident</string>
<string name="home_screen_report_incident_icon">ic_myincident_icon</string>
<string name="home_screen_report_incident_icon">ic_my_incident_icon</string>
<string name="home_screen_order_services_title">Order Services</string>
<string name="home_screen_order_services_icon">ic_order_service_icon</string>
......@@ -13,6 +13,6 @@
<string name="home_screen_my_incidents_icon">ic_my_incidents_icon</string>
<string name="home_screen_my_request_title">My Requests</string>
<string name="home_screen_my_request_icon">ic_my_requiest_icon</string>
<string name="home_screen_my_request_icon">ic_my_request_icon</string>
<!--End-->
</resources>
<?xml version="1.0" encoding="utf-8"?>
<rotate xmlns:android="http://schemas.android.com/apk/res/android"
android:drawable="@drawable/custom_refresh_icon"
android:duration="1"
android:fromDegrees="0"
android:pivotX="50%"
android:pivotY="50%"
android:drawable="@drawable/refresh_icon"
android:toDegrees="1080">
</rotate>
\ No newline at end of file
android:toDegrees="1080"/>
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<bitmap android:src="@drawable/refresh_icon" android:tint="@color/colorPrimaryDark" />
</item>
</layer-list>
\ No newline at end of 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"
style="@style/HomeBackgroundStyle"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/HomeBackgroundStyle"
android:orientation="vertical">
<android.support.v7.widget.Toolbar
......@@ -30,7 +30,8 @@
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:src="@drawable/home_icon" />
android:src="@drawable/home_icon"
android:tint="@color/tool_bar_title_color" />
<TextView
style="@style/TextAppearance.AppCompat.Widget.ActionBar.Title"
......@@ -47,7 +48,8 @@
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:src="@drawable/logout_icon" />
android:src="@drawable/logout_icon"
android:tint="@color/tool_bar_title_color" />
</RelativeLayout>
</android.support.v7.widget.Toolbar>
......
......@@ -23,6 +23,7 @@
android:id="@+id/toolbar_refresh_icon"
android:layout_width="@dimen/uofl_tool_bar_refresh_button_width"
android:layout_height="@dimen/uofl_tool_bar_refresh_button_height"
android:tint="@color/tool_bar_title_color"
android:src="@drawable/refresh_icon" />
<ProgressBar
......
......@@ -5,18 +5,24 @@ package com.vsoft.servicenow;
*/
public class AppConfig {
public static final String APP_INTERNAL_NAME = "V-Portal";
public static final String CHAT_SERVER_URL = "http://111.93.6.218:12910/";
public static final String DOMAIN_RELEASE = "https://ven01199.service-now.com/";
public static final String DOMAIN_DEBUG = "https://ven01199.service-now.com/";//"https://uofltest.service-now.com/";
public static final String APP_INTERNAL_NAME = "UofL";
public static final String CHAT_SERVER_URL = "http://111.93.6.218:12912";
public static final String LOGIN_CLIENT_ID_RELEASE = "d958eb06b0f3830093781f441d59febc";
public static final String LOGIN_CLIENT_SECRET_RELEASE = "krD*!O}1.8";
public static final String LOGIN_CLIENT_ID_DEBUG = "d958eb06b0f3830093781f441d59febc";
public static final String LOGIN_CLIENT_SECRET_DEBUG = "krD*!O}1.8";
public static final String LOGIN_CLIENT_ID_DEBUG = "091b5d1ea97cd700e4268b90dd5521ca";
public static final String LOGIN_CLIENT_SECRET_DEBUG = "+tPJ@jS<;S";
public static final String LOGIN_CLIENT_ID_STAGING = "091b5d1ea97cd700e4268b90dd5521ca";
public static final String LOGIN_CLIENT_SECRET_STAGING = "+tPJ@jS<;S";
/**
* API Base URL
* */
public static final String DOMAIN_RELEASE = "https://ven01199.service-now.com/";
public static final String DOMAIN_DEBUG = "https://vsoftconsultingtest.service-now.com/";
public static final String DOMAIN_STAGING = "https://vsoftconsultingtest.service-now.com/";
/**
* Web services urls
......
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/login_scroll"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbarStyle="insideOverlay">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/ic_login_banner" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/ic_login_layout_bg"
android:orientation="vertical">
<EditText
android:id="@+id/login_screen_username_edit_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/extra_large_margin"
android:layout_marginRight="@dimen/extra_large_margin"
android:background="@drawable/username_under_bg_box"
android:drawableLeft="@mipmap/ic_user_icon"
android:hint="@string/username_string"
android:lines="1"
android:padding="@dimen/normal_margin"
android:singleLine="true" />
<EditText
android:id="@+id/login_screen_password_edit_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/extra_large_margin"
android:layout_marginRight="@dimen/extra_large_margin"
android:background="@drawable/username_under_bg_box"
android:drawableLeft="@mipmap/ic_password_icon"
android:hint="@string/password_string"
android:inputType="textPassword"
android:lines="1"
android:padding="@dimen/normal_margin"
android:singleLine="true" />
<TextView
android:id="@+id/login_screen_login_text_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/normal_margin"
android:layout_marginLeft="@dimen/extra_large_margin"
android:layout_marginRight="@dimen/extra_large_margin"
android:layout_marginTop="@dimen/normal_margin"
android:background="@drawable/login_bg"
android:gravity="center"
android:paddingBottom="@dimen/normal_margin"
android:paddingTop="@dimen/normal_margin"
android:text="@string/login_screen_login_string"
android:textColor="@android:color/white"
android:textSize="@dimen/large_text_size" />
</LinearLayout>
</LinearLayout>
</ScrollView>
\ No newline at end of file
......@@ -2,13 +2,11 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:orientation="vertical">
<ImageView
android:layout_margin="10dp"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/splash_logo" />
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitXY"
android:src="@drawable/splash_screen_background" />
</FrameLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#6F9A3E</color>
<color name="colorPrimaryDark">#A9A9A9</color>
<color name="colorAccent">#6F9A3E</color>
<color name="colorPrimary">#F44336</color>
<color name="colorPrimaryDark">#D32F2F</color>
<color name="colorAccent">#FF5252</color>
<color name="item_gb_color">#000000</color>
<color name="error_color">#6F9A3E</color>
<color name="error_color">#FF0000</color>
<color name="name_null_view_color">#88FFA500</color>
<color name="view_not_implemented_color">#6F9A3E</color>
<color name="view_not_implemented_color">#88ff0000</color>
<color name="home_screen_bg_color">@color/colorPrimary</color>
......@@ -15,7 +15,7 @@
<color name="bg_border_color">#d6d6d6</color>
<color name="back_button_bg_color">#4f0307</color>
<color name="submit_button_bg_color">#6F9A3E</color>
<color name="submit_button_bg_color">#e31b22</color>
<color name="divider_color">#c9c8cc</color>
<color name="tool_bar_title_color">#6F9A3E</color>
<color name="tool_bar_title_color">#E41B23</color>
</resources>
<resources>
<string name="app_name">V-Portal</string>
<string name="app_name">UofL ServiceNow</string>
<!--Home Screen Option-->
<!--Start-->
<string name="home_screen_report_incident_title">Report Incident</string>
<string name="home_screen_report_incident_icon">ic_myincident_icon</string>
<string name="home_screen_report_incident_icon">ic_my_incident_icon</string>
<string name="home_screen_order_services_title">Order Services</string>
<string name="home_screen_order_services_icon">ic_order_service_icon</string>
......@@ -13,6 +13,6 @@
<string name="home_screen_my_incidents_icon">ic_my_incidents_icon</string>
<string name="home_screen_my_request_title">My Requests</string>
<string name="home_screen_my_request_icon">ic_my_requiest_icon</string>
<string name="home_screen_my_request_icon">ic_my_request_icon</string>
<!--End-->
</resources>
......@@ -7,7 +7,7 @@
<string name="home_screen_report_incident_icon">report_incident</string>
<string name="home_screen_order_services_title">Order Services</string>
<string name="home_screen_order_services_icon">order_serivces</string>
<string name="home_screen_order_services_icon">order_services</string>
<string name="home_screen_my_incidents_title">My Incidents</string>
<string name="home_screen_my_incidents_icon">my_incidents</string>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment