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
10524219
Commit
10524219
authored
Mar 20, 2015
by
Grigory Fedorov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contact_title layout simplified and corrected.
parent
cb77bd4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
20 deletions
+5
-20
contact_title.xml
app/src/main/res/layout/contact_title.xml
+5
-20
No files found.
app/src/main/res/layout/contact_title.xml
View file @
10524219
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:id=
"@+id/expandable_contact_title"
android:layout_width=
"match_parent"
android:layout_height=
"?android:attr/actionBarSize"
android:background=
"@color/green_500"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:minHeight=
"?android:attr/actionBarSize"
android:minHeight=
"?android:attr/actionBarSize"
android:orientation=
"horizontal"
android:orientation=
"horizontal"
android:background=
"@color/green_500"
android:
layout_gravity=
"bottom
"
android:
gravity=
"center_vertical
"
>
>
<ImageView
<ImageView
...
@@ -22,28 +14,25 @@
...
@@ -22,28 +14,25 @@
android:layout_width=
"@dimen/avatar_size_toolbar"
android:layout_width=
"@dimen/avatar_size_toolbar"
android:layout_height=
"@dimen/avatar_size_toolbar"
android:layout_height=
"@dimen/avatar_size_toolbar"
android:src=
"@drawable/ic_avatar_1"
android:src=
"@drawable/ic_avatar_1"
android:layout_gravity=
"center_vertical"
/>
/>
<LinearLayout
<LinearLayout
android:id=
"@+id/name_holder"
android:id=
"@+id/name_holder"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"
48dip
"
android:layout_height=
"
match_parent
"
android:orientation=
"vertical"
android:orientation=
"vertical"
android:
layout_
gravity=
"center_vertical"
android:gravity=
"center_vertical"
android:layout_weight=
"1"
android:layout_weight=
"1"
>
>
<TextView
<TextView
android:id=
"@+id/name"
android:id=
"@+id/name"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:gravity=
"center_vertical"
android:singleLine=
"true"
android:singleLine=
"true"
android:textColor=
"@color/primary_text_default_material_dark"
android:textColor=
"@color/primary_text_default_material_dark"
android:text=
"Lorem Ipsum"
android:text=
"Lorem Ipsum"
android:layout_marginLeft=
"6dp"
android:layout_marginLeft=
"6dp"
android:layout_marginTop=
"3dp"
android:textSize=
"18sp"
android:textSize=
"18sp"
android:textStyle=
"bold"
/>
android:textStyle=
"bold"
/>
<LinearLayout
<LinearLayout
...
@@ -65,11 +54,9 @@
...
@@ -65,11 +54,9 @@
android:id=
"@+id/status_text"
android:id=
"@+id/status_text"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:gravity=
"center_vertical"
android:singleLine=
"true"
android:singleLine=
"true"
android:textColor=
"@color/grey_200"
android:textColor=
"@color/grey_200"
android:text=
"Lorem ipsum dolor sit amet"
android:text=
"Lorem ipsum dolor sit amet"
android:layout_marginBottom=
"4dp"
android:layout_marginLeft=
"6dp"
android:layout_marginLeft=
"6dp"
/>
/>
</LinearLayout>
</LinearLayout>
...
@@ -80,8 +67,6 @@
...
@@ -80,8 +67,6 @@
android:src=
"@drawable/ic_status"
android:src=
"@drawable/ic_status"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_vertical"
/>
/>
</LinearLayout>
</LinearLayout>
</FrameLayout>
\ 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