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
0928130c
Commit
0928130c
authored
Dec 30, 2014
by
Grigory Fedorov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Old style "up" button removed. Status indicator made unclickable.
parent
60df3a6d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
25 deletions
+0
-25
ContactTitleInflater.java
...va/com/xabber/android/ui/helper/ContactTitleInflater.java
+0
-8
btn_status_mode.xml
app/src/main/res/drawable/btn_status_mode.xml
+0
-9
contact_title.xml
app/src/main/res/layout/contact_title.xml
+0
-8
No files found.
app/src/main/java/com/xabber/android/ui/helper/ContactTitleInflater.java
View file @
0928130c
...
...
@@ -65,8 +65,6 @@ public class ContactTitleInflater {
final
TextView
statusTextView
=
(
TextView
)
titleView
.
findViewById
(
R
.
id
.
status_text
);
final
View
shadowView
=
titleView
.
findViewById
(
R
.
id
.
shadow
);
final
ImageButton
backButton
=
(
ImageButton
)
titleView
.
findViewById
(
R
.
id
.
back_button
);
titleView
.
setBackgroundDrawable
(
titleAccountBackground
);
nameView
.
setText
(
abstractContact
.
getName
());
statusModeView
.
setImageLevel
(
abstractContact
.
getStatusMode
()
...
...
@@ -95,12 +93,6 @@ public class ContactTitleInflater {
shadowView
.
setVisibility
(
View
.
GONE
);
else
shadowView
.
setVisibility
(
View
.
VISIBLE
);
backButton
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
activity
.
finish
();
}
});
}
}
app/src/main/res/drawable/btn_status_mode.xml
View file @
0928130c
...
...
@@ -13,15 +13,6 @@
along with this program. If not, see http://www.gnu.org/licenses/.
-->
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:state_pressed=
"true"
android:drawable=
"@drawable/btn_status_mode_pressed"
/>
<item
android:state_selected=
"true"
android:drawable=
"@drawable/btn_status_mode_focused"
/>
<item
android:state_focused=
"true"
android:drawable=
"@drawable/btn_status_mode_focused"
/>
<item
android:drawable=
"@drawable/btn_status_mode_normal"
/>
</selector>
app/src/main/res/layout/contact_title.xml
View file @
0928130c
...
...
@@ -25,13 +25,6 @@
android:layout_height=
"match_parent"
android:layout_gravity=
"center_vertical"
>
<ImageButton
android:id=
"@+id/back_button"
android:src=
"@drawable/btn_title_back"
android:background=
"@drawable/title_logo"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
/>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
@@ -86,7 +79,6 @@
android:src=
"@drawable/ic_status"
android:paddingLeft=
"@dimen/active_chat_padding_right"
android:paddingRight=
"@dimen/active_chat_padding_right"
android:background=
"@drawable/btn_status_mode"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
/>
...
...
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