11<?xml version =" 1.0" encoding =" utf-8" ?>
22<RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3- android : layout_width =" fill_parent"
4- android : layout_height =" fill_parent"
5- android : orientation =" vertical"
6- android : padding =" 8dp" >
3+ android : layout_width =" fill_parent"
4+ android : layout_height =" fill_parent"
5+ android : orientation =" vertical"
6+ android : padding =" 8dp" >
77
88 <ToggleButton
9- android : id =" @+id/hijackToggleButton"
10- android : layout_width =" wrap_content"
11- android : layout_height =" wrap_content"
12- android : text = " @string/toggle_button "
13- android : textOff = " Start "
14- android : textOn = " Stop "
15- android : paddingLeft = " 24dp "
16- android : paddingRight = " 24dp "
17- android : textAllCaps = " true "
18- android : fontFamily = " sans-serif-condensed " />
9+ android : id =" @+id/hijackToggleButton"
10+ android : layout_width =" wrap_content"
11+ android : layout_height =" wrap_content"
12+ android : fontFamily = " sans-serif-condensed "
13+ android : paddingLeft = " 24dp "
14+ android : paddingRight = " 24dp "
15+ android : text = " @string/toggle_button "
16+ android : textAllCaps = " true "
17+ android : textOff = " Start "
18+ android : textOn = " Stop " />
1919
2020 <ProgressBar
21- android : id =" @+id/hijackActivity"
22- android : layout_width =" wrap_content"
23- android : layout_height =" wrap_content"
24- android : layout_alignParentRight =" true"
25- android : layout_alignTop =" @+id/hijackToggleButton"
26- android : visibility =" invisible" />
21+ android : id =" @+id/hijackActivity"
22+ android : layout_width =" wrap_content"
23+ android : layout_height =" wrap_content"
24+ android : layout_alignParentRight =" true"
25+ android : layout_alignTop =" @+id/hijackToggleButton"
26+ android : visibility =" invisible" />
2727
2828 <View
29- android : id =" @+id/separator"
30- android : layout_width =" fill_parent"
31- android : layout_height =" 1dp"
32- android : layout_marginTop = " 8dp "
33- android : layout_marginBottom =" 8dp"
34- android : layout_below = " @+id/hijackToggleButton "
35- android : background =" @android:color/darker_gray" />
29+ android : id =" @+id/separator"
30+ android : layout_width =" fill_parent"
31+ android : layout_height =" 1dp"
32+ android : layout_below = " @+id/hijackToggleButton "
33+ android : layout_marginBottom =" 8dp"
34+ android : layout_marginTop = " 8dp "
35+ android : background =" @android:color/darker_gray" />
3636
3737 <TextView
38- android : id =" @+id/textView"
39- android : layout_width =" wrap_content"
40- android : layout_height =" wrap_content"
41- android : layout_alignLeft =" @+id/separator"
42- android : layout_alignRight =" @+id/separator"
43- android : layout_below =" @+id/separator"
44- android : padding = " 8dp "
45- android : gravity = " center_horizontal "
46- android : text =" @string/start_hijack"
47- android : textAppearance =" ?android:attr/textAppearanceSmall"
48- android : textColor =" @color/gray_text" />
38+ android : id =" @+id/textView"
39+ android : layout_width =" wrap_content"
40+ android : layout_height =" wrap_content"
41+ android : layout_alignLeft =" @+id/separator"
42+ android : layout_alignRight =" @+id/separator"
43+ android : layout_below =" @+id/separator"
44+ android : gravity = " center_horizontal "
45+ android : padding = " 8dp "
46+ android : text =" @string/start_hijack"
47+ android : textAppearance =" ?android:attr/textAppearanceSmall"
48+ android : textColor =" @color/gray_text" />
4949
5050 <ListView
51- android : id =" @+id/listView"
52- android : layout_width =" match_parent"
53- android : layout_height =" wrap_content"
54- android : layout_alignParentBottom =" true"
55- android : layout_alignRight =" @+id/textView"
56- android : layout_below =" @+id/textView"
57- android : indicatorLeft =" ?android:attr/expandableListPreferredItemIndicatorLeft"
58- android : paddingLeft =" 8dp"
59- android : paddingRight =" 8dp" />
51+ android : id =" @+id/listView"
52+ android : layout_width =" match_parent"
53+ android : layout_height =" wrap_content"
54+ android : layout_alignParentBottom =" true"
55+ android : layout_alignRight =" @+id/textView"
56+ android : layout_below =" @+id/textView"
57+ android : animateLayoutChanges =" true"
58+ android : indicatorLeft =" ?android:attr/expandableListPreferredItemIndicatorLeft"
59+ android : paddingLeft =" 8dp"
60+ android : paddingRight =" 8dp" />
6061
6162</RelativeLayout >
0 commit comments