Skip to content

Commit 3266b74

Browse files
committed
fix padding for api 35
1 parent 8c62bba commit 3266b74

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

app/src/main/res/layout/activity_main.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,13 @@
55
android:layout_width="match_parent"
66
android:layout_height="match_parent">
77

8-
9-
108
<com.google.android.material.appbar.AppBarLayout
119
android:layout_width="match_parent"
1210
android:layout_height="wrap_content"
1311
android:background="@color/accent"
14-
android:fitsSystemWindows=""
15-
android:paddingTop="?attr/cut"
12+
android:paddingTop="@dimen/status_bar_padding"
1613
>
1714

18-
1915
<com.google.android.material.appbar.CollapsingToolbarLayout
2016
android:layout_width="match_parent"
2117
android:layout_height="?attr/collapsingToolbarLayoutLargeSize"
@@ -27,7 +23,6 @@
2723
app:expandedTitleTextColor="@color/onAccent"
2824
app:title=" EweSticker">
2925

30-
3126
<com.google.android.material.appbar.MaterialToolbar
3227
android:layout_width="match_parent"
3328
android:layout_height="?attr/actionBarSize"

app/src/main/res/layout/keyboard_layout.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
android:layout_width="match_parent"
66
android:layout_height="wrap_content"
77
android:background="@color/bg"
8+
android:fitsSystemWindows="true"
89
tools:context="com.fredhappyface.ewesticker.ImageKeyboard">
910

1011
<HorizontalScrollView

0 commit comments

Comments
 (0)