Merge "[Partial Screensharing] Rename start button id" into udc-dev

This commit is contained in:
Yalan Yiue
2023-04-27 13:23:53 +00:00
committed by Android (Google) Code Review
2 changed files with 4 additions and 4 deletions

View File

@@ -76,7 +76,7 @@
android:orientation="horizontal"
android:layout_marginTop="@dimen/screenrecord_buttons_margin_top">
<TextView
android:id="@+id/button_cancel"
android:id="@android:id/button2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
@@ -87,7 +87,7 @@
android:layout_height="match_parent"
android:layout_weight="1"/>
<TextView
android:id="@+id/button_start"
android:id="@android:id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"

View File

@@ -57,8 +57,8 @@ open class BaseScreenSharePermissionDialog(
setContentView(R.layout.screen_share_dialog)
dialogTitle = findViewById(R.id.screen_share_dialog_title)
warning = findViewById(R.id.text_warning)
startButton = findViewById(R.id.button_start)
cancelButton = findViewById(R.id.button_cancel)
startButton = findViewById(android.R.id.button1)
cancelButton = findViewById(android.R.id.button2)
updateIcon()
initScreenShareOptions()
createOptionsView(getOptionsViewLayoutId())