[android] appcompat style sample

screenshot 2

 

<style name="AppBaseTheme" parent="Theme.AppCompat.Light.DarkActionBar">
  <item name="colorPrimary">@android:color/holo_red_light</item>
  <item name="colorPrimaryDark">@android:color/holo_green_dark</item>
  <item name="colorAccent">@android:color/holo_orange_light</item>
</style>
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity
{
  @Override
  protected void onCreate(Bundle savedInstanceState)
  {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
  }
}

device-2015-05-13-111031_1