File tree Expand file tree Collapse file tree 10 files changed +137
-54
lines changed
simplefileexplorer/src/main/res Expand file tree Collapse file tree 10 files changed +137
-54
lines changed Original file line number Diff line number Diff line change 15
15
android : layout_weight =" 0.1" >
16
16
</FrameLayout >
17
17
18
- <Button
19
- android : id =" @+id/btn_select"
18
+ <LinearLayout
20
19
android : layout_width =" match_parent"
21
20
android : layout_height =" wrap_content"
22
- style =" @style/Widget.AppCompat.Button.Borderless"
23
- android : layout_gravity =" center"
24
- android : text =" SELECT"
25
- android : enabled =" false"
26
- android : textSize =" 16sp" />
21
+ android : gravity =" center" >
22
+
23
+ <ImageView
24
+ android : id =" @+id/iv_file_type"
25
+ android : layout_width =" 26dp"
26
+ android : layout_height =" 28dp"
27
+ android : src =" @drawable/ic_folder"
28
+ android : layout_gravity =" center" />
29
+ <Button
30
+ android : id =" @+id/btn_select"
31
+ android : layout_width =" wrap_content"
32
+ android : layout_height =" wrap_content"
33
+ style =" @style/Widget.AppCompat.Button.Borderless"
34
+ android : layout_gravity =" center"
35
+ android : text =" SELECT"
36
+ android : textSize =" 16sp" />
37
+ </LinearLayout >
27
38
</LinearLayout >
Original file line number Diff line number Diff line change 9
9
10
10
<ImageView
11
11
android : id =" @+id/iv_file"
12
- android : layout_width =" 27dp "
13
- android : layout_height =" 30dp "
12
+ android : layout_width =" 26dp "
13
+ android : layout_height =" 28dp "
14
14
android : layout_marginStart =" 8dp"
15
15
android : layout_marginLeft =" 8dp"
16
16
android : layout_marginTop =" 8dp"
Original file line number Diff line number Diff line change 15
15
android : layout_weight =" 0.1" >
16
16
</FrameLayout >
17
17
18
- <Button
19
- android : id =" @+id/btn_select"
18
+ <LinearLayout
20
19
android : layout_width =" match_parent"
21
20
android : layout_height =" wrap_content"
22
- style =" @style/Widget.AppCompat.Button.Borderless"
23
- android : layout_gravity =" center"
24
- android : text =" SELECT"
25
- android : enabled =" false"
26
- android : textSize =" 16sp" />
21
+ android : gravity =" center" >
22
+
23
+ <ImageView
24
+ android : id =" @+id/iv_file_type"
25
+ android : layout_width =" 26dp"
26
+ android : layout_height =" 28dp"
27
+ android : src =" @drawable/ic_folder"
28
+ android : layout_gravity =" center" />
29
+ <Button
30
+ android : id =" @+id/btn_select"
31
+ android : layout_width =" wrap_content"
32
+ android : layout_height =" wrap_content"
33
+ style =" @style/Widget.AppCompat.Button.Borderless"
34
+ android : layout_gravity =" center"
35
+ android : text =" SELECT"
36
+ android : textSize =" 16sp" />
37
+ </LinearLayout >
38
+
39
+
27
40
</LinearLayout >
Original file line number Diff line number Diff line change 9
9
10
10
<ImageView
11
11
android : id =" @+id/iv_file"
12
- android : layout_width =" 27dp "
13
- android : layout_height =" 30dp "
12
+ android : layout_width =" 26dp "
13
+ android : layout_height =" 28dp "
14
14
android : layout_marginStart =" 8dp"
15
15
android : layout_marginLeft =" 8dp"
16
16
android : layout_marginTop =" 8dp"
Original file line number Diff line number Diff line change 15
15
android : layout_weight =" 0.1" >
16
16
</FrameLayout >
17
17
18
- <Button
19
- android : id =" @+id/btn_select"
18
+ <LinearLayout
20
19
android : layout_width =" match_parent"
21
20
android : layout_height =" wrap_content"
22
- style =" @style/Widget.AppCompat.Button.Borderless"
23
- android : layout_gravity =" center"
24
- android : text =" SELECT"
25
- android : enabled =" false"
26
- android : textSize =" 16sp" />
21
+ android : gravity =" center" >
22
+
23
+ <ImageView
24
+ android : id =" @+id/iv_file_type"
25
+ android : layout_width =" 28dp"
26
+ android : layout_height =" 30dp"
27
+ android : src =" @drawable/ic_folder"
28
+ android : layout_gravity =" center" />
29
+ <Button
30
+ android : id =" @+id/btn_select"
31
+ android : layout_width =" wrap_content"
32
+ android : layout_height =" wrap_content"
33
+ style =" @style/Widget.AppCompat.Button.Borderless"
34
+ android : layout_gravity =" center"
35
+ android : text =" SELECT"
36
+ android : textSize =" 16sp"
37
+ android : background =" @null" />
38
+ </LinearLayout >
39
+
27
40
</LinearLayout >
Original file line number Diff line number Diff line change 9
9
10
10
<ImageView
11
11
android : id =" @+id/iv_file"
12
- android : layout_width =" 27dp "
12
+ android : layout_width =" 28dp "
13
13
android : layout_height =" 30dp"
14
14
android : layout_marginStart =" 8dp"
15
15
android : layout_marginLeft =" 8dp"
Original file line number Diff line number Diff line change 15
15
android : layout_weight =" 0.1" >
16
16
</FrameLayout >
17
17
18
- <Button
19
- android : id =" @+id/btn_select"
18
+ <LinearLayout
20
19
android : layout_width =" match_parent"
21
20
android : layout_height =" wrap_content"
22
- style =" @style/Widget.AppCompat.Button.Borderless"
23
- android : layout_gravity =" center"
24
- android : text =" SELECT"
25
- android : enabled =" false"
26
- android : textSize =" 18sp" />
21
+ android : gravity =" center" >
22
+
23
+ <ImageView
24
+ android : id =" @+id/iv_file_type"
25
+ android : layout_width =" 28dp"
26
+ android : layout_height =" 30dp"
27
+ android : src =" @drawable/ic_folder"
28
+ android : layout_gravity =" center" />
29
+ <Button
30
+ android : id =" @+id/btn_select"
31
+ android : layout_width =" wrap_content"
32
+ android : layout_height =" wrap_content"
33
+ style =" @style/Widget.AppCompat.Button.Borderless"
34
+ android : layout_gravity =" center"
35
+ android : text =" SELECT"
36
+ android : textSize =" 18sp" />
37
+ </LinearLayout >
38
+
39
+
27
40
</LinearLayout >
Original file line number Diff line number Diff line change 15
15
android : layout_weight =" 0.1" >
16
16
</FrameLayout >
17
17
18
- <Button
19
- android : id =" @+id/btn_select"
18
+ <LinearLayout
20
19
android : layout_width =" match_parent"
21
20
android : layout_height =" wrap_content"
22
- style =" @style/Widget.AppCompat.Button.Borderless"
23
- android : layout_gravity =" center"
24
- android : text =" SELECT"
25
- android : enabled =" false"
26
- android : textSize =" 20sp" />
21
+ android : gravity =" center" >
22
+
23
+ <ImageView
24
+ android : id =" @+id/iv_file_type"
25
+ android : layout_width =" 32dp"
26
+ android : layout_height =" 32dp"
27
+ android : src =" @drawable/ic_folder"
28
+ android : layout_gravity =" center" />
29
+ <Button
30
+ android : id =" @+id/btn_select"
31
+ android : layout_width =" wrap_content"
32
+ android : layout_height =" wrap_content"
33
+ style =" @style/Widget.AppCompat.Button.Borderless"
34
+ android : layout_gravity =" center"
35
+ android : text =" SELECT"
36
+ android : textSize =" 20sp" />
37
+ </LinearLayout >
27
38
</LinearLayout >
Original file line number Diff line number Diff line change 15
15
android : layout_weight =" 0.1" >
16
16
</FrameLayout >
17
17
18
- <Button
19
- android : id =" @+id/btn_select"
18
+ <LinearLayout
20
19
android : layout_width =" match_parent"
21
20
android : layout_height =" wrap_content"
22
- style =" @style/Widget.AppCompat.Button.Borderless"
23
- android : layout_gravity =" center"
24
- android : text =" SELECT"
25
- android : enabled =" false"
26
- android : textSize =" 26sp" />
21
+ android : gravity =" center" >
22
+
23
+ <ImageView
24
+ android : id =" @+id/iv_file_type"
25
+ android : layout_width =" 38dp"
26
+ android : layout_height =" 38dp"
27
+ android : src =" @drawable/ic_folder"
28
+ android : layout_gravity =" center" />
29
+ <Button
30
+ android : id =" @+id/btn_select"
31
+ android : layout_width =" wrap_content"
32
+ android : layout_height =" wrap_content"
33
+ style =" @style/Widget.AppCompat.Button.Borderless"
34
+ android : layout_gravity =" center"
35
+ android : text =" SELECT"
36
+ android : textSize =" 26sp" />
37
+ </LinearLayout >
27
38
</LinearLayout >
Original file line number Diff line number Diff line change 15
15
android : layout_weight =" 0.1" >
16
16
</FrameLayout >
17
17
18
- <Button
19
- android : id =" @+id/btn_select"
18
+ <LinearLayout
20
19
android : layout_width =" match_parent"
21
20
android : layout_height =" wrap_content"
22
- style =" @style/Widget.AppCompat.Button.Borderless"
23
- android : layout_gravity =" center"
24
- android : text =" SELECT"
25
- android : enabled =" false"
26
- android : textSize =" 16sp" />
21
+ android : gravity =" center" >
22
+
23
+ <ImageView
24
+ android : id =" @+id/iv_file_type"
25
+ android : layout_width =" 28dp"
26
+ android : layout_height =" 30dp"
27
+ android : src =" @drawable/ic_folder"
28
+ android : layout_gravity =" center" />
29
+ <Button
30
+ android : id =" @+id/btn_select"
31
+ android : layout_width =" wrap_content"
32
+ android : layout_height =" wrap_content"
33
+ style =" @style/Widget.AppCompat.Button.Borderless"
34
+ android : layout_gravity =" center"
35
+ android : text =" SELECT"
36
+ android : textSize =" 16sp" />
37
+ </LinearLayout >
27
38
</LinearLayout >
You can’t perform that action at this time.
0 commit comments