Back to project page android-view-selector.
The source code is released under:
Copyright (c) 2013 Nik Haldimann Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Soft...
If you think the Android project android-view-selector listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.nikhaldimann.viewselector.robolectric; /* w w w. ja v a 2s .co m*/ import android.os.Bundle; import android.support.v4.app.FragmentActivity; /** * Robolectric 1.2 can't see resources from an Android library, so we * need to create a separate activity here with a layout defined in * this project rather than the shared test library. */ public class RobolectricTestHelloWorldFragmentActivity extends FragmentActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_hello_world); } }