diff options
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/gears_dialog_filepicker.xml | 61 | ||||
-rw-r--r-- | res/layout/gears_dialog_filepicker_cell.xml | 44 | ||||
-rw-r--r-- | res/layout/gears_dialog_shortcut.xml | 103 |
3 files changed, 208 insertions, 0 deletions
diff --git a/res/layout/gears_dialog_filepicker.xml b/res/layout/gears_dialog_filepicker.xml new file mode 100644 index 0000000..68268f1 --- /dev/null +++ b/res/layout/gears_dialog_filepicker.xml @@ -0,0 +1,61 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* + * Copyright 2008, The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +--> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + + <LinearLayout + android:orientation="horizontal" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + + <TextView + android:id="@+id/path_name" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="13dip" + android:textColor="@color/dark_gray"/> + + <TextView + android:id="@+id/current_path" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="13dip" + android:textColor="@color/white"/> + + </LinearLayout> + + <LinearLayout + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + + <GridView android:id="@+id/files_list" + android:padding="4px" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:horizontalSpacing="2px" + android:verticalSpacing="2px" + android:numColumns="3" /> + + </LinearLayout> + +</LinearLayout> diff --git a/res/layout/gears_dialog_filepicker_cell.xml b/res/layout/gears_dialog_filepicker_cell.xml new file mode 100644 index 0000000..369fc6a --- /dev/null +++ b/res/layout/gears_dialog_filepicker_cell.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* + * Copyright 2008, The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +--> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:gravity="center_horizontal" + android:padding="4px" > + + <ImageView + android:id="@+id/icon" + android:scaleType="fitCenter" + android:layout_width="64px" + android:layout_height="64px" /> + + <TextView + android:id="@+id/name" + android:textColor="@color/white" + android:textSize="13dip" + android:shadowColor="@color/black" + android:shadowRadius="2.0" + android:singleLine="true" + android:ellipsize="middle" + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> + +</LinearLayout> diff --git a/res/layout/gears_dialog_shortcut.xml b/res/layout/gears_dialog_shortcut.xml new file mode 100644 index 0000000..28f93d0 --- /dev/null +++ b/res/layout/gears_dialog_shortcut.xml @@ -0,0 +1,103 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* + * Copyright 2008, The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +--> + +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingBottom="10dip"> + + <LinearLayout + android:orientation="vertical" + android:paddingLeft="10dip" + android:paddingRight="10dip" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:padding="4dip" + android:orientation="vertical"> + + <TextView + android:id="@+id/origin_subtitle" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:visibility="gone" + android:textStyle="bold" + android:gravity="left" + android:textSize="16dip" + android:textColor="@color/white"/> + + </LinearLayout> + + <TextView + android:id="@+id/privacy_policy_label" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingTop="10dip" + android:gravity="center_horizontal" + android:textSize="13dip" + android:textStyle="italic" + android:textColor="@color/white" + android:visibility="gone" + android:text="@string/privacy_policy" /> + + <TextView + android:id="@+id/permission_dialog_message" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingTop="10dip" + android:gravity="left" + android:textSize="16dip" + android:textColor="@color/white"/> + + <LinearLayout + android:id="@+id/shortcut_panel" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:visibility="gone" + android:gravity="center" + android:orientation="vertical"> + + <ImageView + android:id="@+id/origin_icon" + android:paddingTop="10dip" + android:layout_centerHorizontal="true" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:gravity="center" + android:adjustViewBounds="true" + android:src="@drawable/gears"/> + + <TextView + android:id="@+id/shortcut_name" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingTop="10dip" + android:gravity="center" + android:textSize="13dip" + android:textColor="@color/white"/> + + </LinearLayout> + + </LinearLayout> + +</ScrollView> + |