Android Open Source - AntipodalWall Antipodal Wall Sample






From Project

Back to project page AntipodalWall.

License

The source code is released under:

Apache License

If you think the Android project AntipodalWall 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.antipodalwallsample;
// w w w  . j av  a2  s.c o  m
import com.antipodalwall.AntipodalWallLayout;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.widget.TextView;

public class AntipodalWallSample extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_antipodal_wall_sample);
        
        AntipodalWallLayout layout = (AntipodalWallLayout)findViewById(R.id.antipodal_wall);
        TextView tv = new TextView(this);
        tv.setText("This one has been added from code");
        tv.setBackgroundColor(getResources().getColor(android.R.color.black));
        layout.addView(tv);
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_antipodal_wall_sample, menu);
        return true;
    }

    
}




Java Source Code List

com.antipodalwall.AntipodalWallLayout.java
com.antipodalwall.ColumnSpec.java
com.antipodalwallsample.AntipodalWallSample.java