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
caff59ae
Commit
caff59ae
authored
Aug 07, 2017
by
Filipe de Lima Brito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update fragment_sidebar_main.xml
parent
b7b1d123
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
130 additions
and
132 deletions
+130
-132
fragment_sidebar_main.xml
app/src/main/res/layout/fragment_sidebar_main.xml
+130
-132
No files found.
app/src/main/res/layout/fragment_sidebar_main.xml
View file @
caff59ae
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:theme=
"@style/AppTheme.Dark"
android:theme=
"@style/AppTheme.Dark"
android:visibility=
"invisible"
tools:context=
"chat.rocket.android.fragment.sidebar.SidebarMainFragment"
>
tools:visibility=
"visible"
>
<LinearLayout
<LinearLayout
android:id=
"@+id/user_info_container"
android:id=
"@+id/user_info_container"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"?attr/actionBarSize"
android:layout_height=
"?attr/actionBarSize"
android:layout_alignParentTop=
"true"
android:layout_alignParentTop=
"true"
android:background=
"?attr/colorPrimaryDark"
android:background=
"?attr/colorPrimaryDark"
android:elevation=
"2dp"
android:elevation=
"2dp"
android:foreground=
"?attr/selectableItemBackground"
android:foreground=
"?attr/selectableItemBackground"
android:gravity=
"center_vertical"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
android:orientation=
"horizontal"
android:paddingBottom=
"@dimen/margin_8"
android:paddingBottom=
"@dimen/margin_8"
android:paddingTop=
"@dimen/margin_8"
android:paddingTop=
"@dimen/margin_8"
android:paddingLeft=
"@dimen/margin_16"
android:paddingLeft=
"@dimen/margin_16"
android:paddingRight=
"@dimen/margin_16"
>
android:paddingRight=
"@dimen/margin_16"
>
<ImageView
<ImageView
android:id=
"@+id/current_user_status"
android:id=
"@+id/current_user_status"
android:layout_width=
"8dp"
android:layout_width=
"8dp"
android:layout_height=
"8dp"
android:layout_height=
"8dp"
android:src=
"@drawable/userstatus_online"
/>
android:src=
"@drawable/userstatus_online"
/>
<Space
<Space
android:layout_width=
"@dimen/margin_8"
android:layout_width=
"@dimen/margin_8"
android:layout_height=
"wrap_content"
/>
android:layout_height=
"wrap_content"
/>
<chat.rocket.android.widget.RocketChatAvatar
<chat.rocket.android.widget.RocketChatAvatar
android:id=
"@+id/current_user_avatar"
android:id=
"@+id/current_user_avatar"
android:layout_width=
"40dp"
android:layout_width=
"40dp"
android:layout_height=
"40dp"
/>
android:layout_height=
"40dp"
/>
<TextView
<TextView
android:id=
"@+id/current_user_name"
android:id=
"@+id/current_user_name"
android:layout_width=
"0px"
android:layout_width=
"0px"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_vertical"
android:layout_gravity=
"center_vertical"
android:layout_marginLeft=
"@dimen/margin_8"
android:layout_marginLeft=
"@dimen/margin_8"
android:layout_marginRight=
"@dimen/margin_8"
android:layout_marginRight=
"@dimen/margin_8"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:textSize=
"14sp"
android:textSize=
"14sp"
tools:text=
"John Doe"
/>
tools:text=
"John Doe"
/>
<chat.rocket.android.widget.DownUpToggleView
<chat.rocket.android.widget.DownUpToggleView
android:id=
"@+id/toggle_user_action"
android:id=
"@+id/toggle_user_action"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
/>
android:layout_height=
"wrap_content"
/>
</LinearLayout>
</LinearLayout>
<FrameLayout
<FrameLayout
android:id=
"@+id/search_box"
android:id=
"@+id/search_box"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:paddingBottom=
"@dimen/margin_8"
android:paddingBottom=
"@dimen/margin_8"
android:paddingTop=
"@dimen/margin_8"
android:paddingTop=
"@dimen/margin_8"
android:elevation=
"2dp"
android:elevation=
"2dp"
android:layout_below=
"@+id/user_info_container"
android:layout_below=
"@+id/user_info_container"
android:background=
"?attr/colorPrimaryDark"
>
android:background=
"?attr/colorPrimaryDark"
>
<View
<View
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"0dp"
android:layout_height=
"0dp"
android:focusableInTouchMode=
"true"
android:focusableInTouchMode=
"true"
android:focusable=
"true"
/>
android:focusable=
"true"
/>
<android.support.v7.widget.SearchView
<android.support.v7.widget.SearchView
android:id=
"@+id/search"
android:id=
"@+id/search"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
app:queryHint=
"@string/navigation_search_rooms"
app:queryHint=
"@string/navigation_search_rooms"
app:iconifiedByDefault=
"false"
/>
app:iconifiedByDefault=
"false"
/>
</FrameLayout>
</FrameLayout>
<android.support.v7.widget.RecyclerView
<android.support.v7.widget.RecyclerView
android:id=
"@+id/room_list_container"
android:id=
"@+id/room_list_container"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:layout_below=
"@+id/search_box"
android:layout_below=
"@+id/search_box"
android:layout_alignParentBottom=
"true"
android:layout_alignParentBottom=
"true"
android:background=
"?attr/colorPrimary"
/>
android:background=
"?attr/colorPrimary"
/>
<android.support.v4.widget.NestedScrollView
<android.support.v4.widget.NestedScrollView
android:id=
"@+id/user_action_outer_container"
android:id=
"@+id/user_action_outer_container"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentBottom=
"true"
android:layout_alignParentBottom=
"true"
android:layout_below=
"@+id/user_info_container"
android:layout_below=
"@+id/user_info_container"
android:background=
"?attr/colorPrimaryDark"
android:background=
"?attr/colorPrimaryDark"
android:elevation=
"2dp"
android:elevation=
"2dp"
android:visibility=
"gone"
android:visibility=
"gone"
tools:visibility=
"gone"
>
tools:visibility=
"gone"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<TextView
<TextView
android:id=
"@+id/btn_status_online"
android:id=
"@+id/btn_status_online"
style=
"@style/sidebar_list_item"
style=
"@style/sidebar_list_item"
android:layout_marginLeft=
"16dp"
android:layout_marginLeft=
"16dp"
android:drawableLeft=
"@drawable/userstatus_online"
android:drawableLeft=
"@drawable/userstatus_online"
android:drawablePadding=
"16dp"
android:drawablePadding=
"16dp"
android:text=
"@string/user_status_online"
android:text=
"@string/user_status_online"
android:textAppearance=
"?attr/textAppearanceListItemSmall"
/>
android:textAppearance=
"?attr/textAppearanceListItemSmall"
/>
<TextView
<TextView
android:id=
"@+id/btn_status_away"
android:id=
"@+id/btn_status_away"
style=
"@style/sidebar_list_item"
style=
"@style/sidebar_list_item"
android:layout_marginLeft=
"16dp"
android:layout_marginLeft=
"16dp"
android:drawableLeft=
"@drawable/userstatus_away"
android:drawableLeft=
"@drawable/userstatus_away"
android:drawablePadding=
"16dp"
android:drawablePadding=
"16dp"
android:text=
"@string/user_status_away"
android:text=
"@string/user_status_away"
android:textAppearance=
"?attr/textAppearanceListItemSmall"
/>
android:textAppearance=
"?attr/textAppearanceListItemSmall"
/>
<TextView
<TextView
android:id=
"@+id/btn_status_busy"
android:id=
"@+id/btn_status_busy"
style=
"@style/sidebar_list_item"
style=
"@style/sidebar_list_item"
android:layout_marginLeft=
"16dp"
android:layout_marginLeft=
"16dp"
android:drawableLeft=
"@drawable/userstatus_busy"
android:drawableLeft=
"@drawable/userstatus_busy"
android:drawablePadding=
"16dp"
android:drawablePadding=
"16dp"
android:text=
"@string/user_status_busy"
android:text=
"@string/user_status_busy"
android:textAppearance=
"?attr/textAppearanceListItemSmall"
/>
android:textAppearance=
"?attr/textAppearanceListItemSmall"
/>
<TextView
<TextView
android:id=
"@+id/btn_status_invisible"
android:id=
"@+id/btn_status_invisible"
style=
"@style/sidebar_list_item"
style=
"@style/sidebar_list_item"
android:layout_marginLeft=
"16dp"
android:layout_marginLeft=
"16dp"
android:drawableLeft=
"@drawable/userstatus_offline"
android:drawableLeft=
"@drawable/userstatus_offline"
android:drawablePadding=
"16dp"
android:drawablePadding=
"16dp"
android:text=
"@string/user_status_invisible"
android:text=
"@string/user_status_invisible"
android:textAppearance=
"?attr/textAppearanceListItemSmall"
/>
android:textAppearance=
"?attr/textAppearanceListItemSmall"
/>
<chat.rocket.android.widget.DividerView
<chat.rocket.android.widget.DividerView
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
android:layout_height=
"wrap_content"
/>
<LinearLayout
<LinearLayout
android:id=
"@+id/btn_logout"
android:id=
"@+id/btn_logout"
style=
"@style/sidebar_list_item"
style=
"@style/sidebar_list_item"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<FrameLayout
<FrameLayout
android:layout_width=
"48dp"
android:layout_width=
"48dp"
android:layout_height=
"match_parent"
>
android:layout_height=
"match_parent"
>
<io.github.yusukeiwaki.android.widget.FontAwesomeTextView
<io.github.yusukeiwaki.android.widget.FontAwesomeTextView
android:layout_width=
"16dp"
android:layout_width=
"16dp"
android:layout_height=
"16dp"
android:layout_height=
"16dp"
android:layout_gravity=
"center"
android:layout_gravity=
"center"
android:gravity=
"center"
android:gravity=
"center"
android:text=
"@string/fa_sign_out"
android:text=
"@string/fa_sign_out"
android:textSize=
"14dp"
/>
android:textSize=
"14dp"
/>
</FrameLayout>
</FrameLayout>
<TextView
<TextView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/fragment_sidebar_main_logout_title"
android:text=
"@string/fragment_sidebar_main_logout_title"
android:textAppearance=
"?attr/textAppearanceListItemSmall"
/>
android:textAppearance=
"?attr/textAppearanceListItemSmall"
/>
</LinearLayout>
</LinearLayout>
<chat.rocket.android.widget.DividerView
<chat.rocket.android.widget.DividerView
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
android:layout_height=
"wrap_content"
/>
<TextView
<TextView
android:id=
"@+id/version_info"
android:id=
"@+id/version_info"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_gravity=
"center_horizontal"
android:layout_margin=
"@dimen/margin_8"
android:layout_margin=
"@dimen/margin_8"
android:textAppearance=
"@style/TextAppearance.AppCompat.Caption"
android:textAppearance=
"@style/TextAppearance.AppCompat.Caption"
tools:text=
"Version: 1.0"
/>
tools:text=
"Version: 1.0"
/>
</LinearLayout>
</LinearLayout>
</android.support.v4.widget.NestedScrollView>
</android.support.v4.widget.NestedScrollView>
</RelativeLayout>
</RelativeLayout>
\ 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