network_picker_content.xml: Remove unused <FrameLayout>.

This commit is contained in:
Andreas Schildbach 2021-02-03 16:54:50 +01:00
parent 2646e51fd0
commit 0858a093dc
2 changed files with 5 additions and 13 deletions

View file

@ -32,18 +32,12 @@
android:textSize="@dimen/font_size_large"
android:textStyle="normal" />
<FrameLayout
android:id="@+id/network_picker_firsttime_message_shadow"
android:layout_width="match_parent"
android:layout_height="0px"
android:layout_weight="1">
<androidx.recyclerview.widget.RecyclerView
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="0px"
android:layout_weight="1"
android:clipToPadding="false" />
</FrameLayout>
</LinearLayout>
</LinearLayout>

View file

@ -149,9 +149,7 @@ public class NetworkPickerActivity extends Activity implements ActivityCompat.On
return insets;
});
if (network == null) {
findViewById(R.id.network_picker_firsttime_message_shadow).setForeground(null);
} else {
if (network != null) {
findViewById(R.id.network_picker_firsttime_message).setVisibility(View.GONE);
actionBar.setBack(v -> finish());
final NetworkId networkId = prefsGetNetworkId();