android_1.6_compatibility
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
|
||||
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:orientation="vertical"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
a:background="#ff000000">
|
||||
|
||||
<ImageView a:layout_width="wrap_content"
|
||||
@@ -22,12 +22,26 @@
|
||||
<TextView
|
||||
a:id="@+id/aboutTextView"
|
||||
a:text="@string/c_copyright"
|
||||
a:layout_height="match_parent"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="fill_parent"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_gravity="top|center_horizontal"
|
||||
a:layout_weight="1"
|
||||
a:scrollbars="vertical"
|
||||
style="@style/about_style"/>
|
||||
|
||||
<!--
|
||||
a:scrollbarFadeDuration="0" is not support in android_1.6_compatibility
|
||||
|
||||
<TextView
|
||||
a:id="@+id/aboutTextView"
|
||||
a:text="@string/c_copyright"
|
||||
a:layout_height="fill_parent"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_gravity="top|center_horizontal"
|
||||
a:layout_weight="1"
|
||||
a:scrollbars="vertical"
|
||||
a:scrollbarFadeDuration="0"
|
||||
style="@style/about_style"/>
|
||||
-->
|
||||
|
||||
</LinearLayout>
|
@@ -8,7 +8,7 @@
|
||||
|
||||
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:layout_weight="2"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="0dp">
|
||||
|
||||
<org.solovyev.android.calculator.CalculatorEditor
|
||||
|
@@ -9,7 +9,7 @@
|
||||
xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:id="@+id/equalsButton"
|
||||
a:text="="
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
style="?controlButtonStyle"
|
||||
a:onClick="numericButtonClickHandler"/>
|
@@ -7,13 +7,13 @@
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent">
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent">
|
||||
|
||||
<TextView a:id="@+id/donateText"
|
||||
style="@style/about_style"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_width="fill_parent"
|
||||
a:text="@string/c_donate_text"
|
||||
a:layout_height="match_parent"/>
|
||||
a:layout_height="fill_parent"/>
|
||||
|
||||
</LinearLayout>
|
@@ -3,18 +3,18 @@
|
||||
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
xmlns:calc="http://schemas.android.com/apk/res/org.solovyev.android.calculator"
|
||||
a:orientation="vertical"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
a:background="#ff000000">
|
||||
|
||||
<LinearLayout
|
||||
a:id="@+id/simplePad"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
a:orientation="vertical"
|
||||
a:layout_gravity="center">
|
||||
|
||||
<LinearLayout a:layout_weight="1" a:layout_width="match_parent" a:layout_height="0dp">
|
||||
<LinearLayout a:layout_weight="1" a:layout_width="fill_parent" a:layout_height="0dp">
|
||||
|
||||
<ImageView a:id="@+id/calibrationArrowLeft"
|
||||
a:layout_gravity="left"
|
||||
|
@@ -8,20 +8,20 @@
|
||||
|
||||
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:orientation="vertical"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent">
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent">
|
||||
|
||||
<TextView a:id="@+id/history_time"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
a:textColor="@android:color/white"
|
||||
a:paddingLeft="6dp"
|
||||
a:paddingRight="6dp"
|
||||
a:textStyle="bold"/>
|
||||
|
||||
<TextView a:id="@+id/history_item"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
a:paddingBottom="6dp"
|
||||
a:paddingLeft="6dp"
|
||||
a:paddingRight="6dp"/>
|
||||
|
@@ -8,12 +8,12 @@
|
||||
|
||||
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:orientation="vertical"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent">
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent">
|
||||
|
||||
<ListView
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
a:layout_weight="1"
|
||||
a:id="@android:id/list"/>
|
||||
|
||||
|
@@ -9,12 +9,12 @@
|
||||
<merge xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<org.solovyev.android.view.widgets.NumberPickerButton android:id="@+id/increment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/timepicker_up_btn" />
|
||||
|
||||
<EditText android:id="@+id/timepicker_input"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
@@ -24,7 +24,7 @@
|
||||
android:background="@drawable/timepicker_input" />
|
||||
|
||||
<org.solovyev.android.view.widgets.NumberPickerButton android:id="@+id/decrement"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/timepicker_down_btn" />
|
||||
|
||||
|
@@ -8,17 +8,17 @@
|
||||
|
||||
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:orientation="vertical"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent">
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent">
|
||||
|
||||
<LinearLayout
|
||||
a:orientation="horizontal"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent">
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent">
|
||||
|
||||
<TextView a:id="@+id/var_text"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
a:textSize="20dp"
|
||||
a:textColor="@android:color/white"
|
||||
a:paddingBottom="3dp"
|
||||
@@ -31,8 +31,8 @@
|
||||
</LinearLayout>
|
||||
|
||||
<TextView a:id="@+id/var_description"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
a:paddingBottom="6dp"
|
||||
a:paddingLeft="6dp"
|
||||
a:paddingRight="6dp"
|
||||
|
@@ -7,47 +7,47 @@
|
||||
-->
|
||||
|
||||
<ScrollView xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent">
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent">
|
||||
|
||||
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:id="@+id/var_edit"
|
||||
a:orientation="vertical"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
a:scrollbars="vertical"
|
||||
a:scrollbarAlwaysDrawVerticalTrack="true">
|
||||
|
||||
<TextView a:layout_height="match_parent"
|
||||
<TextView a:layout_height="fill_parent"
|
||||
a:layout_width="wrap_content"
|
||||
a:padding="6dp"
|
||||
a:text="@string/c_var_name"/>
|
||||
|
||||
<EditText a:id="@+id/var_edit_name"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:textSize="20dp">
|
||||
</EditText>
|
||||
|
||||
<TextView a:layout_height="match_parent"
|
||||
<TextView a:layout_height="fill_parent"
|
||||
a:layout_width="wrap_content"
|
||||
a:padding="6dp"
|
||||
a:text="@string/c_var_value"/>
|
||||
|
||||
<EditText a:id="@+id/var_edit_value"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:inputType="numberDecimal"
|
||||
a:textSize="20dp">
|
||||
</EditText>
|
||||
|
||||
<TextView a:layout_height="match_parent"
|
||||
<TextView a:layout_height="fill_parent"
|
||||
a:layout_width="wrap_content"
|
||||
a:padding="6dp"
|
||||
a:text="@string/c_var_description"/>
|
||||
|
||||
<EditText a:id="@+id/var_edit_description"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:textSize="20dp">
|
||||
</EditText>
|
||||
|
@@ -8,12 +8,12 @@
|
||||
|
||||
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:orientation="vertical"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent">
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent">
|
||||
|
||||
<ListView
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
a:layout_weight="1"
|
||||
a:id="@android:id/list"/>
|
||||
|
||||
|
Reference in New Issue
Block a user