support for different display densities
This commit is contained in:
@@ -12,6 +12,5 @@
|
||||
calc:textUp="@string/c_undo"
|
||||
calc:textDown="@string/c_redo"
|
||||
style="?controlButtonStyle"
|
||||
a:textSize="18dp"
|
||||
a:textStyle="bold"
|
||||
a:onClick="historyButtonClickHandler"/>
|
@@ -14,16 +14,11 @@
|
||||
<TextView a:id="@+id/history_time"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
a:textColor="@android:color/white"
|
||||
a:paddingLeft="6dp"
|
||||
a:paddingRight="6dp"
|
||||
a:textStyle="bold"/>
|
||||
style="@style/history_time"/>
|
||||
|
||||
<TextView a:id="@+id/history_item"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
a:paddingBottom="6dp"
|
||||
a:paddingLeft="6dp"
|
||||
a:paddingRight="6dp"/>
|
||||
style="@style/history_item"/>
|
||||
|
||||
</LinearLayout>
|
@@ -19,13 +19,7 @@
|
||||
<TextView a:id="@+id/var_text"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
a:textSize="20dp"
|
||||
a:textColor="@android:color/white"
|
||||
a:paddingBottom="3dp"
|
||||
a:paddingLeft="6dp"
|
||||
a:paddingRight="6dp"
|
||||
a:paddingTop="6dp"
|
||||
a:textStyle="bold">
|
||||
style="@style/var_text">
|
||||
</TextView>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -33,10 +27,7 @@
|
||||
<TextView a:id="@+id/var_description"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="fill_parent"
|
||||
a:paddingBottom="6dp"
|
||||
a:paddingLeft="6dp"
|
||||
a:paddingRight="6dp"
|
||||
a:paddingTop="0dp">
|
||||
style="@style/var_description">
|
||||
</TextView>
|
||||
|
||||
</LinearLayout>
|
@@ -21,16 +21,18 @@
|
||||
<TextView a:layout_height="fill_parent"
|
||||
a:layout_width="wrap_content"
|
||||
a:padding="6dp"
|
||||
style="@style/default_text_size"
|
||||
a:text="@string/c_var_name"/>
|
||||
|
||||
<EditText a:id="@+id/var_edit_name"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:textSize="20dp">
|
||||
style="@style/default_text_size">
|
||||
</EditText>
|
||||
|
||||
<TextView a:layout_height="fill_parent"
|
||||
a:layout_width="wrap_content"
|
||||
style="@style/default_text_size"
|
||||
a:padding="6dp"
|
||||
a:text="@string/c_var_value"/>
|
||||
|
||||
@@ -38,18 +40,19 @@
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:inputType="numberDecimal"
|
||||
a:textSize="20dp">
|
||||
style="@style/default_text_size">
|
||||
</EditText>
|
||||
|
||||
<TextView a:layout_height="fill_parent"
|
||||
a:layout_width="wrap_content"
|
||||
a:padding="6dp"
|
||||
style="@style/default_text_size"
|
||||
a:text="@string/c_var_description"/>
|
||||
|
||||
<EditText a:id="@+id/var_edit_description"
|
||||
a:layout_width="fill_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:textSize="20dp">
|
||||
style="@style/default_text_size">
|
||||
</EditText>
|
||||
|
||||
</LinearLayout>
|
||||
|
@@ -22,8 +22,7 @@
|
||||
a:layout_height="wrap_content"
|
||||
a:layout_gravity="center_horizontal"
|
||||
a:text="@string/c_add"
|
||||
a:paddingLeft="40dp"
|
||||
a:paddingRight="40dp"
|
||||
style="@style/add_var_button"
|
||||
a:onClick="addVarButtonClickHandler"/>
|
||||
|
||||
</LinearLayout>
|
Reference in New Issue
Block a user