Skip to content

Commit

Permalink
Using system actionbar height
Browse files Browse the repository at this point in the history
  • Loading branch information
mvarnagiris committed Oct 19, 2014
1 parent 66d48b1 commit dd04f63
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
###Version: 0.11.3
- ```fix``` Fixed crash when rotating phone in main screen.

###Version: 0.11.2
- ```fix``` Fixed backup import.

Expand Down
2 changes: 1 addition & 1 deletion financius/src/main/res/layout/activity_categories.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<com.astuetz.PagerSlidingTabStrip
android:id="@+id/tabs_PSTS"
android:layout_width="match_parent"
android:layout_height="@dimen/actionbar_size"
android:layout_height="?android:actionBarSize"
android:background="@color/primary"
android:elevation="@dimen/elevation_header"
android:textColor="@color/text_primary_inverse"
Expand Down
2 changes: 1 addition & 1 deletion financius/src/main/res/layout/fragment_accounts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
android:background="@color/bg_brand"
android:elevation="@dimen/elevation_header"
android:gravity="center_vertical"
android:minHeight="@dimen/actionbar_size"
android:minHeight="?android:actionBarSize"
android:paddingBottom="@dimen/space_normal"
android:paddingLeft="@dimen/keyline"
android:paddingRight="@dimen/keyline"
Expand Down
2 changes: 1 addition & 1 deletion financius/src/main/res/layout/include_toolbar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="@dimen/actionbar_size"
android:layout_height="?android:actionBarSize"
android:elevation="@dimen/elevation_header"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
Expand Down
2 changes: 0 additions & 2 deletions financius/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<resources>

<dimen name="actionbar_size">56dp</dimen>

<dimen name="keyline">16dp</dimen>
<dimen name="keyline_content">72dp</dimen>
<dimen name="keyline_between">40dp</dimen>
Expand Down
2 changes: 1 addition & 1 deletion financius/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
<item name="android:paddingRight">@dimen/keyline</item>
<item name="android:paddingTop">@dimen/space_normal</item>
<item name="android:paddingBottom">@dimen/space_normal</item>
<item name="android:minHeight">@dimen/actionbar_size</item>
<item name="android:minHeight">?android:actionBarSize</item>
</style>

<!-- ScrollView -->
Expand Down

0 comments on commit dd04f63

Please sign in to comment.