android: DesndantFocusability="AfterDescendants" изменить макет (кажется прокручивается)

Я изменил свой макет с:

        android:descendantFocusability="blockDescendants"

в

        android:descendantFocusability="afterDescendants"

следующее:

  <android.support.v4.widget.NestedScrollView
      android:id="@+id/scroll_view"
      android:layout_width="match_parent"
      android:layout_height="0dp"
      android:layout_weight="1"
      android:fillViewport="true">
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:descendantFocusability="blockDescendants"
        android:orientation="vertical">

к этому:

  <android.support.v4.widget.NestedScrollView
      android:id="@+id/scroll_view"
      android:layout_width="match_parent"
      android:layout_height="0dp"
      android:layout_weight="1"
      android:fillViewport="true">
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:descendantFocusability="afterDescendants"
        android:orientation="vertical">

и, кажется, макет изменился.

* Тень смелее, и кажется, что высота выше

* ширина стала шире

Почему это случилось?

Как правильно это исправить? высота, л Как я могу быть точным?

0 ответов

Другие вопросы по тегам