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
946308f8
Commit
946308f8
authored
Mar 27, 2015
by
Grigory Fedorov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Text selection toolbar color fixed.
parent
e742055b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
myapp_action_mode_background.xml
app/src/main/res/drawable/myapp_action_mode_background.xml
+8
-0
toolbar_default.xml
app/src/main/res/layout/toolbar_default.xml
+3
-3
theme.xml
app/src/main/res/values/theme.xml
+4
-0
No files found.
app/src/main/res/drawable/myapp_action_mode_background.xml
0 → 100644
View file @
946308f8
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:top=
"-2dp"
android:left=
"-2dp"
android:right=
"-2dp"
>
<shape
android:shape=
"rectangle"
>
<solid
android:color=
"@color/primary_material_dark"
/>
</shape>
</item>
</layer-list>
\ No newline at end of file
app/src/main/res/layout/toolbar_default.xml
View file @
946308f8
...
...
@@ -2,13 +2,13 @@
<android.support.v7.widget.Toolbar
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:id=
"@+id/toolbar_default"
android:layout_height=
"wrap_content"
android:layout_width=
"match_parent"
android:minHeight=
"?attr/actionBarSize"
app:theme=
"@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:popupTheme=
"@style/ThemeOverlay.AppCompat.Light"
android:background=
"
@color/background_material_dark
"
android:background=
"
?attr/colorPrimary
"
android:elevation=
"8dp"
tools:showIn=
"@layout/contact_list"
/>
/>
app/src/main/res/values/theme.xml
View file @
946308f8
...
...
@@ -18,6 +18,10 @@
<item
name=
"expanderAccountColor"
>
?android:attr/textColorPrimaryInverse
</item>
<item
name=
"expanderIndicator"
>
@drawable/expander_indicator_dark
</item>
<item
name=
"windowActionBar"
>
false
</item>
<!--for text selection toolbar to be above usual toolbar -->
<item
name=
"windowActionModeOverlay"
>
true
</item>
<!--for text selection toolbar color -->
<item
name=
"actionModeBackground"
>
@drawable/myapp_action_mode_background
</item>
</style>
</resources>
\ 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