浏览代码

fix: overlaying status bar

Fixes issue #13
sduduzog 7 年之前
父节点
当前提交
9252a46fc4
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 3 1
      app/src/main/res/layout/main_bottom_sheet.xml
  2. 1 0
      app/src/main/res/layout/note_fragment.xml

+ 3 - 1
app/src/main/res/layout/main_bottom_sheet.xml

@@ -35,7 +35,9 @@
                 android:id="@+id/textView"
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
-                android:layout_margin="16dp"
+                android:layout_marginStart="16dp"
+                android:layout_marginLeft="16dp"
+                android:layout_marginTop="24dp"
                 android:text="@string/main_slim_options"
                 app:layout_constraintStart_toStartOf="parent"
                 app:layout_constraintTop_toTopOf="parent" />

+ 1 - 0
app/src/main/res/layout/note_fragment.xml

@@ -12,6 +12,7 @@
     <LinearLayout
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
+        android:paddingTop="20dp"
         android:orientation="vertical">
 
         <EditText