Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

File: content_main.xml

Code Block
languagexml
<com.graebert.aresinstance.CFxARESDocumentView

     android:id="@+id/id_aresview"

     android:layout_width="0dp"

     android:layout_height="0dp"

     android:visibility="gone"

     app:layout_constraintBottom_toTopOf="@id/id_bottompanel"

     app:layout_constraintEnd_toEndOf="parent"

     app:layout_constraintStart_toStartOf="parent"

     app:layout_constraintTop_toBottomOf="@id/id_background" />

...

File: MainActivity.java

Code Block
languagejava
@Override

protected void onCreate(Bundle savedInstanceState)

{

...

m_ARES = new ARESDelegate( this );

m_CommonUI = new CommonUIDelegate();

...

CFxARESInstance.instance().delegate = m_ARES;

CFxARESInstance.instance().start( this );

CFxCommonUI.instance().startWithDelegate( m_CommonUI );

...

m_ARESView = findViewById( R.id.id_aresview )

...

}

...