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
0de94da4
Commit
0de94da4
authored
Jan 15, 2015
by
Grigory Fedorov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BaseListEditor: "add" icon added.
parent
6833d659
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
8 deletions
+10
-8
BaseListEditor.java
...ain/java/com/xabber/android/ui/helper/BaseListEditor.java
+1
-0
ic_add_white_24dp.png
app/src/main/res/drawable-hdpi/ic_add_white_24dp.png
+0
-0
ic_add_white_24dp.png
app/src/main/res/drawable-mdpi/ic_add_white_24dp.png
+0
-0
ic_add_white_24dp.png
app/src/main/res/drawable-xhdpi/ic_add_white_24dp.png
+0
-0
ic_add_white_24dp.png
app/src/main/res/drawable-xxhdpi/ic_add_white_24dp.png
+0
-0
ic_add_white_24dp.png
app/src/main/res/drawable-xxxhdpi/ic_add_white_24dp.png
+0
-0
add.xml
app/src/main/res/menu/add.xml
+9
-0
preference_theme.xml
app/src/main/res/xml/preference_theme.xml
+0
-8
No files found.
app/src/main/java/com/xabber/android/ui/helper/BaseListEditor.java
View file @
0de94da4
...
...
@@ -118,6 +118,7 @@ public abstract class BaseListEditor<T> extends ManagedListActivity implements
public
boolean
onCreateOptionsMenu
(
Menu
menu
)
{
super
.
onCreateOptionsMenu
(
menu
);
menu
.
add
(
0
,
OPTION_MENU_ADD_ID
,
0
,
getString
(
getAddTextResourceId
()))
.
setIcon
(
R
.
drawable
.
ic_add_white_24dp
)
.
setIntent
(
getAddIntent
())
.
setShowAsAction
(
MenuItem
.
SHOW_AS_ACTION_ALWAYS
);
return
true
;
...
...
app/src/main/res/drawable-hdpi/ic_add_white_24dp.png
0 → 100644
View file @
0de94da4
174 Bytes
app/src/main/res/drawable-mdpi/ic_add_white_24dp.png
0 → 100644
View file @
0de94da4
174 Bytes
app/src/main/res/drawable-xhdpi/ic_add_white_24dp.png
0 → 100644
View file @
0de94da4
198 Bytes
app/src/main/res/drawable-xxhdpi/ic_add_white_24dp.png
0 → 100644
View file @
0de94da4
222 Bytes
app/src/main/res/drawable-xxxhdpi/ic_add_white_24dp.png
0 → 100644
View file @
0de94da4
269 Bytes
app/src/main/res/menu/add.xml
0 → 100644
View file @
0de94da4
<?xml version="1.0" encoding="utf-8"?>
<menu
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:id=
"@+id/action_add"
android:title=
"Add"
android:orderInCategory=
"105"
android:showAsAction=
"always"
android:icon=
"@drawable/ic_add_white_24dp"
/>
</menu>
\ No newline at end of file
app/src/main/res/xml/preference_theme.xml
View file @
0de94da4
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<ListPreference
android:title=
"@string/interface_theme"
android:key=
"@string/interface_theme_key"
android:entries=
"@array/interface_theme_entries"
android:entryValues=
"@array/interface_theme_entryvalues"
android:defaultValue=
"@string/interface_theme_default"
/>
<ListPreference
android:title=
"@string/interface_smiles"
android:key=
"@string/interface_smiles_key"
...
...
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