Browse Source

add dimensions to layouts

main
Distopico Vegan 6 years ago
parent
commit
46ea9bc43f
3 changed files with 6 additions and 2 deletions
  1. +1
    -1
      app/src/main/res/layout/fragment_options.xml
  2. +1
    -1
      app/src/main/res/layout/fragment_privacy.xml
  3. +4
    -0
      app/src/main/res/values/dimens.xml

+ 1
- 1
app/src/main/res/layout/fragment_options.xml View File

@ -10,7 +10,7 @@
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="12dp">
android:layout_margin="@dimen/layout_margin">
<Switch <Switch
android:id="@+id/optSyncEnabled" android:id="@+id/optSyncEnabled"


+ 1
- 1
app/src/main/res/layout/fragment_privacy.xml View File

@ -7,7 +7,7 @@
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="12dp">
android:layout_margin="@dimen/layout_margin">
<TextView <TextView
android:id="@+id/tvPrivacy" android:id="@+id/tvPrivacy"


+ 4
- 0
app/src/main/res/values/dimens.xml View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="layout_margin">12dp</dimen>
</resources>

Loading…
Cancel
Save