> ## Documentation Index
> Fetch the complete documentation index at: https://www.canva.dev/docs/button/llms.txt
> Use this file to discover all available pages before exploring further.
# Creating designs
Create a new design with the Android SDK.
After [setting up the Android SDK](https://www.canva.dev/docs/button/html/getting-started/), the next step is to allow users to create a design with the Canva editor. This part of the tutorial series explains how to launch the Canva editor from your app.
## Step 1: Set up the UI
1. Open the `activity_main.xml` file.
2. Switch to the **Code** or **Split** view.
3. Replace the `TextView` element with the following code:
```markup
```
This code adds a **Create design** button to the UI. The `LinearLayout` element ensures that additional elements are nicely stacked within the UI.
## Step 2: Open the Canva editor
1. Copy the following statements into the `MainActivity.kt` file:
```kotlin
import android.content.Intent
import android.widget.Button
import com.canva.button.builder.CanvaEditor
import com.canva.button.callbacks.Disposable
import com.canva.button.callbacks.PublishData
```
2. In the `onCreate` function, add an on-click listener to the **Create design** button:
```kotlin
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
// Set up the "Create design" button
val createDesignButton = findViewById