File tree Expand file tree Collapse file tree 4 files changed +6
-23
lines changed
java/com/loopj/android/http/sample Expand file tree Collapse file tree 4 files changed +6
-23
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11
11
import android .widget .Toast ;
12
12
13
13
import com .loopj .android .http .AsyncHttpClient ;
14
- import com .loopj .android .http .AsyncHttpResponseHandler ;
15
14
import com .loopj .android .http .TextHttpResponseHandler ;
16
15
17
16
import org .apache .http .Header ;
Original file line number Diff line number Diff line change 25
25
android : layout_weight =" 1"
26
26
android : inputType =" textUri"
27
27
android : saveEnabled =" true"
28
- android : text =" https://raw.github.com/loopj/android-async-http/master/README.md " />
28
+ android : text =" @string/default_url " />
29
29
30
30
<Button
31
31
android : id =" @+id/request_get"
32
32
android : layout_width =" wrap_content"
33
33
android : layout_height =" wrap_content"
34
- android : text =" GET " />
34
+ android : text =" @string/action_get " />
35
35
36
36
</LinearLayout >
37
37
41
41
android : layout_height =" wrap_content"
42
42
android : background =" #33000000"
43
43
android : padding =" 5dip"
44
- android : text =" Not Yet Started " />
44
+ android : text =" @string/status_n_a " />
45
45
46
46
<TextView
47
47
android : id =" @+id/return_code"
Original file line number Diff line number Diff line change 3
3
4
4
<string name =" app_name" >Android Async Http Sample</string >
5
5
<string name =" action_settings" >Settings</string >
6
- <string name =" hello_world" >Hello world!</string >
6
+ <string name =" default_url" >https://raw.github.com/loopj/android-async-http/master/README.md</string >
7
+ <string name =" action_get" >GET</string >
8
+ <string name =" status_n_a" >Not Yet Started</string >
7
9
8
10
</resources >
You can’t perform that action at this time.
0 commit comments