diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-01-22 00:13:42 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-01-22 00:13:42 -0800 |
commit | f1e484acb594a726fb57ad0ae4cfe902c7f35858 (patch) | |
tree | 99d2b34512f0dc2ae67666e756c1cfcd331e5fe3 /tests/ImfTest/res | |
parent | 22f7dfd23490a3de2f21ff96949ba47003aac8f8 (diff) | |
download | frameworks_base-f1e484acb594a726fb57ad0ae4cfe902c7f35858.zip frameworks_base-f1e484acb594a726fb57ad0ae4cfe902c7f35858.tar.gz frameworks_base-f1e484acb594a726fb57ad0ae4cfe902c7f35858.tar.bz2 |
auto import from //branches/cupcake/...@127436
Diffstat (limited to 'tests/ImfTest/res')
-rwxr-xr-x | tests/ImfTest/res/layout/sample_edit_text.xml | 53 | ||||
-rwxr-xr-x | tests/ImfTest/res/values/strings.xml | 39 |
2 files changed, 92 insertions, 0 deletions
diff --git a/tests/ImfTest/res/layout/sample_edit_text.xml b/tests/ImfTest/res/layout/sample_edit_text.xml new file mode 100755 index 0000000..99a5cf8 --- /dev/null +++ b/tests/ImfTest/res/layout/sample_edit_text.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/samples/SampleCode/res/layout/baseline_1.xml +** +** Copyright 2007, 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:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="vertical" +> + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:minHeight="?android:attr/listPreferredItemHeight" + android:orientation="horizontal" + android:baselineAligned="false" + android:gravity="center_vertical" + > + + <TextView android:id="@+id/label" + android:layout_width="100dip" + android:layout_height="wrap_content" + android:gravity="right|center_vertical" + /> + + <EditText android:id="@+id/data" + android:layout_width="0dip" + android:layout_weight="1" + android:layout_height="wrap_content" + android:layout_marginLeft="8dip" + /> + </LinearLayout> + + <View + android:layout_width="fill_parent" + android:layout_height="1dip" + android:background="@android:drawable/divider_horizontal_dark" + /> +</LinearLayout> diff --git a/tests/ImfTest/res/values/strings.xml b/tests/ImfTest/res/values/strings.xml new file mode 100755 index 0000000..a56c363 --- /dev/null +++ b/tests/ImfTest/res/values/strings.xml @@ -0,0 +1,39 @@ +<?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. +*/ +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Strings for sample activities --> + <string name="normal_edit_text_label">Normal</string> + <string name="uri_edit_text_label">Uri</string> + <string name="email_address_edit_text_label">Email Address</string> + <string name="email_subject_edit_text_label">Email Subject</string> + <string name="email_content_edit_text_label">Email Content</string> + <string name="person_name_edit_text_label">Person Name</string> + <string name="postal_address_edit_text_label">Postal Address</string> + <string name="password_edit_text_label">Password</string> + <string name="search_string_edit_text_label">Search String</string> + <string name="web_edit_text_label">Web Edit Text</string> + <string name="signed_number_edit_text_label">Signed Number</string> + <string name="decimal_number_edit_text_label">Decimal Number</string> + <string name="phone_number_edit_text_label">Phone Number</string> + <string name="normal_datetime_edit_text_label">Datetime</string> + <string name="date_edit_text_label">Date</string> + <string name="time_edit_text_label">Time</string> + +</resources> |