Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
a2cfb74d
Commit
a2cfb74d
authored
Nov 10, 2017
by
Filipe de Lima Brito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add social accounts interface.
parent
68c60880
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
185 additions
and
89 deletions
+185
-89
fragment_authentication_log_in.xml
app/src/main/res/layout/fragment_authentication_log_in.xml
+185
-89
No files found.
app/src/main/res/layout/fragment_authentication_log_in.xml
View file @
a2cfb74d
<?xml version="1.0" encoding="utf-8"?>
<
android.support.constraint.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<
ScrollView
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:id=
"@+id/scroll_view"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
android:layout_height=
"match_parent"
android:animateLayoutChanges=
"true"
android:fillViewport=
"true"
>
<android.support.constraint.ConstraintLayout
android:id=
"@+id/container"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
<TextView
android:id=
"@+id/text_headline"
...
...
@@ -19,7 +28,7 @@
android:drawableStart=
"@drawable/ic_assignment_ind_black_24dp"
android:hint=
"@string/msg_username_or_email"
android:imeOptions=
"actionNext"
android:inputType=
"
text"
android:inputType=
"textEmailAddress|
text"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/text_headline"
/>
...
...
@@ -43,13 +52,17 @@
android:layout_marginEnd=
"@dimen/screen_edge_left_and_right_margins"
android:layout_marginStart=
"@dimen/screen_edge_left_and_right_margins"
android:layout_marginTop=
"16dp"
android:animateLayoutChanges=
"true"
android:background=
"@color/colorPrimaryDark"
android:gravity=
"center"
android:orientation=
"vertical"
android:paddingBottom=
"32dp"
android:paddingTop=
"@dimen/screen_edge_left_and_right_margins"
android:visibility=
"gone"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/text_password"
>
app:layout_constraintTop_toBottomOf=
"@+id/text_password"
tools:visibility=
"visible"
>
<TextView
android:layout_width=
"wrap_content"
...
...
@@ -57,6 +70,82 @@
android:layout_gravity=
"center"
android:text=
"@string/msg_or_continue_using_social_accounts"
/>
<ImageButton
android:id=
"@+id/button_facebook"
android:layout_width=
"290dp"
android:layout_height=
"40dp"
android:layout_marginTop=
"16dp"
android:contentDescription=
"@string/msg_content_description_log_in_using_facebook"
android:foreground=
"?android:attr/selectableItemBackgroundBorderless"
android:src=
"@drawable/ic_facebook"
android:visibility=
"gone"
tools:visibility=
"visible"
/>
<ImageButton
android:id=
"@+id/button_github"
android:layout_width=
"290dp"
android:layout_height=
"40dp"
android:layout_marginTop=
"16dp"
android:contentDescription=
"@string/msg_content_description_log_in_using_github"
android:foreground=
"?android:attr/selectableItemBackgroundBorderless"
android:src=
"@drawable/ic_github"
android:visibility=
"gone"
tools:visibility=
"visible"
/>
<ImageButton
android:id=
"@+id/button_google"
android:layout_width=
"290dp"
android:layout_height=
"40dp"
android:layout_marginTop=
"16dp"
android:contentDescription=
"@string/msg_content_description_log_in_using_google"
android:foreground=
"?android:attr/selectableItemBackground"
android:src=
"@drawable/ic_google"
android:visibility=
"gone"
tools:visibility=
"visible"
/>
<ImageButton
android:id=
"@+id/button_linkedin"
android:layout_width=
"290dp"
android:layout_height=
"40dp"
android:layout_marginTop=
"16dp"
android:contentDescription=
"@string/msg_content_description_log_in_using_linkedin"
android:foreground=
"?android:attr/selectableItemBackgroundBorderless"
android:src=
"@drawable/ic_linkedin"
android:visibility=
"gone"
tools:visibility=
"gone"
/>
<ImageButton
android:id=
"@+id/button_meteor"
android:layout_width=
"290dp"
android:layout_height=
"40dp"
android:layout_marginTop=
"16dp"
android:contentDescription=
"@string/msg_content_description_log_in_using_meteor"
android:foreground=
"?android:attr/selectableItemBackgroundBorderless"
android:src=
"@drawable/ic_meteor"
android:visibility=
"gone"
tools:visibility=
"gone"
/>
<ImageButton
android:id=
"@+id/button_twitter"
android:layout_width=
"290dp"
android:layout_height=
"40dp"
android:layout_marginTop=
"16dp"
android:contentDescription=
"@string/msg_content_description_log_in_using_twitter"
android:foreground=
"?android:attr/selectableItemBackgroundBorderless"
android:src=
"@drawable/ic_twitter"
android:visibility=
"gone"
tools:visibility=
"gone"
/>
<ImageButton
android:id=
"@+id/button_gitlab"
android:layout_width=
"290dp"
android:layout_height=
"40dp"
android:layout_marginTop=
"16dp"
android:contentDescription=
"@string/msg_content_description_log_in_using_gitlab"
android:foreground=
"?android:attr/selectableItemBackgroundBorderless"
android:src=
"@drawable/ic_gitlab"
android:visibility=
"gone"
tools:visibility=
"gone"
/>
</LinearLayout>
<android.support.design.widget.FloatingActionButton
...
...
@@ -66,13 +155,15 @@
android:src=
"@drawable/ic_expand_more_black_24dp"
android:theme=
"@style/Theme.AppCompat"
android:tint=
"@color/white"
android:visibility=
"gone"
app:backgroundTint=
"@color/colorAccent"
app:elevation=
"@dimen/fab_elevation"
app:fabSize=
"mini"
app:layout_constraintBottom_toBottomOf=
"@+id/social_accounts_container"
app:layout_constraintLeft_toLeftOf=
"@+id/social_accounts_container"
app:layout_constraintRight_toRightOf=
"@+id/social_accounts_container"
app:layout_constraintTop_toBottomOf=
"@+id/social_accounts_container"
/>
app:layout_constraintTop_toBottomOf=
"@+id/social_accounts_container"
tools:visibility=
"visible"
/>
<TextView
android:id=
"@+id/text_new_in_rocket_chat"
...
...
@@ -81,17 +172,22 @@
android:layout_marginBottom=
"16dp"
android:layout_marginEnd=
"@dimen/screen_edge_left_and_right_margins"
android:layout_marginStart=
"@dimen/screen_edge_left_and_right_margins"
android:layout_marginTop=
"16dp"
android:gravity=
"center"
android:text=
"@string/msg_new_in_rocket_chat"
android:visibility=
"gone"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
/>
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/social_accounts_container"
tools:visibility=
"visible"
/>
<Button
android:id=
"@+id/button_log_in"
style=
"@style/AuthenticationButton"
android:text=
"@string/title_log_in"
android:visibility=
"gone"
app:layout_constraintBottom_toBottomOf=
"parent"
/>
</android.support.constraint.ConstraintLayout>
\ No newline at end of file
android:visibility=
"visible"
app:layout_constraintBottom_toBottomOf=
"parent"
tools:visibility=
"gone"
/>
</android.support.constraint.ConstraintLayout>
</ScrollView>
\ No newline at end of file
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