Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Ewout ter Hoeven
VLC-Android
Commits
94cfc185
Commit
94cfc185
authored
Mar 30, 2015
by
Alexandre Perraud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI : Material freak alignment
parent
ea0b0354
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
18 deletions
+18
-18
vlc-android/res/layout/sidebar.xml
vlc-android/res/layout/sidebar.xml
+12
-12
vlc-android/res/layout/sidebar_item.xml
vlc-android/res/layout/sidebar_item.xml
+4
-5
vlc-android/res/layout/toolbar.xml
vlc-android/res/layout/toolbar.xml
+2
-1
No files found.
vlc-android/res/layout/sidebar.xml
View file @
94cfc185
...
...
@@ -32,10 +32,10 @@
android:layout_height=
"32dp"
android:layout_alignParentLeft=
"true"
android:layout_above=
"@+id/about_icon"
android:layout_marginLeft=
"
10dp
"
android:layout_marginTop=
"
10
dp"
android:layout_marginBottom=
"
10
dp"
android:layout_marginRight=
"
5
dp"
android:layout_marginLeft=
"
@dimen/default_margin
"
android:layout_marginTop=
"
8
dp"
android:layout_marginBottom=
"
8
dp"
android:layout_marginRight=
"
24
dp"
android:clickable=
"true"
android:onClick=
"onClick"
android:src=
"?attr/ic_menu_preferences"
/>
...
...
@@ -47,8 +47,8 @@
android:layout_toRightOf=
"@+id/settings_icon"
android:layout_above=
"@+id/about_icon"
android:gravity=
"left|center_vertical"
android:layout_marginTop=
"
10
dp"
android:layout_marginBottom=
"
10
dp"
android:layout_marginTop=
"
8
dp"
android:layout_marginBottom=
"
8
dp"
android:clickable=
"true"
android:onClick=
"onClick"
android:focusable=
"true"
...
...
@@ -64,10 +64,10 @@
android:layout_height=
"32dp"
android:layout_alignParentLeft=
"true"
android:layout_alignParentBottom=
"true"
android:layout_marginLeft=
"
10dp
"
android:layout_marginTop=
"
10
dp"
android:layout_marginBottom=
"
10
dp"
android:layout_marginRight=
"
5
dp"
android:layout_marginLeft=
"
@dimen/default_margin
"
android:layout_marginTop=
"
8
dp"
android:layout_marginBottom=
"
8
dp"
android:layout_marginRight=
"
24
dp"
android:clickable=
"true"
android:onClick=
"onClick"
android:src=
"?attr/ic_menu_cone"
/>
...
...
@@ -79,8 +79,8 @@
android:layout_toRightOf=
"@+id/about_icon"
android:layout_alignParentBottom=
"true"
android:gravity=
"left|center_vertical"
android:layout_marginTop=
"
10
dp"
android:layout_marginBottom=
"
10
dp"
android:layout_marginTop=
"
8
dp"
android:layout_marginBottom=
"
8
dp"
android:clickable=
"true"
android:focusable=
"true"
android:onClick=
"onClick"
...
...
vlc-android/res/layout/sidebar_item.xml
View file @
94cfc185
...
...
@@ -3,13 +3,12 @@
android:id=
"@+id/title"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"5dip"
android:layout_marginRight=
"5dip"
android:layout_marginTop=
"5dip"
android:drawableLeft=
"@drawable/icon"
android:drawablePadding=
"
5
dip"
android:drawablePadding=
"
24
dip"
android:gravity=
"left|center_vertical"
android:padding=
"10dip"
android:paddingTop=
"8dp"
android:paddingBottom=
"8dp"
android:paddingLeft=
"@dimen/default_margin"
android:text=
"@string/title"
android:textColor=
"?attr/list_menu"
android:textSize=
"16sp"
/>
vlc-android/res/layout/toolbar.xml
View file @
94cfc185
...
...
@@ -9,4 +9,5 @@
app:theme=
"@style/Toolbar.VLC"
app:popupTheme=
"?attr/toolbar_popup_style"
android:background=
"?attr/background_actionbar"
app:navigationIcon=
"?attr/homeAsUpIndicator"
/>
\ No newline at end of file
app:navigationIcon=
"?attr/homeAsUpIndicator"
app:titleMarginStart=
"@dimen/default_margin"
/>
\ No newline at end of file
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