[List4.java]

public class List4 extends ListActivity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setListAdapter(new SpeechListAdapter(this));
    }

    private class SpeechListAdapter extends BaseAdapter {
        public SpeechListAdapter(Context context) {
            mContext = context;
        }

        public int getCount() {
            return mTitles.length;
        }

        public Object getItem(int position) {
            return position;
        }

        public long getItemId(int position) {
            return position;
        }

        public View getView(int position, View convertView, ViewGroup parent) {
            SpeechView sv;
            if (convertView == null) {
                sv = new SpeechView(mContext, mTitles[position],
                        mDialogue[position]);
            } else {
                sv = (SpeechView) convertView;
                sv.setTitle(mTitles[position]);
                sv.setDialogue(mDialogue[position]);
            }

            return sv;
        }

        private Context mContext;
       
        private String[] mTitles =
        {
                "Henry IV (1)",  
                "Henry V",
                "Henry VIII",      
                "Richard II",
                "Richard III",
                "Merchant of Venice", 
                "Othello",
                "King Lear"
        };
       
        private String[] mDialogue =
        {
                "So shaken as we are, so wan with care," +
                "Find we a time for frighted peace to pant," +
                "And breathe short-winded accents of new broils" +
                "To be commenced in strands afar remote." +
                "No more the thirsty entrance of this soil" +
                "Shall daub her lips with her own children's blood;" +
                "Nor more shall trenching war channel her fields," +
                "Nor bruise her flowerets with the armed hoofs" +
                "Of hostile paces: those opposed eyes," +
                "Which, like the meteors of a troubled heaven," +
                "All of one nature, of one substance bred," +
                "Did lately meet in the intestine shock" +
                "And furious close of civil butchery" +
                "Shall now, in mutual well-beseeming ranks," +
                "March all one way and be no more opposed" +
                "Against acquaintance, kindred and allies:" +
                "The edge of war, like an ill-sheathed knife," +
                "No more shall cut his master. Therefore, friends," +
                "As far as to the sepulchre of Christ," +
                "Whose soldier now, under whose blessed cross" +
                "We are impressed and engaged to fight," +
                "Forthwith a power of English shall we levy;" +
                "Whose arms were moulded in their mothers' womb" +
                "To chase these pagans in those holy fields" +
                "Over whose acres walk'd those blessed feet" +
                "Which fourteen hundred years ago were nail'd" +
                "For our advantage on the bitter cross." +
                "But this our purpose now is twelve month old," +
                "And bootless 'tis to tell you we will go:" +
                "Therefore we meet not now. Then let me hear" +
                "Of you, my gentle cousin Westmoreland," +
                "What yesternight our council did decree" +
                "In forwarding this dear expedience.",
               
                "Hear him but reason in divinity," +
                "And all-admiring with an inward wish" +
                "You would desire the king were made a prelate:" +
                "Hear him debate of commonwealth affairs," +
                "You would say it hath been all in all his study:" +
                "List his discourse of war, and you shall hear" +
                "A fearful battle render'd you in music:" +
                "Turn him to any cause of policy," +
                "The Gordian knot of it he will unloose," +
                "Familiar as his garter: that, when he speaks," +
                "The air, a charter'd libertine, is still," +
                "And the mute wonder lurketh in men's ears," +
                "To steal his sweet and honey'd sentences;" +
                "So that the art and practic part of life" +
                "Must be the mistress to this theoric:" +
                "Which is a wonder how his grace should glean it," +
                "Since his addiction was to courses vain," +
                "His companies unletter'd, rude and shallow," +
                "His hours fill'd up with riots, banquets, sports," +
                "And never noted in him any study," +
                "Any retirement, any sequestration" +
                "From open haunts and popularity.",

                "I come no more to make you laugh: things now," +
                "That bear a weighty and a serious brow," +
                "Sad, high, and working, full of state and woe," +
                "Such noble scenes as draw the eye to flow," +
                "We now present. Those that can pity, here" +
                "May, if they think it well, let fall a tear;" +
                "The subject will deserve it. Such as give" +
                "Their money out of hope they may believe," +
                "May here find truth too. Those that come to see" +
                "Only a show or two, and so agree" +
                "The play may pass, if they be still and willing," +
                "I'll undertake may see away their shilling" +
                "Richly in two short hours. Only they" +
                "That come to hear a merry bawdy play," +
                "A noise of targets, or to see a fellow" +
                "In a long motley coat guarded with yellow," +
                "Will be deceived; for, gentle hearers, know," +
                "To rank our chosen truth with such a show" +
                "As fool and fight is, beside forfeiting" +
                "Our own brains, and the opinion that we bring," +
                "To make that only true we now intend," +
                "Will leave us never an understanding friend." +
                "Therefore, for goodness' sake, and as you are known" +
                "The first and happiest hearers of the town," +
                "Be sad, as we would make ye: think ye see" +
                "The very persons of our noble story" +
                "As they were living; think you see them great," +
                "And follow'd with the general throng and sweat" +
                "Of thousand friends; then in a moment, see" +
                "How soon this mightiness meets misery:" +
                "And, if you can be merry then, I'll say" +
                "A man may weep upon his wedding-day.",
               
                "First, heaven be the record to my speech!" +
                "In the devotion of a subject's love," +
                "Tendering the precious safety of my prince," +
                "And free from other misbegotten hate," +
                "Come I appellant to this princely presence." +
                "Now, Thomas Mowbray, do I turn to thee," +
                "And mark my greeting well; for what I speak" +
                "My body shall make good upon this earth," +
                "Or my divine soul answer it in heaven." +
                "Thou art a traitor and a miscreant," +
                "Too good to be so and too bad to live," +
                "Since the more fair and crystal is the sky," +
                "The uglier seem the clouds that in it fly." +
                "Once more, the more to aggravate the note," +
                "With a foul traitor's name stuff I thy throat;" +
                "And wish, so please my sovereign, ere I move," +
                "What my tongue speaks my right drawn sword may prove.",
               
                "Now is the winter of our discontent" +
                "Made glorious summer by this sun of York;" +
                "And all the clouds that lour'd upon our house" +
                "In the deep bosom of the ocean buried." +
                "Now are our brows bound with victorious wreaths;" +
                "Our bruised arms hung up for monuments;" +
                "Our stern alarums changed to merry meetings," +
                "Our dreadful marches to delightful measures." +
                "Grim-visaged war hath smooth'd his wrinkled front;" +
                "And now, instead of mounting barded steeds" +
                "To fright the souls of fearful adversaries," +
                "He capers nimbly in a lady's chamber" +
                "To the lascivious pleasing of a lute." +
                "But I, that am not shaped for sportive tricks," +
                "Nor made to court an amorous looking-glass;" +
                "I, that am rudely stamp'd, and want love's majesty" +
                "To strut before a wanton ambling nymph;" +
                "I, that am curtail'd of this fair proportion," +
                "Cheated of feature by dissembling nature," +
                "Deformed, unfinish'd, sent before my time" +
                "Into this breathing world, scarce half made up," +
                "And that so lamely and unfashionable" +
                "That dogs bark at me as I halt by them;" +
                "Why, I, in this weak piping time of peace," +
                "Have no delight to pass away the time," +
                "Unless to spy my shadow in the sun" +
                "And descant on mine own deformity:" +
                "And therefore, since I cannot prove a lover," +
                "To entertain these fair well-spoken days," +
                "I am determined to prove a villain" +
                "And hate the idle pleasures of these days." +
                "Plots have I laid, inductions dangerous," +
                "By drunken prophecies, libels and dreams," +
                "To set my brother Clarence and the king" +
                "In deadly hate the one against the other:" +
                "And if King Edward be as true and just" +
                "As I am subtle, false and treacherous," +
                "This day should Clarence closely be mew'd up," +
                "About a prophecy, which says that 'G'" +
                "Of Edward's heirs the murderer shall be." +
                "Dive, thoughts, down to my soul: here" +
                "Clarence comes.",
               
                "To bait fish withal: if it will feed nothing else," +
                "it will feed my revenge. He hath disgraced me, and" +
                "hindered me half a million; laughed at my losses," +
                "mocked at my gains, scorned my nation, thwarted my" +
                "bargains, cooled my friends, heated mine" +
                "enemies; and what's his reason? I am a Jew. Hath" +
                "not a Jew eyes? hath not a Jew hands, organs," +
                "dimensions, senses, affections, passions? fed with" +
                "the same food, hurt with the same weapons, subject" +
                "to the same diseases, healed by the same means," +
                "warmed and cooled by the same winter and summer, as" +
                "a Christian is? If you prick us, do we not bleed?" +
                "if you tickle us, do we not laugh? if you poison" +
                "us, do we not die? and if you wrong us, shall we not" +
                "revenge? If we are like you in the rest, we will" +
                "resemble you in that. If a Jew wrong a Christian," +
                "what is his humility? Revenge. If a Christian" +
                "wrong a Jew, what should his sufferance be by" +
                "Christian example? Why, revenge. The villany you" +
                "teach me, I will execute, and it shall go hard but I" +
                "will better the instruction.",
               
                "Virtue! a fig! 'tis in ourselves that we are thus" +
                "or thus. Our bodies are our gardens, to the which" +
                "our wills are gardeners: so that if we will plant" +
                "nettles, or sow lettuce, set hyssop and weed up" +
                "thyme, supply it with one gender of herbs, or" +
                "distract it with many, either to have it sterile" +
                "with idleness, or manured with industry, why, the" +
                "power and corrigible authority of this lies in our" +
                "wills. If the balance of our lives had not one" +
                "scale of reason to poise another of sensuality, the" +
                "blood and baseness of our natures would conduct us" +
                "to most preposterous conclusions: but we have" +
                "reason to cool our raging motions, our carnal" +
                "stings, our unbitted lusts, whereof I take this that" +
                "you call love to be a sect or scion.",

                "Blow, winds, and crack your cheeks! rage! blow!" +
                "You cataracts and hurricanoes, spout" +
                "Till you have drench'd our steeples, drown'd the cocks!" +
                "You sulphurous and thought-executing fires," +
                "Vaunt-couriers to oak-cleaving thunderbolts," +
                "Singe my white head! And thou, all-shaking thunder," +
                "Smite flat the thick rotundity o' the world!" +
                "Crack nature's moulds, an germens spill at once," +
                "That make ingrateful man!"
        };
    }
   
    private class SpeechView extends LinearLayout {
        public SpeechView(Context context, String title, String words) {
            super(context);

            this.setOrientation(VERTICAL);

            mTitle = new TextView(context);
            mTitle.setText(title);
            addView(mTitle, new LinearLayout.LayoutParams(
                    LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT));

            mDialogue = new TextView(context);
            mDialogue.setText(words);
            addView(mDialogue, new LinearLayout.LayoutParams(
                    LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT));
        }

        public void setTitle(String title) {
            mTitle.setText(title);
        }

        public void setDialogue(String words) {
            mDialogue.setText(words);
        }

        private TextView mTitle;
        private TextView mDialogue;
    }
}

'old > API_Demo' 카테고리의 다른 글

Views_Lists_ListAdapter Collapsed  (0) 2010.04.27
Views_Lists_Separators  (0) 2010.04.27
Views_Lists_Cursor(Phones)  (0) 2010.04.27
Views_Lists_Cursor(People)  (0) 2010.04.27
Views_Lists_Array  (0) 2010.04.27
Posted by jazzlife
,

[List3.java]- Contacts에서 Phones을 가져와 List로 뿌린다.

public class List3 extends ListActivity {
   
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        // Get a cursor with all phones
        Cursor c = getContentResolver().query(Phones.CONTENT_URI, null, null, null, null);
        startManagingCursor(c);
       
        // Map Cursor columns to views defined in simple_list_item_2.xml
        ListAdapter adapter = new SimpleCursorAdapter(this,
                android.R.layout.simple_list_item_2, c,
                        new String[] { Phones.NAME, Phones.NUMBER },
                        new int[] { android.R.id.text1, android.R.id.text2 });
        setListAdapter(adapter);
    }
 
}

'old > API_Demo' 카테고리의 다른 글

Views_Lists_Separators  (0) 2010.04.27
Views_Lists_ListAdapter  (0) 2010.04.27
Views_Lists_Cursor(People)  (0) 2010.04.27
Views_Lists_Array  (0) 2010.04.27
Views_Layout_Table Layout_Cell Spanning  (0) 2010.04.26
Posted by jazzlife
,

[List2.java] - Contacts에서 꺼내와 List로 뿌린다.

public class List2 extends ListActivity {
   
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        // Get a cursor with all people
        Cursor c = getContentResolver().query(People.CONTENT_URI, null, null, null, null);
        startManagingCursor(c);

        ListAdapter adapter = new SimpleCursorAdapter(this,
                // Use a template that displays a text view
                android.R.layout.simple_list_item_1,
                // Give the cursor to the list adatper
                c,
                // Map the NAME column in the people database to...
                new String[] {People.NAME} ,
                // The "text1" view defined in the XML template
                new int[] {android.R.id.text1});
        setListAdapter(adapter);
    }
}

'old > API_Demo' 카테고리의 다른 글

Views_Lists_ListAdapter  (0) 2010.04.27
Views_Lists_Cursor(Phones)  (0) 2010.04.27
Views_Lists_Array  (0) 2010.04.27
Views_Layout_Table Layout_Cell Spanning  (0) 2010.04.26
Views_Layout_Table Layout_Gravity  (0) 2010.04.26
Posted by jazzlife
,

Views_Lists_Array

old/API_Demo 2010. 4. 27. 11:22

[List1.java]

public class List1 extends ListActivity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setListAdapter(new ArrayAdapter<String>(this,
                android.R.layout.simple_list_item_1, mStrings));
        getListView().setTextFilterEnabled(true);
    }

    private String[] mStrings = {
            "Abbaye de Belloc", "Abbaye du Mont des Cats", "Abertam", "Abondance", "Ackawi",
            "Zamorano", "Zanetti Grana Padano", "Zanetti Parmigiano Reggiano"};
}

'old > API_Demo' 카테고리의 다른 글

Views_Lists_Cursor(Phones)  (0) 2010.04.27
Views_Lists_Cursor(People)  (0) 2010.04.27
Views_Layout_Table Layout_Cell Spanning  (0) 2010.04.26
Views_Layout_Table Layout_Gravity  (0) 2010.04.26
Views_Layout_Table Layout_Simple Form  (0) 2010.04.26
Posted by jazzlife
,

[table_layout_12.xml]

<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content">

    <TableRow>
        <TextView
            android:text="@string/table_layout_12_a"
            android:background="#FFFF0000"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_12_b"
            android:background="#FF00FF00"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_12_c"
            android:background="#FF0000FF"
            android:padding="3dip" />
    </TableRow>

    <TableRow>
        <TextView
            android:text="@string/table_layout_12_d"
            android:layout_span="2"
            android:gravity="center_horizontal"
            android:background="#FF0000FF"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_12_e"
            android:background="#FF00FF00"
            android:padding="3dip" />
    </TableRow>

    <TableRow>
        <TextView
            android:text="@string/table_layout_12_f"
            android:background="#FFFF00FF"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_12_g"
            android:background="#FF00FF00"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_12_h"
            android:background="#FFFF0000"
            android:padding="3dip" />
    </TableRow>

    <TableRow>
        <TextView
            android:text="@string/table_layout_12_a"
            android:background="#FF00FF00"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_12_b"
            android:layout_span="2"
            android:gravity="center_horizontal"
            android:background="#FF0000FF"
            android:padding="3dip" />
    </TableRow>

    <TableRow>
        <TextView
            android:text="@string/table_layout_12_g"
            android:layout_span="3"
            android:gravity="center_horizontal"
            android:background="#FFC0C0C0"
            android:padding="3dip" />
    </TableRow>
</TableLayout>


 

'old > API_Demo' 카테고리의 다른 글

Views_Lists_Cursor(People)  (0) 2010.04.27
Views_Lists_Array  (0) 2010.04.27
Views_Layout_Table Layout_Gravity  (0) 2010.04.26
Views_Layout_Table Layout_Simple Form  (0) 2010.04.26
Views_Layout_Table Layout_Toggle Shrink  (0) 2010.04.26
Posted by jazzlife
,

[table_layout_11.xml]


<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:stretchColumns="1">

    <TableRow>
        <TextView
            android:layout_column="1"
            android:text="@string/table_layout_7_open"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_7_open_shortcut"
            android:gravity="right"
            android:padding="3dip" />
    </TableRow>

    <TableRow>
        <TextView
            android:layout_column="1"
            android:text="@string/table_layout_7_save"
            android:background="#FF00FF00"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_7_save_shortcut"
            android:gravity="right"
            android:padding="3dip" />
    </TableRow>

    <TableRow>
        <!-- Horizontally centers the content of the cell -->
        <TextView
            android:layout_column="1"
            android:text="@string/table_layout_7_save_as"
            android:background="#FFFF0000"
            android:layout_gravity="center_horizontal"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_7_save_as_shortcut"
            android:background="#FFFF00FF"
            android:gravity="right"
            android:padding="3dip" />
    </TableRow>

    <View
        android:layout_height="2dip"
        android:background="#FF909090" />

    <TableRow>
        <TextView
            android:text="@string/table_layout_7_x"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_7_import"
            android:padding="3dip" />
    </TableRow>

    <TableRow>
        <View
            android:layout_height="68dip"
            android:background="#FF909090" />
        <!-- Aligns the content of the cell to the bottom right -->
        <TextView
            android:text="@string/table_layout_7_export"
            android:background="#FFFF0000"
            android:layout_gravity="right|bottom"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_7_export_shortcut"
            android:background="#FF00FFFF"
            android:gravity="right"
            android:padding="3dip" />
    </TableRow>

    <View
        android:layout_height="2dip"
        android:background="#FF909090" />
</TableLayout>


 

'old > API_Demo' 카테고리의 다른 글

Views_Lists_Array  (0) 2010.04.27
Views_Layout_Table Layout_Cell Spanning  (0) 2010.04.26
Views_Layout_Table Layout_Simple Form  (0) 2010.04.26
Views_Layout_Table Layout_Toggle Shrink  (0) 2010.04.26
Views_Layout_Table Layout_Toggle Stretch  (0) 2010.04.26
Posted by jazzlife
,

[table_layout_10.xml]

<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
   android:layout_width="fill_parent"
   android:layout_height="fill_parent"
   android:stretchColumns="1">

   <TableRow>
       <TextView
           android:text="@string/table_layout_10_user"
           android:textStyle="bold"
           android:gravity="right"
           android:padding="3dip" />

       <EditText android:id="@+id/username"
           android:text="@string/table_layout_10_username_text"
           android:padding="3dip"
           android:scrollHorizontally="true" />
   </TableRow>

   <TableRow>
       <TextView
           android:text="@string/table_layout_10_password"
           android:textStyle="bold"
           android:gravity="right"
           android:padding="3dip" />

       <EditText android:id="@+id/password"
           android:text="@string/table_layout_10_password_text"
           android:password="true"
           android:padding="3dip"
           android:scrollHorizontally="true" />
   </TableRow>

   <TableRow
       android:gravity="right">

       <Button android:id="@+id/cancel"
           android:text="@string/table_layout_10_cancel" />

       <Button android:id="@+id/login"
           android:text="@string/table_layout_10_login" />
   </TableRow>
</TableLayout>


 

Posted by jazzlife
,

[TableLayout9.java]

public class TableLayout9 extends Activity {
    private boolean mShrink;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.table_layout_9);

        final TableLayout table = (TableLayout) findViewById(R.id.menu);
        Button button = (Button) findViewById(R.id.toggle);
        button.setOnClickListener(new Button.OnClickListener() {
            public void onClick(View v) {
                mShrink = !mShrink;
                table.setColumnShrinkable(0, mShrink);
            }
        });

        mShrink = table.isColumnShrinkable(0);
    }
}



[table_layout_9.xml]

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">
    <LinearLayout
        android:orientation="vertical"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent">
        <TableLayout
            android:id="@+id/menu"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content">

            <TableRow>
                <TextView
                    android:text="@string/table_layout_9_open"
                    android:padding="3dip" />
                <TextView
                    android:text="@string/table_layout_9_open_shortcut"
                    android:gravity="right"
                    android:padding="3dip" />
            </TableRow>

            <TableRow>
                <TextView
                    android:text="@string/table_layout_9_save"
                    android:padding="3dip" />
                <TextView
                    android:text="@string/table_layout_9_save_shortcut"
                    android:gravity="right"
                    android:padding="3dip" />
            </TableRow>

            <TableRow>
                <TextView
                    android:text="@string/table_layout_9_save_as"
                    android:padding="3dip" />
                <TextView
                    android:text="@string/table_layout_9_save_as_shortcut"
                    android:gravity="right"
                    android:padding="3dip" />
            </TableRow>

            <TableRow>
                <TextView
                    android:text="@string/table_layout_9_save_all"
                    android:padding="3dip" />
                <TextView
                    android:text="@string/table_layout_9_save_all_shortcut"
                    android:gravity="right"
                    android:padding="3dip" />
            </TableRow>

            <TableRow>
                <TextView
                    android:text="@string/table_layout_9_import"
                    android:padding="3dip" />
            </TableRow>

            <TableRow>
                <TextView
                    android:text="@string/table_layout_9_export"
                    android:padding="3dip" />
                <TextView
                    android:text="@string/table_layout_9_export_shortcut"
                    android:gravity="right"
                    android:padding="3dip" />
            </TableRow>
        </TableLayout>

        <Button
            android:id="@+id/toggle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/table_layout_9_toggle_shrink" />
    </LinearLayout>
</ScrollView>

Posted by jazzlife
,

[TableLayout8.java]

public class TableLayout8 extends Activity {
    private boolean mStretch;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.table_layout_8);

        final TableLayout table = (TableLayout) findViewById(R.id.menu);
        Button button = (Button) findViewById(R.id.toggle);
        button.setOnClickListener(new Button.OnClickListener() {
            public void onClick(View v) {
                mStretch = !mStretch;
                table.setColumnStretchable(1, mStretch);
            }
        });

        mStretch = table.isColumnStretchable(1);

        appendRow(table);
    }

    private void appendRow(TableLayout table) {
        TableRow row = new TableRow(this);

        TextView label = new TextView(this);
        label.setText(R.string.table_layout_8_quit);
        label.setPadding(3, 3, 3, 3);

        TextView shortcut = new TextView(this);
        shortcut.setText(R.string.table_layout_8_ctrlq);
        shortcut.setPadding(3, 3, 3, 3);
        shortcut.setGravity(Gravity.RIGHT | Gravity.TOP);

        row.addView(label, new TableRow.LayoutParams(1));
        row.addView(shortcut, new TableRow.LayoutParams());

        table.addView(row, new TableLayout.LayoutParams());
    }
}


[table_layout8.xml]

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">
    <TableLayout
        android:id="@+id/menu"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content">

        <TableRow>
            <TextView
                android:layout_column="1"
                android:text="@string/table_layout_8_open"
                android:padding="3dip" />
            <TextView
                android:text="@string/table_layout_8_open_shortcut"
                android:gravity="right"
                android:padding="3dip" />
        </TableRow>

        <TableRow>
            <TextView
                android:layout_column="1"
                android:text="@string/table_layout_8_save"
                android:padding="3dip" />
            <TextView
                android:text="@string/table_layout_8_save_shortcut"
                android:gravity="right"
                android:padding="3dip" />
        </TableRow>

        <TableRow>
            <TextView
                android:layout_column="1"
                android:text="@string/table_layout_8_save_as"
                android:padding="3dip" />
            <TextView
                android:text="@string/table_layout_8_save_as_shortcut"
                android:gravity="right"
                android:padding="3dip" />
        </TableRow>

        <TableRow>
            <TextView
                android:text="@string/table_layout_8_x"
                android:padding="3dip" />
            <TextView
                android:text="@string/table_layout_8_import"
                android:padding="3dip" />
        </TableRow>

        <TableRow>
            <TextView
                android:text="@string/table_layout_8_x"
                android:padding="3dip" />
            <TextView
                android:text="@string/table_layout_8_export"
                android:padding="3dip" />
            <TextView
                android:text="@string/table_layout_8_export_shortcut"
                android:gravity="right"
                android:padding="3dip" />
        </TableRow>
    </TableLayout>

    <Button
        android:id="@+id/toggle"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/table_layout_8_toggle_stretch" />
</LinearLayout>


 

Posted by jazzlife
,

[TableLayout7.java]

public class TableLayout7 extends Activity {
    private boolean mShortcutsCollapsed;
    private boolean mCheckmarksCollapsed;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.table_layout_7);

        final TableLayout table = (TableLayout) findViewById(R.id.menu);
        Button button = (Button) findViewById(R.id.toggle1);
        button.setOnClickListener(new Button.OnClickListener() {
            public void onClick(View v) {
                mShortcutsCollapsed = !mShortcutsCollapsed;
                table.setColumnCollapsed(2, mShortcutsCollapsed);
            }
        });
        button = (Button) findViewById(R.id.toggle2);
        button.setOnClickListener(new Button.OnClickListener() {
            public void onClick(View v) {
                mCheckmarksCollapsed = !mCheckmarksCollapsed;
                table.setColumnCollapsed(0, mCheckmarksCollapsed);
            }
        });

        mCheckmarksCollapsed = table.isColumnCollapsed(0);
        mShortcutsCollapsed = table.isColumnCollapsed(2);

        appendRow(table);
    }

    private void appendRow(TableLayout table) {
        TableRow row = new TableRow(this);

        TextView label = new TextView(this);
        label.setText(R.string.table_layout_7_quit);
        label.setPadding(3, 3, 3, 3);

        TextView shortcut = new TextView(this);
        shortcut.setText(R.string.table_layout_7_ctrlq);
        shortcut.setPadding(3, 3, 3, 3);
        shortcut.setGravity(Gravity.RIGHT | Gravity.TOP);

        row.addView(label, new TableRow.LayoutParams(1));
        row.addView(shortcut, new TableRow.LayoutParams());

        table.addView(row, new TableLayout.LayoutParams());
    }
}



[table_layout_7.xml]

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">
    <TableLayout
        android:id="@+id/menu"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:stretchColumns="1"
        android:collapseColumns="2">

        <TableRow>
            <TextView
                android:layout_column="1"
                android:text="@string/table_layout_7_open"
                android:padding="3dip" />
            <TextView
                android:text="@string/table_layout_7_open_shortcut"
                android:gravity="right"
                android:padding="3dip" />
        </TableRow>

        <TableRow>
            <TextView
                android:layout_column="1"
                android:text="@string/table_layout_7_save"
                android:padding="3dip" />
            <TextView
                android:text="@string/table_layout_7_save_shortcut"
                android:gravity="right"
                android:padding="3dip" />
        </TableRow>

        <TableRow>
            <TextView
                android:layout_column="1"
                android:text="@string/table_layout_7_save_as"
                android:padding="3dip" />
            <TextView
                android:text="@string/table_layout_7_save_as_shortcut"
                android:gravity="right"
                android:padding="3dip" />
        </TableRow>

        <View
            android:layout_height="2dip"
            android:background="#FF909090" />

        <TableRow>
            <TextView
                android:text="@string/table_layout_7_x"
                android:padding="3dip" />
            <TextView
                android:text="@string/table_layout_7_import"
                android:padding="3dip" />
        </TableRow>

        <TableRow>
            <TextView
                android:text="@string/table_layout_7_x"
                android:padding="3dip" />
            <TextView
                android:text="@string/table_layout_7_export"
                android:padding="3dip" />
            <TextView
                android:text="@string/table_layout_7_export_shortcut"
                android:gravity="right"
                android:padding="3dip" />
        </TableRow>

        <View
            android:layout_height="2dip"
            android:background="#FF909090" />
    </TableLayout>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content">
        <Button
            android:id="@+id/toggle2"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/table_layout_7_toggle_checkmarks" />
        <Button
            android:id="@+id/toggle1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/table_layout_7_toggle_shortcuts" />
    </LinearLayout>
</LinearLayout>


 

Posted by jazzlife
,

[table_layout_6.xml]

<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:stretchColumns="1">

    <TableRow>
        <TextView
            android:layout_column="1"
            android:text="@string/table_layout_6_open"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_6_open_shortcut"
            android:gravity="right"
            android:padding="3dip" />
    </TableRow>

    <TableRow>
        <TextView
            android:layout_column="1"
            android:text="@string/table_layout_6_save"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_6_save_shortcut"
            android:gravity="right"
            android:padding="3dip" />
    </TableRow>

    <TableRow>
        <TextView
            android:layout_column="1"
            android:text="@string/table_layout_6_save_as"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_6_save_as_shortcut"
            android:gravity="right"
            android:padding="3dip" />
    </TableRow>

    <View
        android:layout_height="2dip"
        android:background="#FF909090" />

    <TableRow>
        <TextView
            android:text="@string/table_layout_6_x"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_6_import"
            android:padding="3dip" />
    </TableRow>

    <TableRow>
        <TextView
            android:text="@string/table_layout_6_x"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_6_export"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_6_export_shortcut"
            android:gravity="right"
            android:padding="3dip" />
    </TableRow>

    <View
        android:layout_height="2dip"
        android:background="#FF909090" />

    <TableRow>
        <TextView
            android:layout_column="1"
            android:text="@string/table_layout_6_quit"
            android:padding="3dip" />
    </TableRow>
</TableLayout>

Posted by jazzlife
,

[table_layout_5.xml]

<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:stretchColumns="1">

    <TableRow>
        <TextView
            android:text="@string/table_layout_5_open"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_5_open_shortcut"
            android:gravity="right"
            android:padding="3dip" />
    </TableRow>

    <TableRow>
        <TextView
            android:text="@string/table_layout_5_save"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_5_save_shortcut"
            android:gravity="right"
            android:padding="3dip" />
    </TableRow>

    <TableRow>
        <TextView
            android:text="@string/table_layout_5_save_as"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_5_save_as_shortcut"
            android:gravity="right"
            android:padding="3dip" />
    </TableRow>

    <View
        android:layout_height="2dip"
        android:background="#FF909090" />

    <TableRow>
        <TextView
            android:text="@string/table_layout_5_import"
            android:padding="3dip" />
    </TableRow>

    <TableRow>
        <TextView
            android:text="@string/table_layout_5_export"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_5_export_shortcut"
            android:gravity="right"
            android:padding="3dip" />
    </TableRow>

    <View
        android:layout_height="2dip"
        android:background="#FF909090" />

    <TableRow>
        <TextView
            android:text="@string/table_layout_5_quit"
            android:padding="3dip" />
    </TableRow>
</TableLayout>

Posted by jazzlife
,

[table_layout_4.xml]

<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:stretchColumns="1">

    <TableRow>
        <TextView
            android:text="@string/table_layout_4_open"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_4_open_shortcut"
            android:gravity="right"
            android:padding="3dip" />
    </TableRow>

    <TableRow>
        <TextView
            android:text="@string/table_layout_4_save"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_4_save_shortcut"
            android:gravity="right"
            android:padding="3dip" />
    </TableRow>
</TableLayout>


 

Posted by jazzlife
,

[table_layout_3.xml]

<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:shrinkColumns="2, 3">

    <TableRow>
        <TextView
            android:text="@string/table_layout_3_star"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_3_open"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_3_open_shortcut"
            android:padding="3dip" />
    </TableRow>

    <TableRow>
        <TextView
            android:text="@string/table_layout_3_triple_star"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_3_save"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_3_save_shortcut"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_3_too_long"
            android:padding="3dip" />
    </TableRow>

    <TableRow>
        <TextView
            android:text="@string/table_layout_3_star"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_3_quit"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_3_quit_shortcut"
            android:padding="3dip" />
    </TableRow>
</TableLayout>

Posted by jazzlife
,

[table_layout_2.xml]

<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">

    <TableRow>
        <Button
            android:text="@string/table_layout_2_open" />
        <TextView
            android:text="@string/table_layout_2_path_1"
            android:padding="3dip" />
    </TableRow>

    <TableRow>
        <Button
            android:text="@string/table_layout_2_save_all"/>
    </TableRow>

    <TableRow>
        <Button
            android:text="@string/table_layout_2_save"
            android:visibility="invisible" />
        <TextView
            android:text="@string/table_layout_2_path_2"
            android:padding="3dip" />
    </TableRow>

</TableLayout>


 

'old > API_Demo' 카테고리의 다른 글

Views_Layout_Table Layout_Stretchable  (0) 2010.04.26
Views_Layout_Table Layout_Long Content  (0) 2010.04.26
Views_Layout_Table Layout_Basic  (0) 2010.04.26
Views_Layout_ScrollView_Internal Selection  (0) 2010.04.26
Views_Layout_ScrollView_Long  (0) 2010.04.26
Posted by jazzlife
,

[table_layout_1.xml]

<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">

    <TableRow>
        <TextView
          android:text="@string/table_layout_1_star"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_1_open"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_1_open_shortcut"
            android:padding="3dip" />
    </TableRow>

    <TableRow>
        <TextView
            android:text="@string/table_layout_1_triple_star"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_1_save"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_1_save_shortcut"
            android:padding="3dip" />
    </TableRow>

    <TableRow>
        <TextView
            android:text="@string/table_layout_1_star"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_1_quit"
            android:padding="3dip" />
        <TextView
            android:text="@string/table_layout_1_quit_shortcut"
            android:padding="3dip" />
    </TableRow>
</TableLayout>

'old > API_Demo' 카테고리의 다른 글

Views_Layout_Table Layout_Long Content  (0) 2010.04.26
Views_Layout_Table Layout_Empty Cells  (0) 2010.04.26
Views_Layout_ScrollView_Internal Selection  (0) 2010.04.26
Views_Layout_ScrollView_Long  (0) 2010.04.26
Views_Layout_ScrollView_Short  (0) 2010.04.26
Posted by jazzlife
,

[InternalSelectionScroll.java]

public class InternalSelectionScroll extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        ScrollView sv = new ScrollView(this);
        ViewGroup.LayoutParams svLp = new ScrollView.LayoutParams(
                ViewGroup.LayoutParams.FILL_PARENT,
                ViewGroup.LayoutParams.WRAP_CONTENT);

        LinearLayout ll = new LinearLayout(this);
        ll.setLayoutParams(svLp);
        sv.addView(ll);

        InternalSelectionView isv = new InternalSelectionView(this, 10);
        int screenHeight = getWindowManager().getDefaultDisplay().getHeight();
        LinearLayout.LayoutParams llLp = new LinearLayout.LayoutParams(
                ViewGroup.LayoutParams.FILL_PARENT,
                2 * screenHeight);  // 2x screen height to ensure scrolling
        isv.setLayoutParams(llLp);
        ll.addView(isv);
       
        setContentView(sv);
    }
}

'old > API_Demo' 카테고리의 다른 글

Views_Layout_Table Layout_Empty Cells  (0) 2010.04.26
Views_Layout_Table Layout_Basic  (0) 2010.04.26
Views_Layout_ScrollView_Long  (0) 2010.04.26
Views_Layout_ScrollView_Short  (0) 2010.04.26
Views_Layout_Relative Layout_Simple Form  (0) 2010.04.26
Posted by jazzlife
,

[ScrollView2.java]

public class ScrollView2 extends Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.scroll_view_2);

        LinearLayout layout = (LinearLayout) findViewById(R.id.layout);
        for (int i = 2; i < 64; i++) {
            TextView textView = new TextView(this);
            textView.setText("Text View " + i);
            LinearLayout.LayoutParams p = new LinearLayout.LayoutParams(
                    LinearLayout.LayoutParams.FILL_PARENT,
                    LinearLayout.LayoutParams.WRAP_CONTENT
            );
            layout.addView(textView, p);

            Button buttonView = new Button(this);
            buttonView.setText("Button " + i);
            layout.addView(buttonView, p);
        }
    }
}


[scroll_view_2.xml]

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:scrollbars="none">

    <LinearLayout
        android:id="@+id/layout"
        android:orientation="vertical"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content">

        <TextView
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="@string/scroll_view_2_text_1"/>

        <Button
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="@string/scroll_view_2_button_1"/>

    </LinearLayout>
</ScrollView>

'old > API_Demo' 카테고리의 다른 글

Views_Layout_Table Layout_Basic  (0) 2010.04.26
Views_Layout_ScrollView_Internal Selection  (0) 2010.04.26
Views_Layout_ScrollView_Short  (0) 2010.04.26
Views_Layout_Relative Layout_Simple Form  (0) 2010.04.26
Views_Layout_Relative Layout_Vertical  (0) 2010.04.26
Posted by jazzlife
,

[scroll_view_1.xml]

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:scrollbars="none">

    <LinearLayout
        android:id="@+id/layout"
        android:orientation="vertical"
        android:layout_width="fill_parent" android:layout_height="wrap_content">

        <TextView
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="@string/scroll_view_1_text_1"/>

        <Button
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="@string/scroll_view_1_button_1"/>

.
.
.
.
     
        <TextView
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="@string/scroll_view_1_text_6"/>

        <Button
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="@string/scroll_view_1_button_6"/>

    </LinearLayout>
</ScrollView>

Posted by jazzlife
,

[relative_layout_2.xml]

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:background="@drawable/blue"
    android:padding="10dip">

    <TextView
        android:id="@+id/label"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/relative_layout_2_instructions"/>

    <EditText
        android:id="@+id/entry"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:background="@android:drawable/editbox_background"
        android:layout_below="@id/label"/>

    <Button
        android:id="@+id/ok"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
       android:layout_below="@id/entry"
       android:layout_alignParentRight="true"
        android:layout_marginLeft="10dip"
        android:text="@string/relative_layout_2_ok" />

    <Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
      android:layout_toLeftOf="@id/ok"
      android:layout_alignTop="@id/ok"

        android:text="@string/relative_layout_2_cancel" />

</RelativeLayout>


 

'old > API_Demo' 카테고리의 다른 글

Views_Layout_ScrollView_Long  (0) 2010.04.26
Views_Layout_ScrollView_Short  (0) 2010.04.26
Views_Layout_Relative Layout_Vertical  (0) 2010.04.26
Views_Layout_Linear Layout_Background Image  (0) 2010.04.26
Views_Layout_Linear Layout_Layout Weight  (0) 2010.04.26
Posted by jazzlife
,

[relative_layout_1.xml]

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">

    <TextView
        android:id="@+id/view1"
        android:background="@drawable/red"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        android:text="@string/relative_layout_1_top"/>

    <TextView
        android:id="@+id/view2"
        android:background="@drawable/green"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:text="@string/relative_layout_1_bottom"/>

    <TextView
        android:id="@+id/view3"
        android:background="@drawable/yellow"
        android:layout_width="fill_parent"
        android:layout_height="0dip"
        android:layout_above="@id/view2"
        android:layout_below="@id/view1"
        android:text="@string/relative_layout_1_center"/>

</RelativeLayout>


 

Posted by jazzlife
,

[linear_layout_10.xml]

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical">

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:addStatesFromChildren="true"
        android:gravity="center_vertical"
        android:paddingRight="0dip"
        android:background="@android:drawable/edit_text">

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/linear_layout_10_from"
          android:textColor="?android:attr/textColorSecondary"
          android:textAppearance="?android:attr/textAppearanceLargeInverse"

        />

        <EditText
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:singleLine="true"
            android:background="@null"
        />

        <ImageButton
            style="@android:style/Widget.Button.Inset"
            android:src="@android:drawable/star_big_on"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="2dip"
            android:layout_marginRight="2dip"
            android:layout_marginBottom="2dip"
            android:padding="10dip"
        />

    </LinearLayout>

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:addStatesFromChildren="true"
        android:gravity="center_vertical"
        android:paddingRight="0dip"
        android:background="@android:drawable/edit_text">

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/linear_layout_10_to"
          android:textColor="?android:attr/textColorSecondary"
          android:textAppearance="?android:attr/textAppearanceLargeInverse"

        />

        <EditText
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:singleLine="true"
            android:background="@null"
        />

        <ImageButton
         style="@android:style/Widget.Button.Inset"
         android:src="@android:drawable/star_big_on"

            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="2dip"
            android:layout_marginRight="2dip"
            android:layout_marginBottom="2dip"
            android:padding="10dip"
        />

    </LinearLayout>

</LinearLayout>


 

Posted by jazzlife
,

[LinearLayout9.java]

public class LinearLayout9 extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.linear_layout_9);
        ListView list = (ListView) findViewById(R.id.list);
        list.setAdapter(new ArrayAdapter<String>(this,
                android.R.layout.simple_list_item_1, AutoComplete1.COUNTRIES));
    }

}


[linear_layout_9.xml]

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">

    <ListView android:id="@+id/list"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_weight="1.0" />

    <Button
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/linear_layout_9_button" />

</LinearLayout>


[AutoComplete1.Complete]

   static final String[] COUNTRIES = new String[] {
 "Afghanistan", "Albania", "Algeria", "American Samoa", "Andorra",
 "Angola", "Anguilla", "Antarctica", "Antigua and Barbuda", "Argentina",
 "Armenia", "Aruba", "Australia", "Austria", "Azerbaijan",
 "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium",
 "Belize", "Benin", "Bermuda", "Bhutan", "Bolivia",
 "Bosnia and Herzegovina", "Botswana", "Bouvet Island", "Brazil", "British Indian Ocean Territory",
 "British Virgin Islands", "Brunei", "Bulgaria", "Burkina Faso", "Burundi",
 "Cote d'Ivoire", "Cambodia", "Cameroon", "Canada", "Cape Verde",
 "Cayman Islands", "Central African Republic", "Chad", "Chile", "China",
 "Christmas Island", "Cocos (Keeling) Islands", "Colombia", "Comoros", "Congo",
 "Cook Islands", "Costa Rica", "Croatia", "Cuba", "Cyprus", "Czech Republic",
 "Democratic Republic of the Congo", "Denmark", "Djibouti", "Dominica", "Dominican Republic",
 "East Timor", "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea",
 "Estonia", "Ethiopia", "Faeroe Islands", "Falkland Islands", "Fiji", "Finland",
 "Former Yugoslav Republic of Macedonia", "France", "French Guiana", "French Polynesia",
 "French Southern Territories", "Gabon", "Georgia", "Germany", "Ghana", "Gibraltar",
 "Greece", "Greenland", "Grenada", "Guadeloupe", "Guam", "Guatemala", "Guinea", "Guinea-Bissau",
 "Guyana", "Haiti", "Heard Island and McDonald Islands", "Honduras", "Hong Kong", "Hungary",
 "Iceland", "India", "Indonesia", "Iran", "Iraq", "Ireland", "Israel", "Italy", "Jamaica",
 "Japan", "Jordan", "Kazakhstan", "Kenya", "Kiribati", "Kuwait", "Kyrgyzstan", "Laos",
 "Latvia", "Lebanon", "Lesotho", "Liberia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg",
 "Macau", "Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta", "Marshall Islands",
 "Martinique", "Mauritania", "Mauritius", "Mayotte", "Mexico", "Micronesia", "Moldova",
 "Monaco", "Mongolia", "Montserrat", "Morocco", "Mozambique", "Myanmar", "Namibia",
 "Nauru", "Nepal", "Netherlands", "Netherlands Antilles", "New Caledonia", "New Zealand",
 "Nicaragua", "Niger", "Nigeria", "Niue", "Norfolk Island", "North Korea", "Northern Marianas",
 "Norway", "Oman", "Pakistan", "Palau", "Panama", "Papua New Guinea", "Paraguay", "Peru",
 "Philippines", "Pitcairn Islands", "Poland", "Portugal", "Puerto Rico", "Qatar",
 "Reunion", "Romania", "Russia", "Rwanda", "Sqo Tome and Principe", "Saint Helena",
 "Saint Kitts and Nevis", "Saint Lucia", "Saint Pierre and Miquelon",
 "Saint Vincent and the Grenadines", "Samoa", "San Marino", "Saudi Arabia", "Senegal",
 "Seychelles", "Sierra Leone", "Singapore", "Slovakia", "Slovenia", "Solomon Islands",
 "Somalia", "South Africa", "South Georgia and the South Sandwich Islands", "South Korea",
 "Spain", "Sri Lanka", "Sudan", "Suriname", "Svalbard and Jan Mayen", "Swaziland", "Sweden",
 "Switzerland", "Syria", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "The Bahamas",
 "The Gambia", "Togo", "Tokelau", "Tonga", "Trinidad and Tobago", "Tunisia", "Turkey",
 "Turkmenistan", "Turks and Caicos Islands", "Tuvalu", "Virgin Islands", "Uganda",
 "Ukraine", "United Arab Emirates", "United Kingdom",
 "United States", "United States Minor Outlying Islands", "Uruguay", "Uzbekistan",
 "Vanuatu", "Vatican City", "Venezuela", "Vietnam", "Wallis and Futuna", "Western Sahara",
 "Yemen", "Yugoslavia", "Zambia", "Zimbabwe"
    };
}
Posted by jazzlife
,

[LinearLayout8.java]

public class LinearLayout8 extends Activity {

    private LinearLayout mLinearLayout;

    // Menu item Ids
    public static final int VERTICAL_ID = Menu.FIRST;
    public static final int HORIZONTAL_ID = Menu.FIRST + 1;

    public static final int TOP_ID = Menu.FIRST + 2;
    public static final int MIDDLE_ID = Menu.FIRST + 3;
    public static final int BOTTOM_ID = Menu.FIRST + 4;

    public static final int LEFT_ID = Menu.FIRST + 5;
    public static final int CENTER_ID = Menu.FIRST + 6;
    public static final int RIGHT_ID = Menu.FIRST + 7;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.linear_layout_8);
        mLinearLayout = (LinearLayout)findViewById(R.id.layout);
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        super.onCreateOptionsMenu(menu);
        menu.add(0, VERTICAL_ID, 0, R.string.linear_layout_8_vertical);
        menu.add(0, HORIZONTAL_ID, 0, R.string.linear_layout_8_horizontal);
        menu.add(0, TOP_ID, 0, R.string.linear_layout_8_top);
        menu.add(0, MIDDLE_ID, 0, R.string.linear_layout_8_middle);
        menu.add(0, BOTTOM_ID, 0, R.string.linear_layout_8_bottom);
        menu.add(0, LEFT_ID, 0, R.string.linear_layout_8_left);
        menu.add(0, CENTER_ID, 0, R.string.linear_layout_8_center);
        menu.add(0, RIGHT_ID, 0, R.string.linear_layout_8_right);

        return true;
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        switch (item.getItemId()) {

        case VERTICAL_ID:
            mLinearLayout.setOrientation(LinearLayout.VERTICAL);
            return true;
        case HORIZONTAL_ID:
            mLinearLayout.setOrientation(LinearLayout.HORIZONTAL);
            return true;

        case TOP_ID:
            mLinearLayout.setVerticalGravity(Gravity.TOP);
            return true;
        case MIDDLE_ID:
            mLinearLayout.setVerticalGravity(Gravity.CENTER_VERTICAL);
            return true;
        case BOTTOM_ID:
            mLinearLayout.setVerticalGravity(Gravity.BOTTOM);
            return true;

        case LEFT_ID:
            mLinearLayout.setHorizontalGravity(Gravity.LEFT);
            return true;
        case CENTER_ID:
            mLinearLayout.setHorizontalGravity(Gravity.CENTER_HORIZONTAL);
            return true;
        case RIGHT_ID:
            mLinearLayout.setHorizontalGravity(Gravity.RIGHT);
            return true;

        }
        return super.onOptionsItemSelected(item);
    }
}


[linear_layout_8.xml]

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:padding="30dip">
  <LinearLayout
      android:id="@+id/layout"
      android:orientation="vertical"
      android:background="@drawable/blue"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:padding="30dip">

    <TextView
 android:background="@drawable/box"
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:text="@string/linear_layout_8_c"/>

    <TextView
 android:background="@drawable/box"
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:text="@string/linear_layout_8_b"/>

    <TextView
 android:background="@drawable/box"
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:text="@string/linear_layout_8_c"/>

  </LinearLayout>

</FrameLayout>

Posted by jazzlife
,
[linear_layout_7.xml] - Fill Parent

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content">

    <TextView
        android:background="@drawable/red"
        android:layout_width="0dip"
        android:layout_height="fill_parent"
        android:layout_weight="1"
        android:text="@string/linear_layout_7_small"/>

    <TextView
        android:background="@drawable/green"
        android:layout_width="0dip"
        android:layout_height="fill_parent"
        android:layout_weight="1"
        android:text="@string/linear_layout_7_big"/>

    <TextView
        android:background="@drawable/blue"
        android:layout_width="0dip"
        android:layout_height="fill_parent"
        android:layout_weight="1"
        android:text="@string/linear_layout_7_small" />

    <TextView
        android:background="@drawable/yellow"
        android:layout_width="0dip"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:text="@string/linear_layout_7_wrap"/>

</LinearLayout>

Posted by jazzlife
,
[linear_layout_6.xml] - Uniform Size

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:background="@drawable/blue"
    android:padding="20dip"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content">

    <TextView
        android:background="@drawable/box"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/linear_layout_6_one"/>

    <TextView
        android:background="@drawable/box"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/linear_layout_6_two"/>

    <TextView
        android:background="@drawable/box"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/linear_layout_6_three"/>

    <TextView
        android:background="@drawable/box"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/linear_layout_6_four"/>

</LinearLayout>


'old > API_Demo' 카테고리의 다른 글

Views_Layout_Linear Layout_Gravity  (0) 2010.04.26
Views_Layout_Linear Layout_Fill Parent  (0) 2010.04.26
Views_Layout_Linear Layout_Simple Form  (0) 2010.04.26
Views_Layout_Linear Layout_Horizontal  (0) 2010.04.26
Views_Layout_Linear Layout_Vertical  (0) 2010.04.26
Posted by jazzlife
,
[linear_layout_.xml] - Simple Form

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:background="@drawable/blue"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:padding="10dip">

    <TextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/linear_layout_5_instructions"/>

    <EditText
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:background="@android:drawable/editbox_background"/>

    <LinearLayout
        android:orientation="horizontal"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="right" >

        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/linear_layout_5_cancel"/>

        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="10dip"
            android:text="@string/linear_layout_5_ok" />

    </LinearLayout>

</LinearLayout>


'old > API_Demo' 카테고리의 다른 글

Views_Layout_Linear Layout_Fill Parent  (0) 2010.04.26
Views_Layout_Linear Layout_Uniform Size  (0) 2010.04.26
Views_Layout_Linear Layout_Horizontal  (0) 2010.04.26
Views_Layout_Linear Layout_Vertical  (0) 2010.04.26
Views_Layout_BaseLine  (0) 2010.04.26
Posted by jazzlife
,
[linear_layout_4.xml] - Horizontal

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="horizontal"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">

    <TextView
        android:background="@drawable/red"
        android:layout_width="0dip"
        android:layout_height="fill_parent"
        android:layout_weight="1"/>

    <TextView
        android:background="@drawable/green"
        android:layout_width="0dip"
        android:layout_height="fill_parent"
        android:layout_weight="1"/>

    <TextView
        android:background="@drawable/blue"
        android:layout_width="0dip"
        android:layout_height="fill_parent"
        android:layout_weight="1"/>

    <TextView
        android:background="@drawable/yellow"
        android:layout_width="0dip"
        android:layout_height="fill_parent"
        android:layout_weight="1"/>

</LinearLayout>

'old > API_Demo' 카테고리의 다른 글

Views_Layout_Linear Layout_Uniform Size  (0) 2010.04.26
Views_Layout_Linear Layout_Simple Form  (0) 2010.04.26
Views_Layout_Linear Layout_Vertical  (0) 2010.04.26
Views_Layout_BaseLine  (0) 2010.04.26
Views_Layout Animation_Nested Animation  (0) 2010.04.26
Posted by jazzlife
,

[기본 Form]

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:background="@drawable/blue"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content">

    <TextView
        android:background="@drawable/box"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/linear_layout_1_top"/>

    <TextView
        android:background="@drawable/box"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/linear_layout_1_middle"/>

    <TextView
        android:background="@drawable/box"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/linear_layout_1_bottom"/>

</LinearLayout>


[linear_layout_1.xml] - Vertical

[linear_layout_2.xml] - Vertical (Fill Screen)

꽉 채우기 -> android:layout_height="fill_parent"


[linear_layout_3.xml] - Vertical (Padded)

나머지 영역 모두 할당 - > android:layout_weight="1"

'old > API_Demo' 카테고리의 다른 글

Views_Layout_Linear Layout_Simple Form  (0) 2010.04.26
Views_Layout_Linear Layout_Horizontal  (0) 2010.04.26
Views_Layout_BaseLine  (0) 2010.04.26
Views_Layout Animation_Nested Animation  (0) 2010.04.26
Views_Layout Animation_Wave Scale  (0) 2010.04.26
Posted by jazzlife
,

Views_Layout_BaseLine

old/API_Demo 2010. 4. 26. 10:55

[기본 Form]
 

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="horizontal"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginRight="3dip"
        android:text="@string/baseline_2_label" />

    <Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginRight="3dip"
        android:text="@string/baseline_2_button" />

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textSize="20sp"
        android:text="@string/baseline_2_bigger" />

</LinearLayout>



[baseline_1.xml] - Top


[baseline_2.xml] - Bottom

attr 추가 -> android:layout_gravity="bottom"


[baseline_3.xml] - Center

attr 추가 -> android:layout_gravity="center_vertical"


[baseline_4.xml] - Everywhere

Randomize


[baseline_6.xml] - Multi-Line

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">

    <EditText android:id="@+id/anchor"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:textSize="20sp"
        android:text="@string/baseline_6_multi_line" />

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignBaseline="@id/anchor"
        android:layout_alignRight="@id/anchor"
        android:text="@string/baseline_6_baseline" />

</RelativeLayout>

-[strings.xml]

  <string name="baseline_6_multi_line">This is a\nmulti-line field.</string>
   <string name="baseline_6_baseline">Baseline Aligned</string>


[baseline_6.xml] - Relative

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">

    <TextView android:id="@+id/anchor"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        android:layout_alignParentLeft="true"

        android:textStyle="bold"
        android:text="@string/baseline_7_fat" />

    <TextView
        android:layout_width="wrap_content"
         android:layout_alignParentRight="true"
        android:layout_alignBaseline="@id/anchor"
        android:layout_height="wrap_content"
        android:text="@string/baseline_7_lean" />
   
</RelativeLayout>


[baseline_7.xml] - Nested Example1

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="horizontal"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginRight="3dip"
        android:layout_gravity="center_vertical"
        android:text="@string/baseline_nested_1_label" />

    <LinearLayout
            android:orientation="vertical"
            android:baselineAlignedChildIndex="1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_vertical">
        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@drawable/arrow_up_float"/>
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginRight="5dip"
            android:text="@string/baseline_nested_1_label" />
        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@drawable/arrow_down_float"/>
    </LinearLayout>

    <LinearLayout
            android:orientation="vertical"
            android:baselineAlignedChildIndex="2"
            android:layout_width="wrap_content"
            android:layout_gravity="center_vertical"
            android:layout_height="wrap_content">
        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@drawable/arrow_up_float"/>
        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@drawable/arrow_up_float"/>
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginRight="5dip"
            android:text="@string/baseline_nested_1_label" />
    </LinearLayout>


    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textSize="20sp"
        android:layout_gravity="center_vertical"
        android:text="@string/baseline_nested_1_label" />


</LinearLayout>



[baseline_8.xml] - Nested Example2

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="horizontal"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginRight="3dip"
        android:layout_gravity="center_vertical"
        android:text="@string/baseline_nested_1_label" />

    <LinearLayout
            android:orientation="vertical"
            android:baselineAlignedChildIndex="1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_vertical">
        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@drawable/arrow_up_float"/>
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginRight="5dip"
            android:text="@string/baseline_nested_1_label" />
        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@drawable/arrow_down_float"/>
    </LinearLayout>

    <LinearLayout
            android:orientation="horizontal"
            android:baselineAlignedChildIndex="2"
            android:layout_width="wrap_content"
            android:layout_gravity="center_vertical"
            android:layout_height="wrap_content">
        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@drawable/arrow_up_float"/>
        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@drawable/arrow_up_float"/>
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginRight="5dip"
            android:text="@string/baseline_nested_1_label" />
    </LinearLayout>


    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textSize="20sp"
        android:layout_gravity="center_vertical"
        android:text="@string/baseline_nested_1_label" />


</LinearLayout>


[baseline_1.xml] - Nested Example3

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="horizontal"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginRight="3dip"
        android:layout_gravity="center_vertical"
        android:text="@string/baseline_nested_1_label" />

    <LinearLayout
            android:orientation="vertical"
            android:baselineAlignedChildIndex="1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_vertical">
        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@drawable/arrow_up_float"/>
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginRight="5dip"
            android:text="@string/baseline_nested_1_label" />
        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@drawable/arrow_down_float"/>
    </LinearLayout>

    <LinearLayout
                android:orientation="vertical"
             android:baselineAlignedChildIndex="1"

                android:layout_width="wrap_content"
                android:layout_gravity="center_vertical"
                android:layout_height="wrap_content">
        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:src="@drawable/arrow_up_float"/>
        <LinearLayout
                android:orientation="vertical"
                android:baselineAlignedChildIndex="2"
                android:layout_width="wrap_content"
                android:layout_gravity="center_vertical"
                android:layout_height="wrap_content">
            <ImageView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:src="@drawable/arrow_up_float"/>
            <ImageView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:src="@drawable/arrow_up_float"/>
            <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginRight="5dip"
                    android:text="@string/baseline_nested_1_label"/>
        </LinearLayout>
    </LinearLayout>

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textSize="20sp"
        android:layout_gravity="center_vertical"
        android:text="@string/baseline_nested_1_label" />


</LinearLayout>

'old > API_Demo' 카테고리의 다른 글

Views_Layout_Linear Layout_Horizontal  (0) 2010.04.26
Views_Layout_Linear Layout_Vertical  (0) 2010.04.26
Views_Layout Animation_Nested Animation  (0) 2010.04.26
Views_Layout Animation_Wave Scale  (0) 2010.04.26
Views_Layout Animation_Grid Direction  (0) 2010.04.26
Posted by jazzlife
,