history activity
This commit is contained in:
@@ -8,7 +8,10 @@
|
||||
<org.solovyev.android.view.widgets.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
xmlns:calc="http://schemas.android.com/apk/res/org.solovyev.android.calculator"
|
||||
a:id="@+id/historyButton"
|
||||
a:text=""
|
||||
a:text="@string/c_history_button"
|
||||
calc:textUp="@string/c_undo"
|
||||
calc:textDown="@string/c_redo"
|
||||
style="@style/control_button_style"/>
|
||||
style="@style/control_button_style"
|
||||
a:textSize="18dp"
|
||||
a:textStyle="bold"
|
||||
a:onClick="historyButtonClickHandler"/>
|
29
res/layout/history.xml
Normal file
29
res/layout/history.xml
Normal file
@@ -0,0 +1,29 @@
|
||||
<?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
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:orientation="vertical"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent">
|
||||
|
||||
<TextView a:id="@+id/history_time"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_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:paddingBottom="6dp"
|
||||
a:paddingLeft="6dp"
|
||||
a:paddingRight="6dp"/>
|
||||
|
||||
</LinearLayout>
|
20
res/layout/history_activity.xml
Normal file
20
res/layout/history_activity.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?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
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:orientation="vertical"
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent">
|
||||
|
||||
<ListView
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent"
|
||||
a:layout_weight="1"
|
||||
a:id="@android:id/list"/>
|
||||
|
||||
</LinearLayout>
|
@@ -20,6 +20,7 @@
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="match_parent"
|
||||
a:textSize="20dp"
|
||||
a:textColor="@android:color/white"
|
||||
a:paddingBottom="3dp"
|
||||
a:paddingLeft="6dp"
|
||||
a:paddingRight="6dp"
|
||||
|
Reference in New Issue
Block a user