Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xabber-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
xabber-android
Commits
700a3230
Commit
700a3230
authored
Apr 02, 2015
by
Grigory Fedorov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contact list "scroll up" action button moved above account buttons. Margins corrected.
parent
34ddb8cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
30 deletions
+28
-30
account_action_button.xml
app/src/main/res/layout/account_action_button.xml
+10
-10
contact_list_fragment.xml
app/src/main/res/layout/contact_list_fragment.xml
+18
-20
No files found.
app/src/main/res/layout/account_action_button.xml
View file @
700a3230
...
...
@@ -6,8 +6,6 @@
android:layout_height=
"wrap_content"
>
<com.melnykov.fab.FloatingActionButton
android:id=
"@+id/fab"
android:layout_width=
"wrap_content"
...
...
@@ -17,12 +15,12 @@
fab:fab_colorPressed=
"@android:color/transparent"
android:clickable=
"false"
android:layout_marginTop=
"
8
dp"
android:layout_marginBottom=
"1
6
dp"
android:layout_marginTop=
"
4
dp"
android:layout_marginBottom=
"1
2
dp"
android:layout_marginLeft=
"16dp"
android:layout_marginRight=
"16dp"
/>
/>
<de.hdodenhof.circleimageview.CircleImageView
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:id=
"@+id/account_avatar"
...
...
@@ -32,8 +30,9 @@
app:border_width=
"3dp"
app:border_color=
"@android:color/transparent"
android:elevation=
"8dp"
android:layout_marginTop=
"8dp"
android:layout_marginBottom=
"16dp"
android:layout_marginTop=
"4dp"
android:layout_marginBottom=
"12dp"
android:layout_marginLeft=
"16dp"
android:layout_marginRight=
"16dp"
/>
...
...
@@ -45,11 +44,12 @@
android:src=
"@color/black"
android:alpha=
"0.5"
android:elevation=
"8dp"
android:layout_marginTop=
"8dp"
android:layout_marginBottom=
"16dp"
android:visibility=
"gone"
android:layout_marginTop=
"4dp"
android:layout_marginBottom=
"12dp"
android:layout_marginLeft=
"16dp"
android:layout_marginRight=
"16dp"
android:visibility=
"gone"
/>
...
...
app/src/main/res/layout/contact_list_fragment.xml
View file @
700a3230
...
...
@@ -19,8 +19,6 @@
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<ListView
android:id=
"@android:id/list"
android:layout_width=
"match_parent"
...
...
@@ -71,28 +69,14 @@
</RelativeLayout>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentRight=
"true"
android:layout_alignParentEnd=
"true"
android:orientation=
"vertical"
android:layout_marginRight=
"16dp"
android:id=
"@+id/account_action_buttons"
android:layout_above=
"@+id/fab_up_container"
>
</LinearLayout>
<FrameLayout
android:id=
"@+id/fab_up_container"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginRight=
"16dp"
android:layout_marginBottom=
"8dp"
android:layout_marginRight=
"18dp"
android:layout_alignParentRight=
"true"
android:layout_alignParentEnd=
"true"
android:layout_a
lignParentBottom=
"true
"
android:layout_a
bove=
"@+id/account_action_buttons
"
>
<com.melnykov.fab.FloatingActionButton
android:id=
"@+id/fab_up"
...
...
@@ -105,11 +89,25 @@
android:src=
"@drawable/ic_arrow_up_white_24dp"
android:clickable=
"false"
android:layout_marginTop=
"
8
dp"
android:layout_marginBottom=
"1
6
dp"
android:layout_marginTop=
"
4
dp"
android:layout_marginBottom=
"1
2
dp"
android:layout_marginLeft=
"16dp"
android:layout_marginRight=
"16dp"
/>
</FrameLayout>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentRight=
"true"
android:layout_alignParentEnd=
"true"
android:layout_alignParentBottom=
"true"
android:orientation=
"vertical"
android:layout_marginRight=
"18dp"
android:id=
"@+id/account_action_buttons"
android:layout_marginBottom=
"4dp"
>
</LinearLayout>
</RelativeLayout>
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