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
18930fa3
Commit
18930fa3
authored
Mar 31, 2015
by
Alexandre Perraud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI : Action Bar size Material freak adjustment
parent
d37c0c3a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
5 deletions
+10
-5
vlc-android/res/layout/main.xml
vlc-android/res/layout/main.xml
+1
-1
vlc-android/res/layout/sidebar.xml
vlc-android/res/layout/sidebar.xml
+1
-1
vlc-android/res/layout/toolbar.xml
vlc-android/res/layout/toolbar.xml
+1
-1
vlc-android/res/values-land/dimens.xml
vlc-android/res/values-land/dimens.xml
+5
-0
vlc-android/res/values/dimens.xml
vlc-android/res/values/dimens.xml
+1
-0
vlc-android/res/values/styles.xml
vlc-android/res/values/styles.xml
+1
-2
No files found.
vlc-android/res/layout/main.xml
View file @
18930fa3
...
...
@@ -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
...
...
vlc-android/res/layout/sidebar.xml
View file @
18930fa3
...
...
@@ -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"
...
...
vlc-android/res/layout/toolbar.xml
View file @
18930fa3
...
...
@@ -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"
...
...
vlc-android/res/values-land/dimens.xml
0 → 100644
View file @
18930fa3
<resources>
<!-- Default -->
<dimen
name=
"actionBarSize"
>
48dp
</dimen>
</resources>
\ No newline at end of file
vlc-android/res/values/dimens.xml
View file @
18930fa3
...
...
@@ -30,5 +30,6 @@
<!-- Default -->
<dimen
name=
"default_margin"
>
16dp
</dimen>
<dimen
name=
"actionBarSize"
>
56dp
</dimen>
</resources>
\ No newline at end of file
vlc-android/res/values/styles.xml
View file @
18930fa3
...
...
@@ -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"
>
...
...
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