|
|
|
|
@ -45,6 +45,7 @@ import android.view.View;
|
|
|
|
|
import android.view.ViewGroup;
|
|
|
|
|
import android.view.Window;
|
|
|
|
|
import android.view.WindowManager;
|
|
|
|
|
import android.widget.LinearLayout;
|
|
|
|
|
import android.widget.Toast;
|
|
|
|
|
|
|
|
|
|
import androidx.activity.EdgeToEdge;
|
|
|
|
|
@ -194,6 +195,8 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
|
|
|
|
FragmentDialogTheme.setBackground(this, holder, this instanceof ActivityCompose);
|
|
|
|
|
|
|
|
|
|
View cf = view.findViewById(R.id.content_frame);
|
|
|
|
|
if (cf != null && cf.getParent() instanceof LinearLayout) // Two rows or two columns
|
|
|
|
|
cf = (ViewGroup) cf.getParent();
|
|
|
|
|
View content = (cf == null ? view : cf);
|
|
|
|
|
int cpad = content.getPaddingBottom();
|
|
|
|
|
|
|
|
|
|
|