Commit 94cfc185 authored by Alexandre Perraud's avatar Alexandre Perraud

UI : Material freak alignment

parent ea0b0354
...@@ -32,10 +32,10 @@ ...@@ -32,10 +32,10 @@
android:layout_height="32dp" android:layout_height="32dp"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:layout_above="@+id/about_icon" android:layout_above="@+id/about_icon"
android:layout_marginLeft="10dp" android:layout_marginLeft="@dimen/default_margin"
android:layout_marginTop="10dp" android:layout_marginTop="8dp"
android:layout_marginBottom="10dp" android:layout_marginBottom="8dp"
android:layout_marginRight="5dp" android:layout_marginRight="24dp"
android:clickable="true" android:clickable="true"
android:onClick="onClick" android:onClick="onClick"
android:src="?attr/ic_menu_preferences"/> android:src="?attr/ic_menu_preferences"/>
...@@ -47,8 +47,8 @@ ...@@ -47,8 +47,8 @@
android:layout_toRightOf="@+id/settings_icon" android:layout_toRightOf="@+id/settings_icon"
android:layout_above="@+id/about_icon" android:layout_above="@+id/about_icon"
android:gravity="left|center_vertical" android:gravity="left|center_vertical"
android:layout_marginTop="10dp" android:layout_marginTop="8dp"
android:layout_marginBottom="10dp" android:layout_marginBottom="8dp"
android:clickable="true" android:clickable="true"
android:onClick="onClick" android:onClick="onClick"
android:focusable="true" android:focusable="true"
...@@ -64,10 +64,10 @@ ...@@ -64,10 +64,10 @@
android:layout_height="32dp" android:layout_height="32dp"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:layout_alignParentBottom="true" android:layout_alignParentBottom="true"
android:layout_marginLeft="10dp" android:layout_marginLeft="@dimen/default_margin"
android:layout_marginTop="10dp" android:layout_marginTop="8dp"
android:layout_marginBottom="10dp" android:layout_marginBottom="8dp"
android:layout_marginRight="5dp" android:layout_marginRight="24dp"
android:clickable="true" android:clickable="true"
android:onClick="onClick" android:onClick="onClick"
android:src="?attr/ic_menu_cone"/> android:src="?attr/ic_menu_cone"/>
...@@ -79,8 +79,8 @@ ...@@ -79,8 +79,8 @@
android:layout_toRightOf="@+id/about_icon" android:layout_toRightOf="@+id/about_icon"
android:layout_alignParentBottom="true" android:layout_alignParentBottom="true"
android:gravity="left|center_vertical" android:gravity="left|center_vertical"
android:layout_marginTop="10dp" android:layout_marginTop="8dp"
android:layout_marginBottom="10dp" android:layout_marginBottom="8dp"
android:clickable="true" android:clickable="true"
android:focusable="true" android:focusable="true"
android:onClick="onClick" android:onClick="onClick"
......
...@@ -3,13 +3,12 @@ ...@@ -3,13 +3,12 @@
android:id="@+id/title" android:id="@+id/title"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="5dip"
android:layout_marginRight="5dip"
android:layout_marginTop="5dip"
android:drawableLeft="@drawable/icon" android:drawableLeft="@drawable/icon"
android:drawablePadding="5dip" android:drawablePadding="24dip"
android:gravity="left|center_vertical" android:gravity="left|center_vertical"
android:padding="10dip" android:paddingTop="8dp"
android:paddingBottom="8dp"
android:paddingLeft="@dimen/default_margin"
android:text="@string/title" android:text="@string/title"
android:textColor="?attr/list_menu" android:textColor="?attr/list_menu"
android:textSize="16sp" /> android:textSize="16sp" />
...@@ -9,4 +9,5 @@ ...@@ -9,4 +9,5 @@
app:theme="@style/Toolbar.VLC" app:theme="@style/Toolbar.VLC"
app:popupTheme="?attr/toolbar_popup_style" app:popupTheme="?attr/toolbar_popup_style"
android:background="?attr/background_actionbar" android:background="?attr/background_actionbar"
app:navigationIcon="?attr/homeAsUpIndicator"/> app:navigationIcon="?attr/homeAsUpIndicator"
\ No newline at end of file app:titleMarginStart="@dimen/default_margin"/>
\ No newline at end of file
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