Difference between revisions of "Android App"

From Sinfronteras
Jump to: navigation, search
Line 3: Line 3:
  
  
===How to add Maps===
+
===XML syntax===
lsdfldfl
+
 
 +
 
  
  
 
<syntaxhighlight lang="java">
 
<syntaxhighlight lang="java">
public void method(int ald){
+
< TextView                                          //open tag
 +
android:text=“Happy Valentine’s Day”                // attributes
 +
android:background=“@android:color/darker_gray”    // attributes
 +
Android:layout_width=“150dp”                        // attributes
 +
Android:layout_height=“75dp”/>                      // attributes and close tag
  
}
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
  
 
[[File:Dog.jpg|950px|thumb|center|]]
 
[[File:Dog.jpg|950px|thumb|center|]]

Revision as of 22:51, 5 August 2019

Adroid Programming

lalfldfl fdldfldfd


XML syntax

< TextView                                          //open tag
android:text=Happy Valentines Day                // attributes
android:background=@android:color/darker_gray     // attributes
Android:layout_width=150dp                        // attributes
Android:layout_height=75dp/>                      // attributes and close tag


Dog.jpg