Skip to content

Instantly share code, notes, and snippets.

@finnkvan
Last active October 13, 2018 19:07
Show Gist options
  • Save finnkvan/bb0c6dc5177d237653b289e6c285a2e7 to your computer and use it in GitHub Desktop.
Save finnkvan/bb0c6dc5177d237653b289e6c285a2e7 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.pivincii.blogging.CustomView
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>
package com.pivincii.blogging
import android.os.Bundle
class MainActivity : ActivityResultObservableActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment