Commit 18930fa3 authored by Alexandre Perraud's avatar Alexandre Perraud

UI : Action Bar size Material freak adjustment

parent d37c0c3a
......@@ -30,7 +30,7 @@
<View
android:layout_width="fill_parent"
android:layout_height="?attr/actionBarSize"
android:layout_height="@dimen/actionBarSize"
android:background="?attr/background_actionbar" />
<FrameLayout
......
......@@ -10,7 +10,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:focusable="true"
android:paddingTop="?attr/actionBarSize"
android:paddingTop="@dimen/actionBarSize"
android:layout_above="@+id/sidebar_separator_settings"
android:nextFocusForward="@id/sidelist"
android:nextFocusUp="@id/sidelist"
......
......@@ -4,7 +4,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/main_toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:layout_height="@dimen/actionBarSize"
app:navigationContentDescription="@string/abc_action_bar_up_description"
app:theme="@style/Toolbar.VLC"
app:popupTheme="?attr/toolbar_popup_style"
......
<resources>
<!-- Default -->
<dimen name="actionBarSize">48dp</dimen>
</resources>
\ No newline at end of file
......@@ -30,5 +30,6 @@
<!-- Default -->
<dimen name="default_margin">16dp</dimen>
<dimen name="actionBarSize">56dp</dimen>
</resources>
\ No newline at end of file
......@@ -4,7 +4,6 @@
<style name="Theme.VLC" parent="Theme.VLC.7"/>
<style name="Theme.VLC.7" parent="Theme.VLC.Apearance">
<item name="actionBarStyle">@style/ActionBar</item>
<item name="actionBarSize">50dp</item>
<item name="windowActionBarOverlay">true</item>
<item name="drawerArrowStyle">@style/ActionBar.ArrowToggle</item>
</style>
......@@ -76,7 +75,6 @@
<style name="Theme.VLC.Black" parent="Theme.VLC.Black.7"/>
<style name="Theme.VLC.Black.7" parent="Theme.VLC.Apearance.Black">
<item name="actionBarStyle">@style/ActionBar</item>
<item name="actionBarSize">50dp</item>
<item name="windowActionBarOverlay">true</item>
<item name="drawerArrowStyle">@style/ActionBar.ArrowToggle</item>
</style>
......@@ -174,6 +172,7 @@
<style name="ActionBar" parent="Widget.AppCompat.Light.ActionBar">
<item name="titleTextStyle">@style/ActionBar.Text</item>
<item name="android:height">@dimen/actionBarSize</item>
</style>
<style name="ActionBar.Text" parent="TextAppearance.AppCompat.Widget.ActionBar.Title">
......
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 to comment