🔒 Closed JAVA

Status
Not open for further replies.

Captain

Elite
baka may java project kayo na pwedeng hiramin na may UI, di ko po kukunin as is, eedit ko rin po for our activity lang hehehe
TIA!
 
Simpleng layout lang?? Hello world lang hahaha

Xml :


<LinearLayout xmlns:android="You do not have permission to view the full content of this post. Log in or register now."
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center">

<TextView
android:text="String/hello_world"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

</LinearLayout>



Java :

package com.mycompany.myapp0;

import android.app.*;
import android.os.*;

public class MainActivity extends Activity
{
Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
}
 
Status
Not open for further replies.

About this Thread

  • 9
    Replies
  • 527
    Views
  • 4
    Participants
Last reply from:
rwydei

Trending Topics

Online now

Members online
1,098
Guests online
6,315
Total visitors
7,413

Forum statistics

Threads
2,354,277
Posts
29,383,027
Members
1,079,397
Latest member
tobzlim3
Back
Top