-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ghy
committed
Sep 1, 2011
1 parent
5aaade3
commit dd65af3
Showing
9 changed files
with
33 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<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/lv" android:layout_width="fill_parent" | ||
android:layout_height="fill_parent"> | ||
</ListView> | ||
android:layout_height="wrap_content"> | ||
<Button android:layout_height="wrap_content" android:text="@string/backup" | ||
android:id="@+id/btnBackup" android:maxWidth="200sp" android:layout_width="fill_parent"></Button> | ||
<Button android:text="@string/restore" android:id="@+id/btnRestore" | ||
android:layout_height="fill_parent" android:layout_width="fill_parent"></Button> | ||
</LinearLayout> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="hello">Hello World, MainActivity!</string> | ||
<string name="app_name">使用系统ContentProvider</string> | ||
<string name="app_name">备份还原</string> | ||
<string name="backup">备份</string> | ||
<string name="restore">还原</string> | ||
</resources> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package cn.youmay; | ||
|
||
|
||
|
||
import android.app.Activity; | ||
import android.os.Bundle; | ||
import android.widget.Button; | ||
|
||
public class MainActivity extends Activity{ | ||
private Button btnBackup; | ||
private Button btnRestore; | ||
|
||
|
||
@Override | ||
public void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
btnBackup=(Button)findViewById(R.id.btnBackup); | ||
btnRestore=(Button)findViewById(R.id.btnRestore); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.