Skip to content

Commit

Permalink
Merge pull request #519 from jjoseba/issue-421
Browse files Browse the repository at this point in the history
Fixing new design problems (#421)
  • Loading branch information
alexlittle committed Mar 8, 2016
2 parents 964066f + dde2c90 commit 26881d1
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.
Binary file modified res/drawable-xhdpi/drawer_header.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions res/layout/activity_about.xml
Expand Up @@ -24,6 +24,7 @@
<android.support.design.widget.TabLayout
android:id="@+id/tabs_toolbar"
android:layout_width="match_parent"
app:tabMaxWidth="0dp"
android:background="@color/highlight_label"
android:layout_height="wrap_content"
style="@style/Oppia.ToolbarTheme.AppTabLayout"
Expand Down
2 changes: 2 additions & 0 deletions res/layout/activity_scorecard.xml
Expand Up @@ -26,8 +26,10 @@
android:layout_width="match_parent"
android:background="@color/highlight_label"
android:layout_height="wrap_content"
app:tabMaxWidth="0dp"
style="@style/Oppia.ToolbarTheme.AppTabLayout"
app:tabGravity="fill"
app:tabMode="fixed"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"/>
</android.support.design.widget.AppBarLayout>

Expand Down
2 changes: 1 addition & 1 deletion res/layout/tablayout_fixed_tab.xml
Expand Up @@ -4,7 +4,7 @@
android:layout_width="wrap_content"
android:layout_height="match_parent">
<TextView
android:layout_width="130dp"
android:layout_width="@dimen/toolbar_tab_width"
android:layout_height="match_parent"
style="@style/Oppia.ToolbarTheme.AppTabTextAppearance"
android:id="@+id/tabTitle"
Expand Down
1 change: 1 addition & 0 deletions res/values/dimens.xml
Expand Up @@ -15,5 +15,6 @@
<dimen name="domain_tick_label_font_size">15dp</dimen>
<dimen name="legend_text_font_size">20dp</dimen>
<dimen name="tool_bar_top_padding">0dp</dimen>
<dimen name="toolbar_tab_width">130dp</dimen>

</resources>
3 changes: 1 addition & 2 deletions res/values/styles_oppia.xml
Expand Up @@ -144,8 +144,7 @@
</style>

<style name="Oppia.ToolbarTheme.AppTabLayout" parent="Widget.Design.TabLayout">
<item name="tabMaxWidth">100dp</item>
<item name="tabMinWidth">60dp</item>
<item name="tabMinWidth">@dimen/toolbar_tab_width</item>
<item name="tabIndicatorColor">@color/highlight_mid</item>
<item name="tabIndicatorHeight">5dp</item>
<item name="tabPaddingStart">6dp</item>
Expand Down

0 comments on commit 26881d1

Please sign in to comment.