<?xml version="1.0" encoding="utf-8"?>
<ScrollView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context="com.tiny.demo.firstlinecode.javareference.SingletonActivity">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">

        <Button
            android:id="@+id/btn_singleton_static_inner_class"
            style="@style/btn_style_lower"
            android:text="静态内部类实现单例"
            />

        <Button
            android:id="@+id/btn_singleton_enum"
            style="@style/btn_style_lower"
            android:text="枚举实现单例"
            />
    </LinearLayout>
</ScrollView>
