mirror of
https://gitlab.com/oeffi/oeffi.git
synced 2025-07-09 10:58:47 +00:00
network_picker_content.xml: Remove unused <FrameLayout>.
This commit is contained in:
parent
2646e51fd0
commit
0858a093dc
2 changed files with 5 additions and 13 deletions
|
@ -32,18 +32,12 @@
|
||||||
android:textSize="@dimen/font_size_large"
|
android:textSize="@dimen/font_size_large"
|
||||||
android:textStyle="normal" />
|
android:textStyle="normal" />
|
||||||
|
|
||||||
<FrameLayout
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:id="@+id/network_picker_firsttime_message_shadow"
|
android:id="@android:id/list"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0px"
|
android:layout_height="0px"
|
||||||
android:layout_weight="1">
|
android:layout_weight="1"
|
||||||
|
android:clipToPadding="false" />
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
|
||||||
android:id="@android:id/list"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:clipToPadding="false" />
|
|
||||||
</FrameLayout>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
|
@ -149,9 +149,7 @@ public class NetworkPickerActivity extends Activity implements ActivityCompat.On
|
||||||
return insets;
|
return insets;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (network == null) {
|
if (network != null) {
|
||||||
findViewById(R.id.network_picker_firsttime_message_shadow).setForeground(null);
|
|
||||||
} else {
|
|
||||||
findViewById(R.id.network_picker_firsttime_message).setVisibility(View.GONE);
|
findViewById(R.id.network_picker_firsttime_message).setVisibility(View.GONE);
|
||||||
actionBar.setBack(v -> finish());
|
actionBar.setBack(v -> finish());
|
||||||
final NetworkId networkId = prefsGetNetworkId();
|
final NetworkId networkId = prefsGetNetworkId();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue