Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Krishna Vemulavada
/
vera_2.1_app
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c5ee77ec
authored
Sep 27, 2019
by
Simhachalam ch
Browse files
Options
_('Browse Files')
Download
Plain Diff
adal init
parents
7cd8ff8b
0a22e23d
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
27 deletions
app/src/main/AndroidManifest.xml
app/src/main/java/com/vsoft/vera/ui/ADALActivity.java
app/src/main/java/com/vsoft/vera/ui/LoginChooseActivity.java
app/src/main/java/com/vsoft/vera/ui/SplashScreen.java
app/src/main/res/layout/activity_login.xml
app/src/main/AndroidManifest.xml
View file @
c5ee77ec
...
...
@@ -41,6 +41,14 @@
android:name=
".ui.LoginScreen"
android:screenOrientation=
"portrait"
android:windowSoftInputMode=
"adjustResize|stateHidden"
/>
<activity
android:name=
".ui.LoginChooseActivity"
android:screenOrientation=
"portrait"
/>
<activity
android:name=
".ui.ADALActivity"
android:screenOrientation=
"portrait"
/>
<activity
android:name=
".ui.ResetPasswordActivity"
android:screenOrientation=
"portrait"
android:fitsSystemWindows=
"true"
...
...
app/src/main/java/com/vsoft/vera/ui/ADALActivity.java
View file @
c5ee77ec
...
...
@@ -100,8 +100,8 @@ public class ADALActivity extends AppCompatActivity {
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
adal_main
);
//
callGraphButton = (Button) findViewById(R.id.callGraph);
//
signOutButton = (Button) findViewById(R.id.clearCache);
callGraphButton
=
(
Button
)
findViewById
(
R
.
id
.
callGraph
);
signOutButton
=
(
Button
)
findViewById
(
R
.
id
.
clearCache
);
callGraphButton
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
public
void
onClick
(
View
v
)
{
...
...
app/src/main/java/com/vsoft/vera/ui/LoginChooseActivity.java
0 → 100644
View file @
c5ee77ec
This diff is collapsed.
Click to expand it.
app/src/main/java/com/vsoft/vera/ui/SplashScreen.java
View file @
c5ee77ec
...
...
@@ -49,7 +49,7 @@ public class SplashScreen extends Activity {
public
void
run
()
{
// This method will be executed once the timer is over
// Start your app main activity
Intent
i
=
new
Intent
(
SplashScreen
.
this
,
Login
Screen
.
class
);
Intent
i
=
new
Intent
(
SplashScreen
.
this
,
Login
ChooseActivity
.
class
);
startActivity
(
i
);
// close this activity
...
...
app/src/main/res/layout/activity_login.xml
View file @
c5ee77ec
...
...
@@ -14,43 +14,37 @@
<ImageView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:visibility=
"visible"
android:background=
"@drawable/ic_login_banner"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_marginTop=
"50dp"
android:layout_marginTop=
"100dp"
android:layout_gravity=
"center"
android:gravity=
"center"
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"
<TextView
android:id=
"@+id/login_with_sso"
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: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"
/>
android:layout_marginTop=
"30dp"
android:background=
"@drawable/login_bg"
android:gravity=
"center"
android:paddingBottom=
"@dimen/normal_margin"
android:paddingTop=
"@dimen/normal_margin"
android:text=
"Login with ADAL"
android:textColor=
"@android:color/white"
android:textSize=
"@dimen/large_text_size"
/>
<TextView
android:id=
"@+id/login_
screen_login_text_view
"
android:id=
"@+id/login_
with_otp
"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"@dimen/normal_margin"
...
...
@@ -61,7 +55,7 @@
android:gravity=
"center"
android:paddingBottom=
"@dimen/normal_margin"
android:paddingTop=
"@dimen/normal_margin"
android:text=
"
@string/login_screen_login_string
"
android:text=
"
Login with otp
"
android:textColor=
"@android:color/white"
android:textSize=
"@dimen/large_text_size"
/>
</LinearLayout>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment