Extract margin_small
This commit is contained in:
@@ -11,10 +11,10 @@
|
|||||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="@dimen/margin_small"
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="@dimen/margin_small"
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="@dimen/margin_small"
|
||||||
android:layout_marginBottom="8dp"
|
android:layout_marginBottom="@dimen/margin_small"
|
||||||
android:hint="@string/fragment_authentication_input_hint_email"
|
android:hint="@string/fragment_authentication_input_hint_email"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/password_input_layout"
|
app:layout_constraintBottom_toTopOf="@+id/password_input_layout"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
@@ -35,10 +35,10 @@
|
|||||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="@dimen/margin_small"
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="@dimen/margin_small"
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="@dimen/margin_small"
|
||||||
android:layout_marginBottom="8dp"
|
android:layout_marginBottom="@dimen/margin_small"
|
||||||
android:hint="@string/fragment_authentication_input_hint_password"
|
android:hint="@string/fragment_authentication_input_hint_password"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/url_input_layout"
|
app:layout_constraintBottom_toTopOf="@+id/url_input_layout"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
@@ -57,10 +57,10 @@
|
|||||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="@dimen/margin_small"
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="@dimen/margin_small"
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="@dimen/margin_small"
|
||||||
android:layout_marginBottom="8dp"
|
android:layout_marginBottom="@dimen/margin_small"
|
||||||
android:hint="@string/fragment_authnetication_input_hint_url"
|
android:hint="@string/fragment_authnetication_input_hint_url"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/button"
|
app:layout_constraintBottom_toTopOf="@+id/button"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
@@ -78,10 +78,10 @@
|
|||||||
android:id="@+id/button"
|
android:id="@+id/button"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="@dimen/margin_small"
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="@dimen/margin_small"
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="@dimen/margin_small"
|
||||||
android:layout_marginBottom="8dp"
|
android:layout_marginBottom="@dimen/margin_small"
|
||||||
android:text="@string/fragment_authentication_button_login"
|
android:text="@string/fragment_authentication_button_login"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
|||||||
4
app/src/main/res/values/dimens.xml
Normal file
4
app/src/main/res/values/dimens.xml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<dimen name="margin_small">8dp</dimen>
|
||||||
|
</resources>
|
||||||
Reference in New Issue
Block a user