aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/res/layout/login.xml
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2021-12-06 16:12:08 -0600
committerIván Ávalos <avalos@disroot.org>2021-12-06 16:12:08 -0600
commit75cfd4a32c5841ae9d0bf9dc3138b3c360d4b9ce (patch)
treece126b42562f4a8be085b3cb10387807d6bd1158 /androidApp/src/main/res/layout/login.xml
parent12cf0eecafc8b6364ad2e63676489341f91af8f5 (diff)
downloadetbsa-trackermap-mobile-75cfd4a32c5841ae9d0bf9dc3138b3c360d4b9ce.tar.gz
etbsa-trackermap-mobile-75cfd4a32c5841ae9d0bf9dc3138b3c360d4b9ce.tar.bz2
etbsa-trackermap-mobile-75cfd4a32c5841ae9d0bf9dc3138b3c360d4b9ce.zip
Strings to strings.xml (i18n) and dimens to dimen.xml
Diffstat (limited to 'androidApp/src/main/res/layout/login.xml')
-rw-r--r--androidApp/src/main/res/layout/login.xml14
1 files changed, 7 insertions, 7 deletions
diff --git a/androidApp/src/main/res/layout/login.xml b/androidApp/src/main/res/layout/login.xml
index 0a5f07a..21c63b0 100644
--- a/androidApp/src/main/res/layout/login.xml
+++ b/androidApp/src/main/res/layout/login.xml
@@ -5,22 +5,22 @@
android:name="mx.trackermap.TrackerMap.android.session.LoginFragment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- app:cardCornerRadius="20dp"
- app:cardElevation="5dp"
+ app:cardCornerRadius="@dimen/cardview_border_radius"
+ app:cardElevation="@dimen/cardview_elevation"
app:cardUseCompatPadding="true">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:paddingVertical="32dp"
- android:paddingHorizontal="16dp">
+ android:paddingVertical="@dimen/cardview_padding_vertical"
+ android:paddingHorizontal="@dimen/cardview_padding_horizontal">
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/usernameInputLayout"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:hint="Username"
+ android:hint="@string/login_username"
app:layout_constraintBottom_toTopOf="@+id/passwordInputLayout"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
@@ -40,7 +40,7 @@
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:hint="Password"
+ android:hint="@string/login_password"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent"
@@ -67,7 +67,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintHorizontal_bias="0.5"
android:layout_marginTop="40dp"
- android:text="Log in"/>
+ android:text="@string/login_login"/>
</androidx.constraintlayout.widget.ConstraintLayout>