Merge "Add title for dialog" into rvc-dev

This commit is contained in:
Beth Thibodeau
2020-05-12 13:46:27 +00:00
committed by Android (Google) Code Review

View File

@@ -72,6 +72,7 @@ public class ScreenRecordDialog extends Activity {
window.getDecorView();
window.setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
window.setGravity(Gravity.TOP);
setTitle(R.string.screenrecord_name);
setContentView(R.layout.screen_record_dialog);