Android Open Source - MagicViews Main Activity






From Project

Back to project page MagicViews.

License

The source code is released under:

Apache License

If you think the Android project MagicViews listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.ivankocijan.TestApp.activites;
//  w w  w .ja  v  a 2  s.  c  o  m
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

import com.ivankocijan.TestApp.R;
import com.ivankocijan.magicviews.views.MagicButton;

import butterknife.ButterKnife;
import butterknife.InjectView;
import butterknife.OnClick;


public class MainActivity extends Activity {

    @InjectView(R.id.preference_example)
    MagicButton preferenceExample;

    @Override
    protected void onCreate (Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        ButterKnife.inject(this);

    }

    @OnClick(R.id.preference_example)
    protected void goToPrefs () {

        startActivity(new Intent(MainActivity.this, PreferenceExampleActivity.class));

    }

}




Java Source Code List

com.ivankocijan.TestApp.ExamplePreferenceFragment.java
com.ivankocijan.TestApp.TestAppApplication.java
com.ivankocijan.TestApp.activites.MainActivity.java
com.ivankocijan.TestApp.activites.PreferenceExampleActivity.java
com.ivankocijan.magicviews.FontNotFoundException.java
com.ivankocijan.magicviews.MagicFont.java
com.ivankocijan.magicviews.MagicViewsNotInitializedException.java
com.ivankocijan.magicviews.MagicViews.java
com.ivankocijan.magicviews.enums.PreferenceType.java
com.ivankocijan.magicviews.preference.MagicCheckBoxPreference.java
com.ivankocijan.magicviews.preference.MagicEditTextPreference.java
com.ivankocijan.magicviews.preference.MagicPreferenceGroup.java
com.ivankocijan.magicviews.preference.MagicPreference.java
com.ivankocijan.magicviews.preference.MagicSwitchPreference.java
com.ivankocijan.magicviews.utils.FontUtils.java
com.ivankocijan.magicviews.views.MagicButton.java
com.ivankocijan.magicviews.views.MagicCheckBox.java
com.ivankocijan.magicviews.views.MagicCheckedTextView.java
com.ivankocijan.magicviews.views.MagicEditText.java
com.ivankocijan.magicviews.views.MagicTextView.java