Conversation
| android:layout_height="match_parent" | ||
| android:orientation="vertical"> | ||
|
|
||
| <LinearLayout |
There was a problem hiding this comment.
для LinearLayout нужно еще дописывать orientation
| android:textSize="25sp" /> | ||
| </LinearLayout> | ||
|
|
||
| <LinearLayout |
There was a problem hiding this comment.
для LinearLayout нужно еще дописывать orientation
| android:textSize="25sp" /> | ||
| </LinearLayout> | ||
|
|
||
| <LinearLayout |
There was a problem hiding this comment.
для LinearLayout нужно еще дописывать orientation
| android:text="Education" | ||
| android:textSize="25sp" /> | ||
| </LinearLayout> | ||
| <LinearLayout |
There was a problem hiding this comment.
для LinearLayout нужно еще дописывать orientation
| android:text="Family" | ||
| android:textSize="25sp" /> | ||
| </LinearLayout> | ||
| <LinearLayout |
There was a problem hiding this comment.
для LinearLayout нужно еще дописывать orientation
| android:text="Health" | ||
| android:textSize="25sp" /> | ||
| </LinearLayout> | ||
| <LinearLayout |
There was a problem hiding this comment.
для LinearLayout нужно еще дописывать orientation
| android:text="Office" | ||
| android:textSize="25sp" /> | ||
| </LinearLayout> | ||
| <LinearLayout |
There was a problem hiding this comment.
для LinearLayout нужно еще дописывать orientation
| android:text="Promotions" | ||
| android:textSize="25sp" /> | ||
| </LinearLayout> | ||
| <LinearLayout |
There was a problem hiding this comment.
для LinearLayout нужно еще дописывать orientation
| android:text="Radio" | ||
| android:textSize="25sp" /> | ||
| </LinearLayout> | ||
| <LinearLayout |
There was a problem hiding this comment.
для LinearLayout нужно еще дописывать orientation
| android:text="Recipes" | ||
| android:textSize="25sp" /> | ||
| </LinearLayout> | ||
| <LinearLayout |
There was a problem hiding this comment.
для LinearLayout нужно еще дописывать orientation
|
|
||
|
|
There was a problem hiding this comment.
Старайся не оставлять пустые строки
| android:layout_gravity="right" | ||
| android:text="Weight" | ||
| android:layout_marginTop="10dp" | ||
|
|
| android:textColor="#000000" | ||
| app:layout_constraintTop_toTopOf="parent" | ||
| app:layout_constraintLeft_toLeftOf="parent"> | ||
| </TextView> |
There was a problem hiding this comment.
</TextView>тут лишний. Когда у тебя одиночный элемент, который не включает в себя что-то другое, то можно написать вот так: />
В итоге у тебя будет вот так
<TextView
android:id="@+id/text1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Sign In"
android:textSize="40sp"
android:layout_marginTop="30dp"
android:layout_marginLeft="20dp"
android:textColor="#000000"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toLeftOf="parent"/>
|
|
||
|
|
| <Space | ||
| android:id="@+id/space" | ||
| android:layout_width="0dp" | ||
| android:layout_height="250dp"/> |
There was a problem hiding this comment.
Обычно Space используют только ждля заполнения пустого пространства, например, при использовании веса. Тут же можно обойтись просто отступом сверху для кнопки
| android:layout_marginTop="30dp" | ||
| android:layout_marginLeft="20dp" | ||
| android:textColor="#000000"> | ||
| </TextView> |
There was a problem hiding this comment.
</TextView>тут лишний. Когда у тебя одиночный элемент, который не включает в себя что-то другое, то можно написать вот так: />
В итоге у тебя будет вот так
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Sign In"
android:textSize="40sp"
android:layout_marginTop="30dp"
android:layout_marginLeft="20dp"
android:textColor="#000000"/>
| android:layout_marginTop="30dp" | ||
| android:layout_marginLeft="20dp" | ||
| android:textColor="#000000"> | ||
| </TextView> |
|
|
||
|
|
||
|
|
There was a problem hiding this comment.
не оставляй столько пустых строк. везде должен быть порядок
| android:layout_marginTop="10dp" | ||
| android:layout_below="@id/adress" | ||
| android:background="#5C4E4E" | ||
| /> |
There was a problem hiding this comment.
перенеси закрывающий оператор на строку выше
No description provided.