Commit 7e09ea6b by Paktalin

set toolbar background

parent 02a02ec0
...@@ -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>
......
...@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment