Расположение кнопок Android Studio: неожиданное перекрытие - PullRequest
0 голосов
/ 03 июля 2018

enter image description here

Почему это перекрывается?

Он хорошо размещен в предварительном просмотре, но когда вы запускаете приложение, он выглядит так, как вы его видите.

1 Ответ

0 голосов
/ 03 июля 2018

Пример решения перекрытия:

<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="horizontal">
    <Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" 
        android:text="Button"/>

    <Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Button"/>

    <Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Button"/>
</LinearLayout>
...