Commit f89a46e9 authored by Adrien Maglo's avatar Adrien Maglo

Styles: introduce a new attribute to set the margin top size

parent 5f83bbca
......@@ -13,7 +13,7 @@
<View
android:layout_width="fill_parent"
android:layout_height="?attr/actionBarSize"
android:layout_height="?attr/marginTopContent"
android:background="@drawable/actionbar_background" />
<FrameLayout
......
......@@ -5,7 +5,7 @@
android:divider="?attr/background_menu_divider"
android:dividerHeight="0.2dp"
android:layout_width="208dp"
android:paddingTop="?attr/actionBarSize"
android:paddingTop="?attr/marginTopContent"
android:cacheColorHint="#0000"
android:fastScrollEnabled="true"
android:background="?attr/background_menu">
......
......@@ -56,4 +56,6 @@
<attr name="overhangSize" format="dimension" />
</declare-styleable>
<attr name="marginTopContent" format="dimension" />
</resources>
\ No newline at end of file
......@@ -17,6 +17,7 @@
<item name="windowActionBarOverlay">true</item>
<item name="android:actionOverflowButtonStyle">@style/ActionBar.OverflowButton</item>
<item name="actionOverflowButtonStyle">@style/ActionBar.OverflowButton</item>
<item name="marginTopContent">50dp</item>
<item name="android:listViewStyle">@style/Theme.VLC.List</item>
<item name="android:gridViewStyle">@style/Theme.VLC.List</item>
<item name="android:expandableListViewStyle">@style/Theme.VLC.List</item>
......@@ -76,6 +77,7 @@
<item name="windowActionBarOverlay">true</item>
<item name="android:actionOverflowButtonStyle">@style/ActionBar.OverflowButton</item>
<item name="actionOverflowButtonStyle">@style/ActionBar.OverflowButton</item>
<item name="marginTopContent">50dp</item>
<item name="android:listViewStyle">@style/Theme.VLC.List</item>
<item name="android:gridViewStyle">@style/Theme.VLC.List</item>
<item name="android:expandableListViewStyle">@style/Theme.VLC.List</item>
......
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