Skip to content
Snippets Groups Projects
Commit 238e0b18 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Set padding to debug activity

parent 935ac622
No related branches found
No related tags found
No related merge requests found
......@@ -2,11 +2,12 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
android:orientation="vertical"
android:padding="16dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content" >
<Button
android:id="@+id/start_log"
......
......@@ -89,7 +89,7 @@ public class PreferencesAdvanced extends BasePreferenceFragment implements Share
startActivity(intent);
return true;
case "clear_history":
new AlertDialog.Builder(getActivity())
new AlertDialog.Builder(requireContext())
.setTitle(R.string.clear_playback_history)
.setMessage(R.string.validation)
.setIcon(android.R.drawable.ic_dialog_alert)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment