mirror of
https://gitlab.com/oeffi/oeffi.git
synced 2025-07-08 18:08:49 +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: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>
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue