mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-01-11 00:15:27 +01:00
Tiny layout improvements
This commit is contained in:
parent
559cdf577c
commit
4336c10fb1
app/src/main/java/de/danoeh/antennapod/fragment
core/src/main/java/de/danoeh/antennapod/core/util/playback
@ -22,6 +22,7 @@ import android.widget.ImageView;
|
||||
import android.widget.ProgressBar;
|
||||
import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.core.content.ContextCompat;
|
||||
import androidx.fragment.app.Fragment;
|
||||
@ -208,6 +209,12 @@ public class ItemFragment extends Fragment {
|
||||
return layout;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
|
||||
super.onViewCreated(view, savedInstanceState);
|
||||
load();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onActivityCreated(@Nullable Bundle savedInstanceState) {
|
||||
super.onActivityCreated(savedInstanceState);
|
||||
@ -217,7 +224,6 @@ public class ItemFragment extends Fragment {
|
||||
public void onStart() {
|
||||
super.onStart();
|
||||
EventBus.getDefault().register(this);
|
||||
load();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -52,7 +52,7 @@ public class Timeline {
|
||||
+ "a.timecode {"
|
||||
+ "color: #669900;"
|
||||
+ "}"
|
||||
+ "img {"
|
||||
+ "img, iframe {"
|
||||
+ "display: block;"
|
||||
+ "margin: 10 auto;"
|
||||
+ "max-width: %s;"
|
||||
|
Loading…
Reference in New Issue
Block a user