tuxmartin

Android - Saving Key-Value Sets

Aug 20th, 2013
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.78 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:tools="http://schemas.android.com/tools"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent"
  6.    android:orientation="vertical">
  7.  
  8.     <EditText
  9.        android:id="@+id/edit_token"
  10.        android:layout_width="match_parent"
  11.        android:layout_height="wrap_content"
  12.        android:hint="@string/edit_token"
  13.        android:ems="10" >
  14.         <requestFocus />
  15.     </EditText>
  16.  
  17.     <Button
  18.        android:id="@+id/button1"
  19.        android:layout_width="match_parent"
  20.        android:layout_height="wrap_content"
  21.        android:onClick="ulozToken"
  22.        android:text="@string/button_save_token" />
  23.  
  24. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment