Update record/pause style.

This commit is contained in:
Jimmy Shih
2012-09-05 13:05:12 -07:00
parent 89496446c1
commit 6df00ac1c5
18 changed files with 162 additions and 130 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

+5
View File
@@ -61,6 +61,11 @@ limitations under the License.
android:id="@+id/list_item_start_time"
style="@style/ListItemStats" />
</LinearLayout>
<TextView
android:id="@+id/list_item_recording"
android:singleLine="true"
android:textColor="@color/red"
style="@style/TextSmall" />
<TextView
android:id="@+id/list_item_description"
android:singleLine="false"
+54 -34
View File
@@ -15,40 +15,60 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
<merge xmlns:android="http://schemas.android.com/apk/res/android" >
<ImageButton
android:background="@android:color/transparent"
android:contentDescription="@string/icon_record_track"
android:id="@+id/track_controller_record"
android:layout_height="100dp"
android:layout_width="wrap_content"
android:scaleType="centerInside" />
<RelativeLayout
android:layout_height="100dp"
android:layout_marginLeft="-32dp"
android:layout_width="wrap_content" >
<TextView
android:id="@+id/track_controller_total_time"
android:layout_centerInParent="true"
<LinearLayout
android:background="@color/black"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:orientation="horizontal"
android:paddingBottom="8dp"
android:paddingTop="8dp" >
<View
android:layout_height="fill_parent"
android:layout_weight="1"
android:layout_width="0dp" />
<ImageButton
android:background="@android:color/transparent"
android:contentDescription="@string/icon_record_track"
android:id="@+id/track_controller_record"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:paddingLeft="24dp"
android:paddingRight="8dp"
android:textColor="@android:color/white"
style="@style/TextSmall" />
<TextView
android:id="@+id/track_controller_status"
android:layout_above="@id/track_controller_total_time"
android:layout_weight="10"
android:layout_width="0dp" />
<RelativeLayout
android:layout_height="fill_parent"
android:layout_weight="6"
android:layout_width="0dp" >
<TextView
android:id="@+id/track_controller_total_time"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:textColor="@android:color/white"
style="@style/TextSmall" />
<TextView
android:id="@+id/track_controller_status"
android:layout_above="@id/track_controller_total_time"
android:layout_alignParentLeft="true"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:singleLine="true"
style="@style/TextTiny" />
</RelativeLayout>
<ImageButton
android:background="@android:color/transparent"
android:contentDescription="@string/icon_stop_recording"
android:id="@+id/track_controller_stop"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:paddingBottom="12dp"
style="@style/TextSmall" />
</RelativeLayout>
<ImageButton
android:background="@android:color/transparent"
android:contentDescription="@string/icon_stop_recording"
android:id="@+id/track_controller_stop"
android:layout_height="100dp"
android:layout_width="wrap_content"
android:scaleType="centerInside"
android:src="@drawable/btn_stop_1" />
android:layout_weight="10"
android:layout_width="0dp"
android:src="@drawable/btn_stop_1" />
<View
android:layout_height="fill_parent"
android:layout_weight="1"
android:layout_width="0dp" />
</LinearLayout>
<View
android:background="@color/gray"
android:layout_height="1dp"
android:layout_width="fill_parent" />
</merge>
+8 -2
View File
@@ -14,6 +14,12 @@ 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>
<style name="ThemeSelector" parent="android:Theme.Holo" />
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<style name="ThemeSelector" parent="android:Theme.Holo">>
<item name="android:actionBarStyle">@style/MyTracksActionBar</item>
</style>
<style name="MyTracksActionBar" parent="@android:style/Widget.Holo.ActionBar">
<!-- Same image as the source except using a grey line instead of a blue line -->
<item name="android:background">@drawable/ab_transparent_dark_holo</item>
</style>
</resources>
+2 -2
View File
@@ -17,8 +17,8 @@ limitations under the License.
<resources>
<color name="black">#FF000000</color>
<color name="blue">#FF0000FF</color>
<color name="gray">#FFAAAAAA</color>
<color name="red">#FFFF0000</color>
<color name="gray">#FF444444</color>
<color name="red">#FFBE161B</color>
<!-- holo_orange_dark -->
<color name="warning_background">#FFFF8800</color>
+8 -3
View File
@@ -178,14 +178,19 @@ limitations under the License.
<item name="android:layout_width">wrap_content</item>
<item name="android:textSize">14sp</item>
</style>
<!-- The style for tiny size text -->
<style name="TextTiny">
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:textSize">10sp</item>
</style>
<!-- Theme selector -->
<style name="ThemeSelector" parent="android:Theme" />
<!-- The style for the track controller container -->
<style name="TrackControllerContainer">
<item name="android:layout_gravity">center</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:orientation">horizontal</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:orientation">vertical</item>
</style>
<!-- The style for the track widget button -->
<style name="TrackWidgetButton">