diff options
Diffstat (limited to 'res/layout/compute_checksum_dialog.xml')
-rw-r--r-- | res/layout/compute_checksum_dialog.xml | 132 |
1 files changed, 132 insertions, 0 deletions
diff --git a/res/layout/compute_checksum_dialog.xml b/res/layout/compute_checksum_dialog.xml new file mode 100644 index 00000000..c737b07b --- /dev/null +++ b/res/layout/compute_checksum_dialog.xml @@ -0,0 +1,132 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012 The CyanogenMod 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:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_margin="@dimen/extra_large_margin" + android:orientation="vertical"> + + <TextView + android:id="@+id/checksum_filename_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="@dimen/extra_large_margin" + android:layout_marginRight="@dimen/extra_large_margin" + android:layout_marginTop="@dimen/extra_large_margin" + android:gravity="left|center_vertical" + android:text="@string/compute_checksum_filename_label" + android:textAppearance="@style/primary_text_appearance" /> + + <TextView + android:id="@+id/checksum_filename" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="@dimen/extra_large_margin" + android:layout_marginRight="@dimen/extra_large_margin" + android:gravity="left|center_vertical" + android:textAppearance="@style/secondary_text_appearance" /> + + <TextView + android:id="@+id/checksum_md5_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="@dimen/extra_large_margin" + android:layout_marginRight="@dimen/extra_large_margin" + android:layout_marginTop="@dimen/extra_large_margin" + android:gravity="left|center_vertical" + android:text="@string/compute_checksum_md5_label" + android:textAppearance="@style/primary_text_appearance" /> + + <RelativeLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="@dimen/extra_large_margin" + android:layout_marginRight="@dimen/extra_large_margin"> + + <com.cyanogenmod.filemanager.ui.widgets.ButtonItem + android:id="@+id/bt_md5_clipboard" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:layout_alignParentRight="true" + android:contentDescription="@string/copy_text_cd" /> + + <EditText + android:id="@+id/checksum_md5" + android:layout_width="match_parent" + android:layout_height="64dp" + android:singleLine="false" + android:gravity="top|left" + android:cursorVisible="true" + android:background="@color/console_bg" + android:imeOptions="actionNone|flagNoFullscreen" + android:inputType="textMultiLine|textImeMultiLine" + android:focusable="false" + android:layout_toLeftOf="@id/bt_md5_clipboard" + android:layout_alignTop="@id/bt_md5_clipboard" + android:layout_alignBottom="@id/bt_md5_clipboard" + android:layout_marginRight="@dimen/default_margin" + android:text="@string/compute_checksum_computing_checksum_msg" + android:textAppearance="@style/console_text_appearance" /> + </RelativeLayout> + + <TextView + android:id="@+id/checksum_sha1_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="@dimen/extra_large_margin" + android:layout_marginRight="@dimen/extra_large_margin" + android:layout_marginTop="@dimen/extra_large_margin" + android:gravity="left|center_vertical" + android:text="@string/compute_checksum_sha1_label" + android:textAppearance="@style/primary_text_appearance" /> + + <RelativeLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="@dimen/extra_large_margin" + android:layout_marginRight="@dimen/extra_large_margin" + android:layout_marginBottom="@dimen/extra_large_margin"> + + <com.cyanogenmod.filemanager.ui.widgets.ButtonItem + android:id="@+id/bt_sha1_clipboard" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:layout_alignParentRight="true" + android:contentDescription="@string/copy_text_cd" /> + + <EditText + android:id="@+id/checksum_sha1" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:singleLine="false" + android:gravity="top|left" + android:cursorVisible="true" + android:background="@color/console_bg" + android:imeOptions="actionNone|flagNoFullscreen" + android:inputType="textMultiLine|textImeMultiLine" + android:focusable="false" + android:layout_toLeftOf="@id/bt_sha1_clipboard" + android:layout_alignTop="@id/bt_sha1_clipboard" + android:layout_alignBottom="@id/bt_sha1_clipboard" + android:layout_marginRight="@dimen/default_margin" + android:text="@string/compute_checksum_computing_checksum_msg" + android:textAppearance="@style/console_text_appearance" /> + </RelativeLayout> + +</LinearLayout> |