новый дизайн логина
This commit is contained in:
parent
2d401e0f99
commit
2573b25371
@ -24,13 +24,26 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/text_welcome"
|
android:id="@+id/text_login"
|
||||||
style="@style/Theme.UiTemplate.TextH1"
|
style="@style/Theme.UiTemplate.TextH1"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_marginBottom="50dp"
|
android:layout_marginBottom="10dp"
|
||||||
android:layout_gravity="center"
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/login_login" />
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/text_welcome"
|
||||||
|
style="@style/Theme.UiTemplate.TextH4"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_marginBottom="10dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/login_welcome" />
|
android:text="@string/login_welcome" />
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/text_login_small"
|
||||||
|
style="@style/Theme.UiTemplate.TextH4"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_marginBottom="50dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/login_text" />
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
style="@style/Theme.UiTemplate.Input"
|
style="@style/Theme.UiTemplate.Input"
|
||||||
android:id="@+id/input_username"
|
android:id="@+id/input_username"
|
||||||
@ -53,7 +66,7 @@
|
|||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
style="@style/Theme.UiTemplate.Input"
|
style="@style/Theme.UiTemplate.Input"
|
||||||
android:id="@+id/input_password"
|
android:id="@+id/input_password"
|
||||||
android:layout_marginTop="15dp"
|
android:layout_marginTop="10dp"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
app:layout_constraintWidth_max="400dp"
|
app:layout_constraintWidth_max="400dp"
|
||||||
app:layout_constraintWidth_percent="0.8"
|
app:layout_constraintWidth_percent="0.8"
|
||||||
@ -77,10 +90,10 @@
|
|||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/login"
|
android:id="@+id/login"
|
||||||
android:layout_width="250dp"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
style="@style/Theme.UiTemplate.Button"
|
style="@style/Theme.UiTemplate.Button"
|
||||||
android:layout_marginTop="45dp"
|
android:layout_marginTop="48dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:text="@string/login_button" />
|
android:text="@string/login_button" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
@ -4,5 +4,7 @@
|
|||||||
<string name="login_button">Login</string>
|
<string name="login_button">Login</string>
|
||||||
<string name="login_error">Something wrong</string>
|
<string name="login_error">Something wrong</string>
|
||||||
<string name="login_password_hint">Password</string>
|
<string name="login_password_hint">Password</string>
|
||||||
<string name="login_welcome">Добро пожаловать</string>
|
<string name="login_welcome">Добро пожаловать!</string>
|
||||||
|
<string name="login_text">Войдите чтобы продолжить</string>
|
||||||
|
<string name="login_login">Войти</string>
|
||||||
</resources>
|
</resources>
|
Loading…
x
Reference in New Issue
Block a user