diff options
author | Allan Wang <me@allanwang.ca> | 2019-10-19 23:15:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-19 23:15:47 -0700 |
commit | 5dc6b2151f3177d01b2afe8f2e0479379f9970ff (patch) | |
tree | f3c154ebfb28b8f27651ccd9abf2ee35d0b045d3 /kpref-activity/src/main/res | |
parent | cd068b144ef533bccafc20b8b25ff72b56a93e23 (diff) | |
parent | f411167d3a7748bafbd54394e24ee40808faa6be (diff) | |
download | kau-5dc6b2151f3177d01b2afe8f2e0479379f9970ff.tar.gz kau-5dc6b2151f3177d01b2afe8f2e0479379f9970ff.tar.bz2 kau-5dc6b2151f3177d01b2afe8f2e0479379f9970ff.zip |
Merge pull request #234 from AllanWang/status-bar-height
Fix status bar height for settings activity
Diffstat (limited to 'kpref-activity/src/main/res')
-rw-r--r-- | kpref-activity/src/main/res/layout/kau_pref_activity.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kpref-activity/src/main/res/layout/kau_pref_activity.xml b/kpref-activity/src/main/res/layout/kau_pref_activity.xml index d6ea6e6..d73e07f 100644 --- a/kpref-activity/src/main/res/layout/kau_pref_activity.xml +++ b/kpref-activity/src/main/res/layout/kau_pref_activity.xml @@ -13,11 +13,11 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> + <!-- Margin top will be set to status bar height programmatically --> <androidx.appcompat.widget.Toolbar android:id="@id/kau_toolbar" android:layout_width="0dp" android:layout_height="?attr/actionBarSize" - android:layout_marginTop="@dimen/kau_status_bar_height" android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" |