android-calculatorpp/android-app/res/layout/var_edit.xml

82 lines
2.8 KiB
XML
Raw Normal View History

2012-10-02 04:29:56 -04:00
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2009-2011. Created by serso aka se.solovyev.
~ For more information, please, contact se.solovyev@gmail.com
~ or visit http://se.solovyev.org
-->
<ScrollView xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_height="wrap_content"
a:layout_width="match_parent"
a:minWidth="300dp">
<LinearLayout a:layout_height="wrap_content"
a:layout_width="match_parent"
a:orientation="vertical">
<TextView a:layout_height="wrap_content"
a:layout_width="match_parent"
a:padding="6dp"
2012-11-18 07:58:33 -05:00
style="@style/cpp_default_text_size"
2012-10-02 04:29:56 -04:00
a:text="@string/c_var_name"/>
<EditText a:id="@+id/var_edit_name"
a:layout_height="wrap_content"
a:layout_width="match_parent"
2012-11-18 07:58:33 -05:00
style="@style/cpp_default_text_size"
2012-10-02 04:29:56 -04:00
a:inputType="text"/>
<TextView a:layout_height="wrap_content"
a:layout_width="match_parent"
2012-11-18 07:58:33 -05:00
style="@style/cpp_default_text_size"
2012-10-02 04:29:56 -04:00
a:padding="6dp"
a:text="@string/c_var_value"/>
<EditText a:id="@+id/var_edit_value"
a:layout_height="wrap_content"
a:layout_width="match_parent"
2012-11-18 07:58:33 -05:00
style="@style/cpp_default_text_size"
2012-11-15 14:15:13 -05:00
a:inputType="numberDecimal"/>
2012-10-02 04:29:56 -04:00
<TextView a:layout_height="wrap_content"
a:layout_width="match_parent"
a:padding="6dp"
2012-11-18 07:58:33 -05:00
style="@style/cpp_default_text_size"
2012-10-02 04:29:56 -04:00
a:text="@string/c_var_description"/>
<EditText a:id="@+id/var_edit_description"
a:layout_height="wrap_content"
a:layout_width="match_parent"
2012-11-18 07:58:33 -05:00
style="@style/cpp_default_text_size"
2012-10-02 04:29:56 -04:00
a:inputType="text"/>
<LinearLayout
a:layout_height="wrap_content"
a:layout_width="match_parent">
<Button a:id="@+id/cancel_button"
a:layout_height="wrap_content"
a:layout_width="0dp"
a:layout_weight="1"
a:text="@string/c_cancel"/>
<Button a:id="@+id/remove_button"
a:layout_height="wrap_content"
a:layout_width="0dp"
a:layout_weight="1"
a:text="@string/c_remove"/>
<Button a:id="@+id/save_button"
a:layout_height="wrap_content"
a:layout_width="0dp"
a:layout_weight="1"
a:text="@string/c_save"/>
</LinearLayout>
</LinearLayout>
</ScrollView>