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
c4b026d3
Commit
c4b026d3
authored
Apr 07, 2015
by
Grigory Fedorov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bottom 1px separators for account groups and usual contact groups.
parent
17bc4108
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
113 additions
and
90 deletions
+113
-90
account_group_item.xml
app/src/main/res/layout/account_group_item.xml
+102
-87
base_contact_item.xml
app/src/main/res/layout/base_contact_item.xml
+1
-1
base_group_item.xml
app/src/main/res/layout/base_group_item.xml
+10
-2
No files found.
app/src/main/res/layout/account_group_item.xml
View file @
c4b026d3
...
...
@@ -12,16 +12,22 @@
You should have received a copy of the GNU General Public License,
along with this program. If not, see http://www.gnu.org/licenses/.
-->
<LinearLayout
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/contact_list_item_height"
android:orientation=
"horizontal"
android:gravity=
"center_vertical"
android:background=
"@color/green_200"
android:elevation=
"3dp"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"horizontal"
android:gravity=
"center_vertical"
>
<ImageView
android:id=
"@+id/account_color_indicator"
...
...
@@ -129,4 +135,13 @@
android:padding=
"16dp"
/>
</LinearLayout>
\ No newline at end of file
</LinearLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1px"
android:background=
"@color/grey_500"
android:layout_alignParentBottom=
"true"
/>
</RelativeLayout>
\ No newline at end of file
app/src/main/res/layout/base_contact_item.xml
View file @
c4b026d3
...
...
@@ -113,7 +113,7 @@
</LinearLayout>
<View
android:layout_width=
"
wrap_cont
ent"
android:layout_width=
"
match_par
ent"
android:layout_height=
"1px"
android:background=
"@color/grey_400"
android:layout_alignParentBottom=
"true"
...
...
app/src/main/res/layout/base_group_item.xml
View file @
c4b026d3
...
...
@@ -16,8 +16,6 @@
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/expander_height"
android:paddingRight=
"@dimen/active_chat_padding_right"
android:paddingEnd=
"@dimen/active_chat_padding_right"
android:elevation=
"2dp"
>
...
...
@@ -41,6 +39,9 @@
android:layout_alignParentRight=
"true"
android:layout_centerVertical=
"true"
android:alpha=
"0.2"
android:paddingRight=
"@dimen/active_chat_padding_right"
android:paddingEnd=
"@dimen/active_chat_padding_right"
/>
<TextView
...
...
@@ -57,4 +58,11 @@
android:layout_toStartOf=
"@id/group_offline_indicator"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1px"
android:background=
"@color/grey_400"
android:layout_alignParentBottom=
"true"
/>
</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