packages/apps/FileManager
Révision | 1bfa087daded95e2186d340199b287a359e681bb (tree) |
---|---|
l'heure | 2011-06-08 13:31:33 |
Auteur | Joe Berria <nexesdevelopment@gmai...> |
Commiter | Joe Berria |
updated the look of multiselect and how it is displayed to the user
@@ -24,7 +24,7 @@ | ||
24 | 24 | android:paddingLeft="8dp" |
25 | 25 | android:paddingTop="8dp" |
26 | 26 | android:paddingBottom="8dp" |
27 | - android:background="@color/gray"> | |
27 | + android:background="#00000000"> | |
28 | 28 | |
29 | 29 | <ImageView |
30 | 30 | android:id="@+id/list_icon" |
@@ -37,6 +37,4 @@ | ||
37 | 37 | android:maxLines="2" |
38 | 38 | android:textColor="@color/white" |
39 | 39 | android:textAppearance="?android:attr/textAppearanceMedium"/> |
40 | - | |
41 | - | |
42 | -</LinearLayout> | |
\ No newline at end of file | ||
40 | +</LinearLayout> |
@@ -33,23 +33,11 @@ | ||
33 | 33 | android:layout_height="match_parent"> |
34 | 34 | </LinearLayout> |
35 | 35 | </HorizontalScrollView> |
36 | - <HorizontalScrollView | |
37 | - android:layout_width="match_parent" | |
38 | - android:layout_height="wrap_content" | |
39 | - android:background="@color/whitegray" | |
40 | - android:scrollbars="none"> | |
41 | - <LinearLayout | |
42 | - android:id="@+id/multiselect_path" | |
43 | - android:orientation="horizontal" | |
44 | - android:layout_width="match_parent" | |
45 | - android:layout_height="match_parent"> | |
46 | - </LinearLayout> | |
47 | - </HorizontalScrollView> | |
48 | - | |
49 | 36 | <ListView |
50 | 37 | android:id="@+id/list_listview" |
51 | 38 | android:layout_width="match_parent" |
52 | 39 | android:layout_height="match_parent" |
40 | + android:layout_weight="1" | |
53 | 41 | android:drawSelectorOnTop="true" |
54 | 42 | android:visibility="gone"> |
55 | 43 | </ListView> |
@@ -57,6 +45,7 @@ | ||
57 | 45 | android:id="@+id/grid_gridview" |
58 | 46 | android:layout_width="match_parent" |
59 | 47 | android:layout_height="match_parent" |
48 | + android:layout_weight="1" | |
60 | 49 | android:verticalSpacing="30dp" |
61 | 50 | android:horizontalSpacing="30dp" |
62 | 51 | android:columnWidth="120dp" |
@@ -64,4 +53,16 @@ | ||
64 | 53 | android:stretchMode="columnWidth" |
65 | 54 | android:gravity="center" |
66 | 55 | android:visibility="gone"/> |
56 | + <HorizontalScrollView | |
57 | + android:layout_width="match_parent" | |
58 | + android:layout_height="wrap_content" | |
59 | + android:background="@color/whitegray" | |
60 | + android:scrollbars="none"> | |
61 | + <LinearLayout | |
62 | + android:id="@+id/multiselect_path" | |
63 | + android:orientation="horizontal" | |
64 | + android:layout_width="match_parent" | |
65 | + android:layout_height="match_parent"> | |
66 | + </LinearLayout> | |
67 | + </HorizontalScrollView> | |
67 | 68 | </LinearLayout> |
@@ -0,0 +1,41 @@ | ||
1 | +<?xml version="1.0" encoding="utf-8" ?> | |
2 | +<!-- | |
3 | + Open Manager for Tablets, an open source file manager for the Android system | |
4 | + Copyright (C) 2011 Joe Berria <nexesdevelopment@gmail.com> | |
5 | + | |
6 | + This program is free software: you can redistribute it and/or modify | |
7 | + it under the terms of the GNU General Public License as published by | |
8 | + the Free Software Foundation, either version 3 of the License, or | |
9 | + (at your option) any later version. | |
10 | + | |
11 | + This program is distributed in the hope that it will be useful, | |
12 | + but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | + GNU General Public License for more details. | |
15 | + | |
16 | + You should have received a copy of the GNU General Public License | |
17 | + along with this program. If not, see <http://www.gnu.org/licenses/>. | |
18 | + --> | |
19 | + | |
20 | +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
21 | + android:orientation="vertical" | |
22 | + android:layout_width="match_parent" | |
23 | + android:layout_height="match_parent" | |
24 | + android:gravity="center_horizontal"> | |
25 | + | |
26 | + <ImageView | |
27 | + android:id="@+id/multi_icon" | |
28 | + android:scaleX="0.75" | |
29 | + android:scaleY="0.75" | |
30 | + android:layout_height="wrap_content" | |
31 | + android:layout_width="wrap_content"/> | |
32 | + <TextView | |
33 | + android:id="@+id/multi_text" | |
34 | + android:layout_width="wrap_content" | |
35 | + android:layout_height="wrap_content" | |
36 | + android:paddingLeft="4dip" | |
37 | + android:paddingRight="4dip" | |
38 | + android:minLines="2" | |
39 | + android:textColor="@color/white" | |
40 | + android:textAppearance="?android:attr/textAppearanceSmall"/> | |
41 | +</LinearLayout> |