day2_commit_1_xml_закругление кнопок
This commit is contained in:
parent
763eb5293c
commit
a926e0f57c
5
app/src/main/res/drawable/ic_android_black_24dp.xml
Normal file
5
app/src/main/res/drawable/ic_android_black_24dp.xml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:shape="rectangle">
|
||||||
|
<solid android:color="#F0F0F0" />
|
||||||
|
<corners android:radius="16dp" />
|
||||||
|
</shape>
|
@ -14,18 +14,18 @@
|
|||||||
android:hint="@string/username_hint"
|
android:hint="@string/username_hint"
|
||||||
android:inputType="text"
|
android:inputType="text"
|
||||||
android:padding="12dp"
|
android:padding="12dp"
|
||||||
android:background="#F0F0F0"
|
android:background="@drawable/ic_android_black_24dp"
|
||||||
android:layout_marginBottom="16dp"/>
|
android:layout_marginBottom="16dp"/>
|
||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
android:id="@+id/password"
|
android:id="@+id/password"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="16dp"
|
android:hint="Введите пароль"
|
||||||
android:background="#F0F0F0"
|
|
||||||
android:hint="@string/password_hint"
|
|
||||||
android:inputType="textPassword"
|
android:inputType="textPassword"
|
||||||
android:padding="12dp" />
|
android:padding="12dp"
|
||||||
|
android:background="@drawable/ic_android_black_24dp"
|
||||||
|
android:layout_marginBottom="16dp"/>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/login"
|
android:id="@+id/login"
|
||||||
@ -35,6 +35,7 @@
|
|||||||
android:backgroundTint="@color/colorPrimary"
|
android:backgroundTint="@color/colorPrimary"
|
||||||
android:textColor="@android:color/white"
|
android:textColor="@android:color/white"
|
||||||
android:padding="12dp"
|
android:padding="12dp"
|
||||||
|
app:cornerRadius="16dp"
|
||||||
android:layout_marginBottom="16dp"/>
|
android:layout_marginBottom="16dp"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@ -42,7 +43,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
android:textColor="@android:color/holo_red_dark"
|
android:textColor="@android:color/holo_red_light"
|
||||||
android:layout_marginBottom="16dp"/>
|
android:layout_marginBottom="16dp"/>
|
||||||
|
|
||||||
<ProgressBar
|
<ProgressBar
|
||||||
|
Loading…
x
Reference in New Issue
Block a user