Created
April 11, 2023 21:12
-
-
Save tgnivekucn/16eb102956b3d1f46ea11b5f73e1ed1b to your computer and use it in GitHub Desktop.
ChatGPT Generate XML code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context=".MainActivity"> | |
<WebView | |
android:id="@+id/webview" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:layout_marginTop="22dp" | |
android:layout_marginLeft="40dp" | |
android:layout_marginRight="40dp" | |
android:layout_marginBottom="200dp" /> | |
<Button | |
android:id="@+id/accept_button" | |
android:layout_width="120dp" | |
android:layout_height="60dp" | |
android:layout_marginLeft="40dp" | |
android:layout_marginBottom="50dp" | |
android:layout_alignParentBottom="true" | |
android:background="#F2F5FA" | |
android:text="Accept" | |
android:textColor="#0053B5" /> | |
<Button | |
android:id="@+id/cancel_button" | |
android:layout_width="120dp" | |
android:layout_height="60dp" | |
android:layout_marginRight="40dp" | |
android:layout_marginBottom="50dp" | |
android:layout_alignParentBottom="true" | |
android:layout_alignParentRight="true" | |
android:background="#FFFFFF" | |
android:text="Cancel" | |
android:textColor="#8EA7D6" | |
app:borderWidth="2dp" | |
app:borderColor="#F2F5FA" /> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment