Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
likorn
/
vocabulary_notebook
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f19befb0
authored
Nov 12, 2018
by
Paktalin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edited action bar
parent
1ebb1ee6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
app/src/main/res/menu/options_menu.xml
app/src/main/res/values/styles.xml
app/src/main/res/menu/options_menu.xml
View file @
f19befb0
...
...
@@ -5,13 +5,13 @@
<item
android:id=
"@+id/search"
android:title=
"@string/option_search"
android:icon=
"@drawable/ic_search_icon"
app:showAsAction=
"ifRoom"
app:showAsAction=
"ifRoom
|collapseActionView
"
app:actionViewClass=
"android.support.v7.widget.SearchView"
/>
<item
android:id=
"@+id/sort"
android:title=
"@string/option_sort"
android:icon=
"@drawable/ic_sort_icon"
app:showAsAction=
"
ifRoom|collapseActionView
"
/>
app:showAsAction=
"
always
"
/>
</menu>
\ No newline at end of file
app/src/main/res/values/styles.xml
View file @
f19befb0
<resources>
<!-- Base application theme. -->
<style
name=
"AppTheme"
parent=
"Base.Theme.AppCompat.Light.DarkActionBar"
>
<!-- Customize your theme here. -->
<item
name=
"colorPrimary"
>
@color/colorPrimary
</item>
<item
name=
"colorPrimaryDark"
>
@color/colorPrimaryDark
</item>
<item
name=
"colorAccent"
>
@color/colorAccent
</item>
<item
name=
"actionBarStyle"
>
@style/Widget.Styled.ActionBar
</item>
<item
name=
"android:actionBarStyle"
>
@style/Widget.Styled.ActionBar
</item>
</style>
<style
name=
"Widget.Styled.ActionBar"
parent=
"Widget.AppCompat.Light.ActionBar.Solid.Inverse"
>
<item
name=
"android:displayOptions"
>
showHome|useLogo
</item>
<item
name=
"displayOptions"
>
showHome|useLogo
</item>
</style>
</resources>
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