Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9fe569d5 authored by Austin Kolander's avatar Austin Kolander
Browse files

Add cast to toolbar

Change-Id: I9fa7f9535a5c87b64ef7d04a649fd93f87042b3b
parent 87f1b2c2
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -23,6 +23,5 @@
      android:id="@+id/hello_world"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="Hello World!"
      android:textSize="20dp" />
</FrameLayout>
+2 −2
Original line number Diff line number Diff line
@@ -23,14 +23,14 @@ import com.android.documentsui.R;

public class DocumentInspectorActivity extends Activity {

  DocumentInspectorFragment mFragment;
  private DocumentInspectorFragment mFragment;

  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.document_inspector_activity);

    Toolbar toolbar = findViewById(R.id.toolbar);
    Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
    setActionBar(toolbar);

    FragmentManager fragmentManager = getFragmentManager();