• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

packages/apps/FileManager


Commit MetaInfo

Révision1bfa087daded95e2186d340199b287a359e681bb (tree)
l'heure2011-06-08 13:31:33
AuteurJoe Berria <nexesdevelopment@gmai...>
CommiterJoe Berria

Message de Log

updated the look of multiselect and how it is displayed to the user

Change Summary

Modification

Binary files /dev/null and b/res/drawable-hdpi/listgradback.png differ
--- a/res/layout/dir_list_layout.xml
+++ b/res/layout/dir_list_layout.xml
@@ -24,7 +24,7 @@
2424 android:paddingLeft="8dp"
2525 android:paddingTop="8dp"
2626 android:paddingBottom="8dp"
27- android:background="@color/gray">
27+ android:background="#00000000">
2828
2929 <ImageView
3030 android:id="@+id/list_icon"
--- a/res/layout/grid_content_layout.xml
+++ b/res/layout/grid_content_layout.xml
@@ -37,6 +37,4 @@
3737 android:maxLines="2"
3838 android:textColor="@color/white"
3939 android:textAppearance="?android:attr/textAppearanceMedium"/>
40-
41-
42-</LinearLayout>
\ No newline at end of file
40+</LinearLayout>
--- a/res/layout/main_layout.xml
+++ b/res/layout/main_layout.xml
@@ -33,23 +33,11 @@
3333 android:layout_height="match_parent">
3434 </LinearLayout>
3535 </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-
4936 <ListView
5037 android:id="@+id/list_listview"
5138 android:layout_width="match_parent"
5239 android:layout_height="match_parent"
40+ android:layout_weight="1"
5341 android:drawSelectorOnTop="true"
5442 android:visibility="gone">
5543 </ListView>
@@ -57,6 +45,7 @@
5745 android:id="@+id/grid_gridview"
5846 android:layout_width="match_parent"
5947 android:layout_height="match_parent"
48+ android:layout_weight="1"
6049 android:verticalSpacing="30dp"
6150 android:horizontalSpacing="30dp"
6251 android:columnWidth="120dp"
@@ -64,4 +53,16 @@
6453 android:stretchMode="columnWidth"
6554 android:gravity="center"
6655 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>
6768 </LinearLayout>
--- /dev/null
+++ b/res/layout/multiselect_layout.xml
@@ -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>