File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -115,10 +115,19 @@ class BrowserActivity : AppCompatActivity() {
115115 }
116116
117117 fun deepLinkActivitySetup () {
118- val deepLinkCloseButton = findViewById<LinearLayout >(R .id.closeButtonDeeplink);
118+ val deeplinkHeader = findViewById<LinearLayout >(R .id.deeplinkAddressBar);
119+ val browserHeader = findViewById<LinearLayout >(R .id.normalAddressbar);
119120
120- deepLinkCloseButton.setOnClickListener {
121+ val deeplinkCloseButton = findViewById<LinearLayout >(R .id.closeButtonDeeplink);
122+ val deeplinkOpenInBrowserButton = findViewById<LinearLayout >(R .id.openInBrowserButtonDeeplink);
123+
124+ deeplinkCloseButton.setOnClickListener {
121125 finish()
122126 }
127+
128+ deeplinkOpenInBrowserButton.setOnClickListener {
129+ browserHeader.visibility = View .VISIBLE ;
130+ deeplinkHeader.visibility = View .GONE ;
131+ }
123132 }
124133}
Original file line number Diff line number Diff line change 9393 </LinearLayout >
9494
9595 <LinearLayout
96+ android : id =" @+id/openInBrowserButtonDeeplink"
9697 android : layout_width =" 40dp"
9798 android : layout_height =" match_parent"
9899 android : layout_margin =" 2dp"
You can’t perform that action at this time.
0 commit comments