Improve UX of WifiDppChooseSavedWifiNetworkFragment
In WifiDppChooseSavedWifiNetworkFragment, it does not show the saved Wi-Fi network which is not reachable, users may be confused about why their saved Wi-Fi network not on the list. This change shows saved networks regardless of signal reachable or not. Fix WifiDppChooseSavedWifiNetworkFragment UI overlap problem, remove redundant ScrollView and adjust ConstraintLayout parameters. Bug: 124129645 Test: manual test Change-Id: I86637e8722bb8f40a3b995a617dc1e22b2ae324a
This commit is contained in:
@@ -22,28 +22,24 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ScrollView
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_height="0dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@+id/footer">
|
||||
|
||||
<LinearLayout
|
||||
<include layout="@layout/wifi_dpp_fragment_header"/>
|
||||
|
||||
<LinearLayout android:id="@+id/wifi_network_list_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<include layout="@layout/wifi_dpp_fragment_header"/>
|
||||
|
||||
<LinearLayout android:id="@+id/wifi_network_list_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toBottomOf="@+id/header"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
||||
</LinearLayout>
|
||||
|
||||
<include
|
||||
android:id="@+id/footer"
|
||||
layout="@layout/wifi_dpp_fragment_footer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
Reference in New Issue
Block a user