Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
likorn
/
Lavina
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
7e09ea6b
authored
May 14, 2018
by
Paktalin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set toolbar background
parent
02a02ec0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
app/src/main/res/layout/app_bar_main.xml
app/src/main/res/layout/content_main.xml
app/src/main/res/layout/app_bar_main.xml
View file @
7e09ea6b
...
@@ -4,18 +4,21 @@
...
@@ -4,18 +4,21 @@
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
tools:context=
"com.example.paktalin.lavina.MainActivity"
>
tools:context=
"com.example.paktalin.lavina.MainActivity"
android:background=
"@drawable/red_background"
>
<android.support.design.widget.AppBarLayout
<android.support.design.widget.AppBarLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:theme=
"@style/AppTheme.AppBarOverlay"
>
android:theme=
"@style/AppTheme.AppBarOverlay"
android:background=
"@android:color/transparent"
>
<android.support.v7.widget.Toolbar
<android.support.v7.widget.Toolbar
android:id=
"@+id/toolbar"
android:id=
"@+id/toolbar"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"?attr/actionBarSize"
android:layout_height=
"?attr/actionBarSize"
android:background=
"
?attr/colorPrimary
"
android:background=
"
@android:color/transparent
"
app:popupTheme=
"@style/AppTheme.PopupOverlay"
/>
app:popupTheme=
"@style/AppTheme.PopupOverlay"
/>
</android.support.design.widget.AppBarLayout>
</android.support.design.widget.AppBarLayout>
...
...
app/src/main/res/layout/content_main.xml
View file @
7e09ea6b
...
@@ -8,7 +8,8 @@
...
@@ -8,7 +8,8 @@
app:layout_behavior=
"@string/appbar_scrolling_view_behavior"
app:layout_behavior=
"@string/appbar_scrolling_view_behavior"
tools:context=
"com.example.paktalin.lavina.MainActivity"
tools:context=
"com.example.paktalin.lavina.MainActivity"
tools:showIn=
"@layout/app_bar_main"
tools:showIn=
"@layout/app_bar_main"
android:background=
"@drawable/red_background"
>
android:background=
"@android:color/transparent"
style=
"@style/AppTheme.PopupOverlay"
>
<LinearLayout
<LinearLayout
android:id=
"@+id/tabs"
android:id=
"@+id/tabs"
...
...
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