1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3+ xmlns : app =" http://schemas.android.com/apk/res-auto"
4+ android : id =" @+id/fragment_record"
5+ android : orientation =" vertical"
6+ android : layout_width =" fill_parent"
7+ android : layout_height =" fill_parent" >
8+
9+ <android .support.design.widget.FloatingActionButton
10+ android : id =" @+id/btnRecord"
11+ android : layout_width =" wrap_content"
12+ android : layout_height =" wrap_content"
13+ android : layout_marginBottom =" 10dp"
14+ android : layout_alignParentBottom =" true"
15+ android : layout_centerHorizontal =" true" />
16+
17+ <Chronometer
18+ android : layout_width =" wrap_content"
19+ android : layout_height =" wrap_content"
20+ android : id =" @+id/chronometer"
21+ android : textSize =" 60sp"
22+ android : fontFamily =" sans-serif-light"
23+ android : layout_alignBottom =" @+id/recordProgressBar"
24+ android : layout_centerHorizontal =" true"
25+ android : layout_marginBottom =" 64dp"
26+ android : visibility =" visible" />
27+
28+ <ProgressBar
29+ style =" ?android:attr/progressBarStyleHorizontal"
30+ android : id =" @+id/recordProgressBar"
31+ android : layout_width =" 200dp"
32+ android : layout_height =" 200dp"
33+ android : progressDrawable =" @drawable/record_progress_bar"
34+ android : background =" @drawable/record_progress_bar_background"
35+ android : indeterminate =" false"
36+ android : max =" 100"
37+ android : progress =" 0"
38+ android : layout_marginTop =" 27dp"
39+ android : layout_alignParentTop =" true"
40+ android : layout_centerHorizontal =" true" />
41+
42+ <Button
43+ android : layout_width =" wrap_content"
44+ android : layout_height =" wrap_content"
45+ android : id =" @+id/btnPause"
46+ android : drawableLeft =" @drawable/ic_pause"
47+ android : text =" @string/pause"
48+ android : textAllCaps =" true"
49+ android : fontFamily =" sans-serif-condensed"
50+ android : layout_alignParentLeft =" true"
51+ android : layout_alignParentStart =" true"
52+ android : layout_alignParentBottom =" true"
53+ android : layout_marginBottom =" 10dp"
54+ android : layout_marginLeft =" 10dp"
55+ android : layout_marginStart =" 10dp" />
56+
57+ <TextView
58+ android : layout_width =" wrap_content"
59+ android : layout_height =" wrap_content"
60+ android : id =" @+id/recording_status_text"
61+ android : text =" @string/record_dialog"
62+ android : textStyle =" bold"
63+ android : textSize =" 17sp"
64+ android : textColor =" #000000"
65+ android : fontFamily =" sans-serif-condensed"
66+ android : layout_above =" @+id/btnRecord"
67+ android : layout_centerHorizontal =" true"
68+ android : layout_marginBottom =" 60dp" />
69+
70+ </RelativeLayout >
0 commit comments