Style: unify padding on fragments

This commit is contained in:
Mathias-Boulay 2023-05-19 16:10:44 +02:00
parent 94366812d9
commit 159bb5e336
5 changed files with 8 additions and 4 deletions

View File

@ -4,7 +4,8 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/background_app"> android:background="@color/background_app"
android:paddingHorizontal="@dimen/fragment_padding_medium">
<com.kdt.pickafile.FileListView <com.kdt.pickafile.FileListView
android:id="@+id/file_selector" android:id="@+id/file_selector"

View File

@ -6,7 +6,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/background_app" android:background="@color/background_app"
android:paddingHorizontal="@dimen/_10sdp" android:paddingHorizontal="@dimen/fragment_padding_medium"
> >
<View <View

View File

@ -12,7 +12,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:paddingHorizontal="@dimen/_22sdp"> android:paddingHorizontal="@dimen/fragment_padding_medium">
<TextView <TextView
android:id="@+id/vprof_editor_profile_name_sub" android:id="@+id/vprof_editor_profile_name_sub"

View File

@ -8,7 +8,7 @@
android:background="@color/background_app" android:background="@color/background_app"
android:gravity="center" android:gravity="center"
android:orientation="vertical" android:orientation="vertical"
android:paddingHorizontal="@dimen/_16sdp"> android:paddingHorizontal="@dimen/fragment_padding_medium">
<View <View
android:id="@+id/login_menu" android:id="@+id/login_menu"

View File

@ -22,4 +22,7 @@
<dimen name="navigation_item_height">48dp</dimen> <dimen name="navigation_item_height">48dp</dimen>
<dimen name="navigation_item_icon_size">24dp</dimen> <dimen name="navigation_item_icon_size">24dp</dimen>
<!-- Fragment padding -->
<dimen name="fragment_padding_medium">@dimen/_10sdp</dimen>
</resources> </resources>